Skip to main content
Viki
Associate II
December 30, 2022
Solved

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

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.
Eleon BORLINI
Eleon BORLINIBest answer
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

1 reply

Eleon BORLINI
Eleon BORLINIBest answer
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