############################################### # 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 # ###############################################