It introduces how to connect STM32 with MP45DT02 MEMS Microphone and use PDM signal decoding and audio signal reconstruction to convert PDM data to 16-bit pulse-code modulation (PCM) format
The document presents optimized software implementation details for converting Pulse Density Modulated (PDM) data from an ST MP45DT02 MEMS microphone into 16-bit pulse-code modulation (PCM) format. It covers the necessary hardware interface setup and digital signal processing algorithms, including decimation filtering and conditioning.
The microphone outputs a high frequency stream of 1-bit digital samples ranging from 1 to 3.25 MHz.
Gain can be controlled by an external integer variable (MicGain) using the equation G = MicGain/64.