S32K146 eDma transfer

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

S32K146 eDma transfer

628件の閲覧回数
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 返信

619件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport
0 件の賞賛