cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F412 - Interfacing with 8 PDM microphones

sully
Associate II

I've been reviewing AN5027 (Interfacing PDM digital microphones using STM32) and am a little unclear about a 4x2ch mic configuration using 4 of the SPI/I2S peripherals available on the F412.

Looking at the figure below, could I connect all 4 stereo pairs to the same timer clock output but 4 different I2S_SD lines?

Also, the SPI block shows it connecting to SPIx_MOSI. Shouldn't this be MISO?

Thanks

3 REPLIES 3

>>Also, the SPI block shows it connecting to SPIx_MOSI. Shouldn't this be MISO?

Would depend if the STM32 is configured as a Slave

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
sully
Associate II

0690X000006C6S3QAK.jpgHmm the image didn't seem to paste properly from my phone. Trying again from my computer. In any case the description for this figure says "the SPI block is configured in master receiver mode".

>>Also, the SPI block shows it connecting to SPIx_MOSI. Shouldn't this be MISO?

> Would depend if the STM32 is configured as a Slave

Also, if it would be configured as SPI or I2S - in I2S mode, there's only on data pin, and its direction depends not on whether it's Master or Slave, but whether it's set as Transmitter or Receiver.

JW