Configuring Major loop in DMA transfer list for S32K322

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

Configuring Major loop in DMA transfer list for S32K322

1,246 次查看
user_244572
Contributor II

Hello,

I am trying to copy an int array of size[10] to another empty array of the same size.

I have configured the minor loop for a single transfer.

However, when I configure the major loop to repeat the transfer 10 times (to copy the whole array), I don't see any update.

Here is a screen shot of the current configuration:

user_244572_0-1737461762750.png

and I am using the following interfaces:

user_244572_1-1737461859783.png

 

1) Can you tell me what is wrong with the current configuration ?

2) How can I observe the major loop work in action ?

Thanks in advance. 

 

标记 (3)
0 项奖励
回复
5 回复数

1,214 次查看
user_244572
Contributor II

no, I haven't configured the DMAMUX. How to configure it ?

I cannot find RM (Resource Manager) in the driver list in S32 design studio :

user_244572_0-1737476391780.png

 

 

0 项奖励
回复

1,199 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

It is MCAL component.

 

There is also example code for that:

Rm_DMAMUX_Example_S32K344

0 项奖励
回复

1,194 次查看
user_244572
Contributor II
Hi David,

I am not using MCAL.
How to configure the DMA_MUX from the Drivers layer ?
0 项奖励
回复

1,183 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

It cannot be done in IP layer.

You can use MCAL or possibly configure DMAMUX peripheral manually by bare metal code.

0 项奖励
回复

1,218 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Do you have configured DMAMUX module? In RTD, it is part of RM module (Resource Manager).

0 项奖励
回复