I'm working on an application with the '3120 that uses the converter, routing and speaker amp, but doesn't use any filters are other dsp functions. What register configurations will provide the lowest power operation?
Thx, Andy
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I'm working on an application with the '3120 that uses the converter, routing and speaker amp, but doesn't use any filters are other dsp functions. What register configurations will provide the lowest power operation?
Thx, Andy
Hi, Andy,
Please take a look at the following script. It contains a basic configuration that only uses the speaker driver.
############################################### # Software Reset ############################################### # # Select Page 0 w 30 00 00 # # Initialize the device through software reset w 30 01 01 # ############################################### ############################################### # Clock and Interface Settings # --------------------------------------------- # The codec receives: MCLK = 11.2896 MHz, # BLCK = 2.8224 MHz, WCLK = 44.1 kHz ############################################### # # Select Page 0 w 30 00 00 # # NDAC = 2, MDAC = 1, dividers powered on w 30 0b 82 81 # # DOSR = 128 w 30 0D 00 80 # # NADC = 2, MADC = 1, dividers powered on w 30 12 82 81 # # AOSR = 128 w 30 14 80 # ############################################### ########################################## # Configure Class-D Output ########################################## # # Switch to Page 1 w 30 00 01 # # CM = 1.65V w 30 1f 14 # # Unmute Class-D (6dB) w 30 2a 04 # # Power-up Class-D driver w 30 20 86 # # Route Analog Volume Control to Class-D Driver, 0dB w 30 26 80 # ########################################## ########################################## # Configure DAC Channel ########################################## # # Switch to Page 1 w 30 00 01 # # DAC routed to Mixer Amplifier w 30 23 40 # # Switch to Page 0 w 30 00 00 # # Powerup DAC, DAC => LI2S, soft-step disable w 30 3f 96 # # Unmute DAC, 0dB w 30 40 04 00 # ########################################## --------------------------------------------------------------- page 0 is selected
The script is in format "w 30 yy zz", where:
w - I2C write command
30 - I2C address
yy - register address
zz - register data
Please let me know if you have questions or comments on this.
Best regards,
Luis Fernando Rodríguez S.