Skip to main content
Associate II
October 19, 2024
Question

How to fix Noise issues in PDM to PCM Conversion?

  • October 19, 2024
  • 1 reply
  • 4062 views

Hey,

We are implementing digital microphone interfacing using ST's IMP34DT05TR microphones connected to the STM32G473VET6 microcontroller through the PDM interface, following guidelines from the application note AN5027, specifically Example 3.

The configuration includes:

1. SAI GPIO and Pin Configuration
2. SAI Parameter Settings
3. SAI DMA Settings

We have included screenshots of these configurations.

We are utilizing the PDM filter library "libPDMFilter_CM4F_GCC.a" for converting PDM to PCM. However, the output PCM data, when converted to a .wav file or played directly, results only in Noise.

Could you advise on what aspects to check or steps to troubleshoot this issue effectively? Any help or guidance would be greatly appreciated.

AiROT.

This topic has been closed for replies.

1 reply

PGump.1
Senior II
November 15, 2024

Hi,

Make sure the header in your WAV file is correct - sample rate, bit length, n channels, endiness...

I hope that helps.

Kind regards
Pedro

AI = Artificial Intelligence, NI = No Intelligence, RI = Real Intelligence.