How to use FTM DMA function?

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

How to use FTM DMA function?

2,034件の閲覧回数
海斌蔡
Contributor II

Hi,

How to use FTM DMA?

EDMA channels request have FTM1_CHANNEL_0 eg.

pastedImage_1.png

who can get me an example? thank you!

0 件の賞賛
返信
1 返信

1,912件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi 海斌蔡,

Unfortunately, we don't have such FTM example, the FTM driver does not support DMA transfers, you would need to enable the DMA in the corresponding CnSC register. The configuration that you highlighted basically sets the DMAMUX  when the EDMA_DRV_Init() function is called and the DMA driver is initialized. Then, you would need to configure a transfer as described in the EDMA SDK documentation based on your use case:

.../S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_RTM_3.0.0/doc/html_S32K144/Start_here.html

S32K144 / Modules / EDMA driver

There is a EDMA SDK example in the S32DS you can refer to.

pastedImage_2.png

BR, Daniel

0 件の賞賛
返信