############################################### # 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 = 12 MHz, # BLCK = 1 MHz, WCLK = 15.6 kHz ############################################### # # Select Page 0 w 30 00 00 # # PLL_clkin = MCLK, codec_clkin = PLL_CLK, # PLL on, P=1, R=1, J=6, D=9888 (0x26A0) w 30 04 03 91 06 26 A0 # # NDAC = 3, MDAC = 14, dividers powered on w 30 0b 83 8e # # DOSR = 128 w 30 0D 00 80 # # NADC = 3, MADC = 14, dividers powered on w 30 12 83 8e # # AOSR = 128 w 30 14 80 # ############################################### ############################################### # Signal Processing Settings ############################################### # # Select Page 0 w 30 00 00 # # PRB_P5, PRB_R5 w 30 3c 05 05 # # Enable Adaptive Filtering w 30 00 08 w 30 01 04 # ############################################### ########################################## # 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 # Unmute Class-D (12dB) # w 30 2a 0c # Unmute Class-D (18dB) # w 30 2a 14 # Unmute Class-D (24dB) # w 30 2a 1c # # 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 # ##########################################