How to trigger DMA with LPTMR in KW45

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to trigger DMA with LPTMR in KW45

518 Views
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 Kudos
Reply
0 Replies