Skip to main content
Visitor II
January 28, 2021
Solved

Example of MEMS microphone and PDM 2 PCM on STM32

  • January 28, 2021
  • 2 replies
  • 4751 views

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.
    Best answer by Imen.D

    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

    2 replies

    Imen.DAnswer
    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

    Explorer
    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?

    Explorer
    October 27, 2022

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

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