How to Generate ms delay in TWR-K20D72M board?

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

How to Generate ms delay in TWR-K20D72M board?

473 Views
bhavinmaru
Contributor III

I am Using TWR-K20D72M board i downloaded various sample codes from nxp site.i tried to generate delay of ms using lptmr library but i can't generate delay.i have requirement to generate ms delay in my code so please give me suggestion that how i can generate ms delay.if you have code that can generate ms delay so please give me.

Thank You

Bhavin

0 Kudos
Reply
1 Reply

350 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Bhavin,

Which IDE do you used ? If KDS or CW, you can directly use the PE , add PIT  component ,

then configure one 1ms interrupt.

If not , you can find one PIT or FTM configure demo , check how to configure the interrupt .

Hope it helps

Alice

0 Kudos
Reply