AnsweredAssumed Answered

Running AD1939 @16KHz samplerate on ADSP-21469 EZ-Kit

Question asked by mmohang on Feb 1, 2013
Latest reply on Feb 1, 2013 by ColemanR

Hi,

 

I am trying to run the AD1939 @ 16KHz sample rate on 21469 EZ-Kit by configuring AD1939 in slave mode and BCLK and LRCLK are generated by the DSP. Here are AD1939 settings:

 

(AD1939_ADDR), DACMUTE, 0x00,

          (AD1939_ADDR), CLKCTRL0, DIS_ADC_DAC | PLL_IN_ALRCLK | MCLK_OUT_OFF | PLL_PWR_DWN,

          (AD1939_ADDR), CLKCTRL1, DAC_CLK_PLL | ADC_CLK_PLL | DIS_VREF,

          (AD1939_ADDR), DACCTRL0, DAC_FMT_I2S | DAC_BCLK_DLY_1 | DAC_SR_48K,

          (AD1939_ADDR), DACCTRL1,  DAC_BCLK_SLAVE| DAC_LRCLK_SLAVE  | DAC_CHANNELS_2 | DAC_LATCH_MID, //Ddebug

          (AD1939_ADDR), DACCTRL1,  DAC_BCLK_SLAVE| DAC_LRCLK_SLAVE  | DAC_CHANNELS_2 | DAC_LATCH_MID, //Ddebug

          (AD1939_ADDR), DACCTRL2, DAC_WIDTH_24,

          (AD1939_ADDR), ADCCTRL0, ADC_SR_48K,

          (AD1939_ADDR), ADCCTRL1, ADC_LATCH_MID | ADC_FMT_I2S | ADC_BCLK_DLY_1 | ADC_WIDTH_24,

          (AD1939_ADDR), ADCCTRL2, ADC_BCLK_SLAVE | ADC_CHANNELS_2 | ADC_LRCLK_SLAVE | ADC_LRCLK_FMT_50_50|ADC_LRCLK_POL_NORM|ADC_BCLK_POL_NORM, // NDdebug  

          (AD1939_ADDR), ADCCTRL2, ADC_BCLK_SLAVE | ADC_CHANNELS_2 | ADC_LRCLK_SLAVE | ADC_LRCLK_FMT_50_50|ADC_LRCLK_POL_NORM|ADC_BCLK_POL_NORM, // NDdebug                 

          (AD1939_ADDR), DACVOL_L1, DACVOL_MAX,

          (AD1939_ADDR), DACVOL_R1, DACVOL_MAX,

          (AD1939_ADDR), DACVOL_L2, DACVOL_MAX,

          (AD1939_ADDR), DACVOL_R2, DACVOL_MAX,

          (AD1939_ADDR), DACVOL_L3, DACVOL_MAX,

          (AD1939_ADDR), DACVOL_R3, DACVOL_MAX,

          (AD1939_ADDR), DACVOL_L4, DACVOL_MAX,

          (AD1939_ADDR), DACVOL_R4, DACVOL_MAX,

          (AD1939_ADDR), CLKCTRL0, DIS_ADC_DAC | PLL_IN_ALRCLK | MCLK_OUT_OFF | INPUT256 | PLL_PWR_UP,

          (AD1939_ADDR), CLKCTRL0, ENA_ADC_DAC | PLL_IN_ALRCLK | MCLK_OUT_OFF | INPUT256 | PLL_PWR_UP,

          (AD1939_ADDR), DACMUTE, 0x00,

 

Please let me know is it possible to run AD1939 @16KHz samplerate? If yes, could any one please send me the codec configurations?

 

Regards,

Madhan

Outcomes