- Joined
- Dec 10, 2016
- Messages
- 578
- Likes
- 663
- Location
- Constant Fear
- Portables
- sin^2(x) + cos^2(x) +e^(i*pi)
Too bigNew smart lipo board
![]()
Too bigNew smart lipo board
![]()
Well if you can do so much better, please by all means show us.Too big
Well i can fit a n64 into a tic tac container. What can you do?Well if you can do so much better, please by all means show us.
Ban youWell i can fit a n64 into a tic tac container. What can you do?
/s
Fit one in my pocketWell i can fit a n64 into a tic tac container. What can you do?
I can't i was being an ass,How can you even tell how big it is Deo? How small is it?
LM49450Audio???
![]()
Love the pills bottles!Got it working. For now I am just putting in analog in thru the LINE_IN pins. As with all TI datasheets, their pdf is garbage and doesn't actually describe anything about LINE IN, I just got it working by guessing. Fan controller works great. It has both internal temp sensor + remote junction support.
The FPGA will be running the audio resampler stolen from UltraHDMI. As you know, the n64 is capable of producing any audio frequency audio signal up to 300khz (Its stock DAC doesn't go past 48khz though). But, it's not actually I2S - it's right justified which is close but not quite. Even worse, it doesn't have any MCLK.
However, the killshot is that the N64 changes sample rate all the time, even within the same game. All DACs expect a constant frequency and do not like having that changed (you'd have to reprogram one constantly). This is exactly why I made the audio resampler in the first place - to take in goofy right-justified any-frequency and produce vanilla I2S.
Terrible video:
Yeah, too bad there is no EVM for the LM49450 :/Maybe took a look at the EVM and its documentation?
Oh that might actually be it. I will definitely take a look into it in few weeks, thanksI looked around for some other similar National parts and found one that has a similar (if not the same) DSP engine:
http://datasheet.elcodis.com/pdf/9/4/90447/lm49350rlnopb.pdf
Check page 70 onwards or 87+ for the 5 filter bands. They are just 2 bits of cut off and 5 bits gain per band. Maybe try each one (make sure to enable custom filter)
LM49450
It’s amazing how versatile that thing is. Do you use the FPGA only for MCLK generation and i2c control of the amp IC, or do you use it for something else?
Got it working. For now I am just putting in analog in thru the LINE_IN pins. As with all TI datasheets, their pdf is garbage and doesn't actually describe anything about LINE IN, I just got it working by guessing. Fan controller works great. It has both internal temp sensor + remote junction support.
The FPGA will be running the audio resampler stolen from UltraHDMI. As you know, the n64 is capable of producing any audio frequency audio signal up to 300khz (Its stock DAC doesn't go past 48khz though). But, it's not actually I2S - it's right justified which is close but not quite. Even worse, it doesn't have any MCLK.
However, the killshot is that the N64 changes sample rate all the time, even within the same game. All DACs expect a constant frequency and do not like having that changed (you'd have to reprogram one constantly). This is exactly why I made the audio resampler in the first place - to take in goofy right-justified any-frequency and produce vanilla I2S.
Terrible video:
Love the pills bottles!
I didn't do much work on the N64, but I was looking into using the LM49450 for it as well and on the datasheet it looks like it supports right justified mode (register 0x03, b0 and b1).
Also try looking for info about the integrated FIR filter in the LM4950. There's basically no info in the datasheet and if you look online you'll end up on this TI community web page: https://e2e.ti.com/support/amplifiers/audio_amplifiers/f/6/t/514350
I was planning to do speaker enclosure compensation EQ in the fpga, but even better if the amp could do it. Maybe took a look at the EVM and its documentation? Maybe the companion PC software may have some notes.
Class D is very efficient. Its headphone amp is alright, but not as good as a dedicated one.
![]()
Yeah, too bad there is no EVM for the LM49450 :/
Oh also could you try reading a register from the LM49450? I tried but it looks like it doesn't work? I get always a fixed value (0xFF iirc).
I looked around for some other similar National parts and found one that has a similar (if not the same) DSP engine:
http://datasheet.elcodis.com/pdf/9/4/90447/lm49350rlnopb.pdf
Check page 70 onwards or 87+ for the 5 filter bands. They are just 2 bits of cut off and 5 bits gain per band. Maybe try each one (make sure to enable custom filter)
Oh that might actually be it. I will definitely take a look into it in few weeks, thanks
I'd be intersted to know what your first 3 regs are concerning divider mode and CPDIV and such. I'm just trying to set up for vanilla 48khz but I still get crunchy sounding audio.Yeah, too bad there is no EVM for the LM49450 :/
Oh also could you try reading a register from the LM49450? I tried but it looks like it doesn't work? I get always a fixed value (0xFF iirc).
This is the relevant part of code (I included registers 0x03 and 0x04 as well):I'd be intersted to know what your first 3 regs are concerning divider mode and CPDIV and such. I'm just trying to set up for vanilla 48khz but I still get crunchy sounding audio.