Skip to main content
Visitor II
February 5, 2021
Solved

Hello ST Experts , I am new to STM32 development environment i had a query regarding how to interface MEMS microphone ics43432 with STM32F4xx nucleo 64 board , their clocking configurations in STM32cubeMX and the usage of PDM2PCM middleware.

  • February 5, 2021
  • 1 reply
  • 1161 views

The 1 bit PDM data output should be converted to a 16 bit PCM data format using this and what peripherals should be used in STM32cubeMX and the obtained PCM should be converted into .wav file and display it on UART/USART

What is the process could anyone please elaborate? please help

Thanks in advance.

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

    Hi @Community member​ ,

    I'm not an expert on TDK microphones, but it should be similar to ST digital MEMS microphones.

    For these microphones, there are some available example that decode the PDM into PCM and stream the audio signal: in the X-CUBE-MEMSMIC1 package there is an example running on a STM32F4-Nucleo board that deploys the digital microphones on the X-NUCLEO-CCA02M2, acquiring them in PDM, decimating it in PCM and streaming the audio data on USB (folder: \Projects\STM32F401RE-Nucleo\Demonstration\CCA02M2\HP_Microphones_Streaming). In particular, please have a look to the audio_application.c, the cca02m2_audio.c and the usbd_audio_if.c files.

    You could start from this example and adapt it to your microphone paying attention to the hardware connections of the board you are using.

    -Eleon

    1 reply

    ST Employee
    February 8, 2021

    Hi @Community member​ ,

    I'm not an expert on TDK microphones, but it should be similar to ST digital MEMS microphones.

    For these microphones, there are some available example that decode the PDM into PCM and stream the audio signal: in the X-CUBE-MEMSMIC1 package there is an example running on a STM32F4-Nucleo board that deploys the digital microphones on the X-NUCLEO-CCA02M2, acquiring them in PDM, decimating it in PCM and streaming the audio data on USB (folder: \Projects\STM32F401RE-Nucleo\Demonstration\CCA02M2\HP_Microphones_Streaming). In particular, please have a look to the audio_application.c, the cca02m2_audio.c and the usbd_audio_if.c files.

    You could start from this example and adapt it to your microphone paying attention to the hardware connections of the board you are using.

    -Eleon

    SG.4Author
    Visitor II
    February 11, 2021

    Thank you so much for the help Eleon .