cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 Discovery board - audio directly from mic to amp

krzysztofrybak6
Associate II
Posted on December 02, 2014 at 22:56

Hi All,

I try to amplify audio obtained in mic(

mp45dt02

) with amp(

CS43L22 ) and hear the voice on headphones. The way to do this is not with STM32F4, but directly via PDM_OUT port.

This is possible as mic output is directly connected with low-pass filter and amp input afterwards(AIN4A, AIN4B).

The problem is how to configure the amp to such configuration. 

Here are some details:

- clock for mic is generated by controller, and I checked with logic analyzer that PDM signal is generated by mic

- I only configure I2C communication (not DMA and I2S) as data loaded from analog input and

CS43L22 

 is in PASSTHROUGH mode. I can read/write registers of amp but don't know why there is no audio.

Did someone do such configuration and may share registers values?

0 REPLIES 0