2017-07-19 04:28 AM
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.
2017-07-19 04:33 AM
CS43L22 *is* a DAC, so you want
Analog Input ---> ADC ---> [data in processor] --->[I2S]---> CS43L22 ---> Headphone or Speaker
JW
2017-07-19 06:39 AM
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.
2017-07-19 07:17 AM
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
2018-06-04 09:03 PM
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.