cancel
Showing results for 
Search instead for 
Did you mean: 

CS43L22 analog passthrough

aditya
Associate II
Posted on July 19, 2017 at 13:28

Can anyone help me with using the codec CS43L22 in analog passthrough mode on STM32F4-Discovery.

Flow of application

Analog Input ---> ADC ---> DAC ---> CS43L22 ---> Headphone or Speaker

I have got ADC and DAC working, but the codec is not working.

4 REPLIES 4
Posted on July 19, 2017 at 13:33

CS43L22 *is* a DAC, so you want

Analog Input ---> ADC ---> [data in processor] --->[I2S]---> CS43L22 ---> Headphone or Speaker

JW

Posted on July 19, 2017 at 13:39

Hi Jan,

CS43L22 requires data in PCM format. I'm recording audio over an external microphone and need to transfer as analog data to codec.

Posted on July 19, 2017 at 14:17

0690X00000607ckQAA.png

This looks pretty much I2S to me.

PCM is just to say that ''amplitude samples are taken regularly'' (as opposed to other forms of modulation, for example delta-sigma).

JW

vuahoa07
Associate II
Posted on June 05, 2018 at 06:03

I've made my CS43L22 Passthrough worked: provide MCLK by calling 'HAL_I2S_Transmit_DMA' even we do not use I2S audio data.

The Beep is the same.