# Registers configuration for MCLK = 24MHz; WCLK = 44.1 KHz; BCLK = 1.4112 MHz # Page 0 is selected w 30 00 00 # SW Reset w 30 01 01 # PLL_clkin = MCLK, Codec_Clkin = PLL w 30 04 03 # PLL disabled, P = 2, R =1 w 30 05 21 # J = 7 w 30 06 07 # D = 0560 (decimal) = 10 0011 0000 (binary) = 02 30 w 30 07 02 w 30 08 30 # PLL enabled w 30 05 a1 # Mode is I2S, wordlength is 16, BCLK and WCLK as outputs w 30 1b 0c # BDIV_CLKIN = DAC_MODCLK = 5.6448 MHz w 30 1d 01 # BCLK divider N = 4; BCLK = BDIV_CLKIN / N = 1.4112 MHz w 30 1e 84 # NDAC is powered up and set to 3 w 30 0b 83 # MDAC is powered up and set to 5 w 30 0c 85 # DOSR = 128 w 30 0e 80 # DAC => 0 db gain left w 30 41 00 # DAC => 0 db gain right w 30 42 00 # Page 1 is selected w 30 00 01 # De-pop, Power on = 800 ms, Step time = 4 ms w 30 21 4e # HPL and HPR powered up w 30 1f c2 # LDAC routed to HPL, RDAC routed to HPR w 30 23 88 # HPL unmute and gain 1db w 30 28 0e # HPR unmute and gain 1db w 30 29 0e # No attenuation on Headphone outputs w 30 24 00 w 30 25 00 # MIC BIAS = AVDD w 30 2e 0b # Page 0 is selected w 30 00 00 # Select DAC DSP mode 11 w 30 3c 0b # Power Up DAC left and right channels (soft step disable) w 30 3f d6 # UNMUTE DAC left and right channels w 30 40 00 # Page 1 selected w 30 00 01 # DAC_L and DAC_R are routed to mixer amplifier w 30 23 44 # Left Analog Volume to SPK w 30 26 80 # Class-D Speaker Driver unmuted w 30 2a 04 # Power-up Class-D driver w 30 20 c6 # Left DAC channel to HPL w 30 24 00 # Right DAC channel to HPR w 30 25 00 # HPL driver unmuted w 30 28 04 # HPR driver unmuted w 30 29 04 # HPL and HPR powered up w 30 1f c2