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 trying to configure the TLV320AIC3204 to playback a I2S stream from another device.
The I2S is a 24bit signal @ 20khz. (BCLK 960kHz)
The TLV230AIC3204 should be I2S slave, all analog inputs should be disabled, if needed I can supply a 16MHz or 24Mhz clock at the MCLK.
Output should be stereo headphone.
Hello, Kristian,
Welcome to E2E and thank you for your interest in our products!
Please take a look at the attached script. It contains an example of your application at 16MHz.
############################################### # Software Reset ############################################### # # Select Page 0 w 30 00 00 # # Initialize the device through software reset w 30 01 01 # ############################################### ############################################### # Clock Settings # --------------------------------------------- # The codec receives: MCLK = 16 MHz, # BLCK = 960 KHz, WCLK = 20 kHz ############################################### # # Select Page 0 w 30 00 00 # # MCLK as PLL_input; PLL_CLK as CODEC_CLKIN w 30 04 03 # # J = 6; P = 5; PLL enabled w 30 05 d1 w 30 06 1c # # NDAC = 5, MDAC = 7 w 30 0b 85 87 # ############################################### ############################################### # Signal Processing Settings ############################################### # # Select Page 0 w 30 00 00 # # Set serial interface at I2S and 24-bit w 30 1b 20 # # Set the DAC Mode to PRB_P8 w 30 3c 08 # ############################################### ############################################### # Initialize Codec ############################################### # # Select Page 1 w 30 00 01 # # Disable weak AVDD in presence of external # AVDD supply w 30 01 08 # # Enable Master Analog Power Control w 30 02 00 # # Set the input powerup time to 3.1ms (for ADC) # w 30 47 32 # # Set the REF charging time to 40ms w 30 7b 01 # ############################################### ############################################### # Playback Setup ############################################### # # Select Page 1 w 30 00 01 # # De-pop w 30 14 25 # # Route LDAC/RDAC to HPL/HPR w 30 0c 08 08 # # Power up HPL/HPR w 30 09 30 # # Unmute HPL/HPR driver, 0dB Gain w 30 10 00 00 # # Select Page 0 w 30 00 00 # # DAC => 0dB w 30 41 00 00 # # Power up LDAC/RDAC w 30 3f d6 # # Unmute LDAC/RDAC w 30 40 00 # ###############################################
Please let me know if you have questions or comments.
Best regards,
Luis Fernando Rodríguez S.