AnsweredAssumed Answered

SPI using DMA with a Scatter/Gather (MIMXRT1020)

Question asked by Volkan Keles on Feb 15, 2019
Latest reply on Mar 14, 2019 by Hui_Ma

We are facing the following problem when using the SPI in DMA (Slave) mode with Scatter/Gather.


We are filling 100 frames (each frame has 28 Bytes length) read from SPI SLAVE. And in another asynchronous timer callback, we occasionally get TCD[channel].DADDR destination address and evaluate the values written by the DMA. But we are having issues getting this destination address periodically. In a fixed 14.6 seconds period the destination address (TCD[channel].DADDR) returns a wrong value. By the way the 14.6 seems constant for each buffer size or read period configurations.

So far we couldn't find any solution for this issue. What might be the reason?


Thanks in advance