DMA scatter gather failed in loop mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

DMA scatter gather failed in loop mode

1,358 次查看
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 项奖励
回复
3 回复数

1,343 次查看
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 项奖励
回复

1,321 次查看
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 项奖励
回复

1,312 次查看
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 项奖励
回复