ADC Record through Digital Microphone with 44.1ksps Sample Rate
#----------- Disable class-D mode for HPL output
w 30 03 00
#----------- Disable class-D mode for HPL output
w 30 04 00
4.4
ADC Record through Digital Microphone with 44.1ksps Sample Rate
Assumption: MCLK = 11.2896 MHz
#----------- Initialize to page 0
w 30 00 00
#----------- Initialize the device through software reset
w 30 01 01
#----------- Set PLL_CLKIN as MCLK and CODEC_CLKIN as PLL_CLK,
w 30 04 03
#----------- Power up pll, set pll divider P=1 and pll divider R=1,
w 30 05 91
#----------- Set pll divider J=8
w 30 06 08
#----------- Set pll divider D=0000
w 30 07 00
w 30 08 00
#----------- Power up and set NADC divider = 2,
w 30 12 82
#----------- Power up and set MDAC divider = 16
w 30 13 90
#----------- Set AOSR = 64
w 30 14 40
#----------- Select page 1
w 30 00 01
#----------- Disable internal crude AVdd in presence of external AVdd supply
#----------- or before powering up internal AVdd LDO
w 30 01 08
#----------- Enable master analog power control
w 30 02 00
#----------- Set the REF charging time to 40ms
w 30 7b 01
#----------- Select page 0
w 30 00 00
#----------- Select PRB_R2
w 30 3d 02
#----------- Configure MISO as clock output for digital microphone
w 30 37 0e
#----------- Power up left ADC and right ADC. Enable digital microphone mode for left ADC
#----------- and right ADC. Treat data on SCLK as digital microphone data
w 30 51 dc
#----------- Unmute left ADC and right ADC
w 30 52 00
4.5
Register Script for Mono DAC playback with 48ksps on Differential Headphone with
Offset Calibration
Assumptions: MCLK=12.288 MHz, LDOIN > 3V
#----------- Initialize to page 0
w 30 00 00
#----------- Software RESET
w 30 01 01
#----------- Power up and set NDAC divider = 1
w 30 0b 81
#----------- Power up and set MDAC divider = 2
w 30 0c 82
#----------- Select page 1
w 30 00 01
#----------- Disable internal crude AVdd in presence of external AVdd supply
77
SLAU434 – May 2012
Example Setups
Copyright © 2012, Texas Instruments Incorporated