DMA scatter gather failed in loop mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DMA scatter gather failed in loop mode

1,362 Views
welt
Contributor I

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

 

 

0 Kudos
Reply
3 Replies

1,347 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @welt 

Have you already tested with the latest version of the RTDs for S32K3? If yes, did you observe the same behavior? 

 

B.R.

VaneB

0 Kudos
Reply

1,325 Views
welt
Contributor I

The version I am using is RTD 4.4 and the EB version is 28.0, I am not sure if this is the latest RTD version, if not, could you please provide a download address and a way to download the new version, we are observing the phenomenon in the current version of RTD.

0 Kudos
Reply

1,316 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @welt 

The available RTD versions can be found in S32K3 Standard Software -> Automotive SW - S32K3 - Real-Time Drivers for Cortex-M.

0 Kudos
Reply