Skip to main content
kcire L.
Associate III
January 28, 2021
Solved

Example of MEMS microphone and PDM 2 PCM on STM32

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

This topic has been closed for replies.
Imen.DBest answer
ST Technical Moderator
January 29, 2021

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks

3 replies

Imen.DBest answer
ST Technical Moderator
January 29, 2021

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
victagayun
Senior III
October 11, 2022

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
Associate III
October 27, 2022

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

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