cancel
Showing results for 
Search instead for 
Did you mean: 

F407 Discovery - MEMS microphone -DSP-DAC-Headphone (DMA and PDM to PCM, double buffer, half buffer)

TombrownBottom
Associate III

I have been looking for software that can take as an input, the PDM output from the MEMS microphone, and convert it to PCM.

I then want to implement a double buffer using DMA, to reduce CPU load and output the audio data to the DAC on this PCB.

Once I have this running I want to experiment with DSP, filters, delay lines etc...

If no software is available, does anyone know if a process is defined, with comments on why each element of the process is as it is for learning purposes?

 

Thanks in advance

2 REPLIES 2
BarryWhit
Senior III

LMGTFY

 

AN5027: Interfacing pdm digital microphones using stm32 

 

Also (specifically for the F4/F7, from Here)

https://www.st.com/en/embedded-software/x-cube-audio.html

https://www.st.com/en/embedded-software/x-cube-audio-kit.html

 

 

- If a post has answered your question, please acknowledge the help you received by clicking "Accept as Solution".
- Once you've solved your issue, please consider posting a summary of any additional details you've learned. Your new knowledge may help others in the future.

Thanks for that, but Im looking for something more basic for a beginner. Some sample code with process for learning purposes.

I'll certainly take a look at the links and do some head sratching....