cancel
Showing results for 
Search instead for 
Did you mean: 

Example of MEMS microphone and PDM 2 PCM on STM32

kcire L.
Associate III

Hello,

I am hoping to find someone who could explain or show an example of how to read data line from a MEMS microphone using PDM and output the corresponding PCM values. If anyone could help with some code examples I would be very much appreciative.

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

Hello @kcire L.​ ,

Welcome to the STM32 Community 🙂

The following resource might help to use the PDM2PCM Library to connect digital MEMS microphones :

  • AN5027 Using PDM digital microphones with STM32 MCUs
  • UM2372 User manual STM32Cube PDM2PCM software library for the STM32F4/F7/H7 Series

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

3 REPLIES 3
Imen.D
ST Employee

Hello @kcire L.​ ,

Welcome to the STM32 Community 🙂

The following resource might help to use the PDM2PCM Library to connect digital MEMS microphones :

  • AN5027 Using PDM digital microphones with STM32 MCUs
  • UM2372 User manual STM32Cube PDM2PCM software library for the STM32F4/F7/H7 Series

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

You haven't updated these manuals for quite some time and seem to be outdated.

Do you have any intentions to add more than 1 channel in the example?

Jnevi.1
Senior

please also look at my problems with this lib & Keil armclang

https://community.st.com/s/feed/0D53W00001tMaqKSAS