Hardware Details
Device :MIMXRT1061
SDK Name:SDK_2.x_MIMXRT1061xxxxA
SDK Version :2.11.1 (563 2022-03-24)
Host OS :Windows
Toolchain :MCUXpresso IDE(11.5.0_7232)
Middleware :FatFS, FreeRTOS
When I use spi dma to carry data, I found that when dma transfer is triggered, dma will read data from fifo, but the data conversion of spi is not completed at this time, so the data read by dma will be 0, and then proceed The read will not be read until the last conversion is completed. How should I deal with this problem.
I am directly operating the send and receive registers of the spi. When the spi's dma transmission is completed, the spi's dma reception will be triggered, but at this time it will appear that the data has not been put into the fifo, and the dma has completed the operation of reading the fifo. Cause my data is not real time. How should it be solved?
Is there any way to let the spi rx dma transfer the data after the data update is completed?