Skip to main content
Associate II
May 17, 2025
Question

Record audio using PDM OR DFSDM

  • May 17, 2025
  • 1 reply
  • 345 views

Hi, 
I am working with STM32H757I-EVAL. The task is to record audio, store it in SD Card. Since, STM32H757I-EVAL has PDM Data format as well as DFSDM data format which would be better to interface with or is there anyother data format that can be used?

1 reply

AScha.3
Super User
May 17, 2025

Hi,

depends, where your data is coming from .

If from mic , with pdm pulse stream, you have to convert to PCM , to get something like a wav file.

You could use the DFSDM module for this, or (from audio lib) pdm->pcm conversion/downsampling .

"If you feel a post has answered your question, please click ""Accept as Solution""."