How to trigger DMA with LPTMR in KW45

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

How to trigger DMA with LPTMR in KW45

829件の閲覧回数
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 返答(返信)