############################################### # 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 # # PLL_clkin = MCLK, codec_clkin = PLL_CLK, # PLL on, P=1, R=1, J=8, D=0000 w 30 04 03 91 08 00 00 # # NDAC = 2, MDAC = 8, dividers powered on w 30 0b 82 88 # # DOSR = 128 w 30 0D 00 80 # # NADC = 2, MADC = 8, dividers powered on w 30 12 82 88 # # AOSR = 128 w 30 14 80 # # Enable Digital Loopback w 30 1D 10 # ############################################### ############################################### # Configure Power Supplies ############################################### # # 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 power-up time to 3.1ms (for ADC) w 30 47 32 # # Set the REF charging time to 40ms w 30 7b 01 # ############################################### ############################################### # Signal Processing Settings ############################################### # # Select Page 0 w 30 00 00 # # PRB_P2 selected for 6 biquads w 30 3C 02 # # Select Page 44, Enable Adaptive filtering for DAC w 30 00 2c 04 # # Flat response, Gain = -16.00 dB w 30 00 2C w 30 0C 00 00 00 00 0A BE 8D 00 00 00 00 00 00 00 00 00 00 00 00 00 w 30 00 2D w 30 14 00 00 00 00 0A BE 8D 00 00 00 00 00 00 00 00 00 00 00 00 00 w 30 00 3E w 30 0C 00 00 00 00 0A BE 8D 00 00 00 00 00 00 00 00 00 00 00 00 00 w 30 00 3F w 30 14 00 00 00 00 0A BE 8D 00 00 00 00 00 00 00 00 00 00 00 00 00 # ############################################### ############################################### # Configure ADC Channel ############################################### # # Select Page 1 w 30 00 01 # # Route IN1L to LEFT_P with 20K input impedance w 30 34 80 # # Route CM1L to LEFT_M with 20K input impedance w 30 36 80 # # Route IN1R to RIGHT_P with 20K input impedance w 30 37 80 # # Route CM1R to RIGHT_M with 20K input impedance w 30 39 80 # # Unmute Left MICPGA, Gain selection of 6dB to # make channel gain 0dB, since 20K input # impedance is used single ended w 30 3b 0c # # Unmute Right MICPGA, Gain selection of 6dB to # make channel gain 0dB, since 20K input # impedance is used single ended w 30 3c 0c # # Select Page 0 w 30 00 00 # # Power up LADC/RADC w 30 51 c0 # # Unmute LADC/RADC w 30 52 00 # ############################################### ############################################### # Playback Setup ############################################### # # Select Page 1 w 30 00 01 # # De-pop: 16 time constants, 6k resistance w 30 14 35 # # Route LDAC/RDAC to HPL/HPR w 30 0c 08 08 # # Route LDAC/RDAC to LOL/LOR w 30 0e 08 08 # # Power up HPL/HPR and LOL/LOR drivers w 30 09 3C # # Unmute HPL/HPR driver w 30 10 06 06 # # Unmute LOL/LOR driver w 30 12 06 06 # # 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 # ###############################################