Skip to main content
spa23
Associate III
January 15, 2021
Question

Hi I have a small problem with SAI and DMA.

  • January 15, 2021
  • 2 replies
  • 1592 views

0693W000007BRBGQA4.jpgI have a small problem if I use SAI DMA in circular mode, the first time it fills up the buffer, it works fine, but after it looks like it is the right data levels, but just that some are omitted.

the top chart is DMA filling up the buffer, (first run)

the other is if i let it run for a while and then read out data.

Anyone have an idea for what might be wrong?

This topic has been closed for replies.

2 replies

spa23
spa23Author
Associate III
January 19, 2021

just updated the question. :)

RPuch.2
Associate II
February 25, 2023

Hi. Did you manage to bypass the problem? I am also struggling with DMA for SAI. Maybe you can suggest something?

https://community.st.com/s/question/0D53W000029SXMnSAO/data-acquisition-from-pdm-microphones-via-sai-using-dma-problem-with-writing-to-pdmbuffer