cancel
Showing results for 
Search instead for 
Did you mean: 

Hi I have a small problem with SAI and DMA.

spa23
Associate III

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?

2 REPLIES 2
spa23
Associate III

just updated the question. 🙂

RPuch.2
Associate III

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