When implement dma using the SW32K3_RTD_4.4_1.0.0_P02 example project, I found that the dma could not loop through the data in scatter/gather mode, and I referred to the link https://community.nxp.com/t5/S32K/Can-DMA-S-G-mode-become-continueous/m-p/1615524 @Guo-
where technical support describes linking the last element of the scatter/gather list to the first element cause the loop in that mode. However, in the actual implementation (only changed the last element in the example project linking to the first element), the DMA register target and source addresses do not return to the initial element location after a TCD_CSR START. This is shown in the figure below.
last_element_link_first.png
dma_initial_state.png
after TCD_CSR start first.png
DMA_faild.png