How to use FTM DMA?
EDMA channels request have FTM1_CHANNEL_0 eg.
who can get me an example? thank you!
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:
S32K144 / Modules / EDMA driver
There is a EDMA SDK example in the S32DS you can refer to.
Retrieving data ...