How to trigger DMA with LPTMR in KW45

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

How to trigger DMA with LPTMR in KW45

526 次查看
lingwen_kong
Contributor III

Hi NXP teams

I want to trigger DMA with LPTMR.

The attached folder is my IAR project.

This is my setting:

1. set DMA source to LPTMR0 and enable DMA channel request:

EDMA_SetChannelMux(DMA0, 0, (uint32_t)3); // LPTMR0
EDMA_EnableChannelRequest(DMA0, 0); 

2. Enable DMA of LPTMR

LPTMR_EnableTimerDMA(DEMO_LPTMR_BASE, true);

With the setting above, LPTMR interrupt every second successfully, but DMA did not work.

Is there any other setting needed?

 

Best Regards.

Kong

0 项奖励
回复
0 回复数