Skip to main content
Visitor II
December 30, 2022
Solved

2 PDM microphones data from SPI using PDM to PCM library?

  • December 30, 2022
  • 1 reply
  • 1679 views

0693W00000Y76ZqQAJ.pngHello!

I want to interface 4 PDM microphones with STM32F401RE's SPIs in stereo config(like in the pic above), I have a problem of how to get its data using pdm to pcm library. As the data will be alligned in this form(M1bit1, M2bit1, M1bit2, M2bit2..........M1bitn, M2bitn).

Can someone give me a piece of code or some kind of explanation on how to get the data?

    This topic has been closed for replies.
    Best answer by Eleon BORLINI

    Hi @Viki (Community Member)​ ,

    please consider this thread (LINK1) and this other thread (LINK2) and keep only those for any further requests.

    -Eleon

    1 reply

    ST Employee
    January 4, 2023

    Hi @Viki (Community Member)​ ,

    please consider this thread (LINK1) and this other thread (LINK2) and keep only those for any further requests.

    -Eleon