############################################### # On-Board Differential Microphone # --------------------------------------------- # PowerTune mode PTM_R4 is used for high # performance 16-bit audio. # # IN3L/R are routed single-endedly to the # LADC/RADC. ############################################### ############################################### # 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 = 11.2896 MHz, # BLCK = 2.8224 MHz, WCLK = 44.1 kHz ############################################### # # Select Page 0 w 30 00 00 # # NADC = 1, MADC = 2 w 30 12 81 82 # ############################################### ############################################### # Signal Processing Settings ############################################### # # Select Page 0 w 30 00 00 # # Set the ADC Mode to PRB_P1 w 30 3d 01 # ############################################### ############################################### # 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 # # Select ADC PTM_R4 w 30 3d 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 # ############################################### ############################################### # Configure ADC Channel ############################################### # # Select Page 1 w 30 00 01 # # Mic Bias enabled, Source = Avdd, 1.25V w 30 33 40 # # Route IN3L to LEFT_P with Rin = 10K w 30 34 04 # # Route CM1L to LEFT_M with Rin = 10K w 30 36 40 # # Route IN3R to RIGHT_P with Rin = 10K w 30 37 04 # # Route CM1R to RIGHT_M with Rin = 10K w 30 39 40 # # Set left and right MicPGA Gain = 0dB w 30 3b 00 00 # # Select Page 0 w 30 00 00 # # Power up LADC/RADC w 30 51 c0 # # Unmute LADC/RADC w 30 52 00 # ###############################################