Skip to main content
dhedin
Visitor II
March 17, 2020
Question

I am trying to sample data from PDM microphones using DFSDM and then output the audio using SAI setup as a master PCM interface. Is there a way to synchronize the data coming from the DFSDM with the SAI setup in Master mode?

  • March 17, 2020
  • 0 replies
  • 726 views

I can get the frequencies close but not exact. I currently have a circular DMA buffer that I put the data in as I receive it from the DFSDM which feeds the SAI. I have this working but since they aren't exactly the same frequency there is underrun or overrun issues. Is there a way to do this without an elastic buffer I'm missing? I'm using the STM32L476RG and currently developing with the Nucleo L476RG and the X-Nucleo-CCA02M development boards.

This topic has been closed for replies.