S32K146 eDma transfer

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

S32K146 eDma transfer

629 次查看
albertoferrero
Contributor I

Hi all, I need to implement a dma transfer from memory to a register, triggered by a timer. The platform is a S32K146 with S32DS 3.4 and SDK 4.0.2. I tried to modify the "edma_transfer_s32k146" example in order to setup the FlexTimer FTM1 - channel 1 as a PWM generator (checking the "External Trigger" box) and setting the EDMA field "Channel Request" on EDMA_REQ_FTM1_CNANNEL_1 value.

In the source code I simply added a call to start the DMA channel

EDMA_DRV_StartChannel(dmaControllerChn0_Config.virtChnConfig);

Could someone give me any advice to make this working? Is there, on the Net, any example on using DMA driven by a timer? Should I use the TRGMUX module?

Thank you all in advance.

Alberto

标签 (1)
0 项奖励
1 回复

620 次查看
danielmartynek
NXP TechSupport
NXP TechSupport
0 项奖励