DMA scatter gather failed in loop mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

DMA scatter gather failed in loop mode

1,375件の閲覧回数
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,360件の閲覧回数
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,338件の閲覧回数
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,329件の閲覧回数
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 件の賞賛
返信