How to Generate ms delay in TWR-K20D72M board?

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

How to Generate ms delay in TWR-K20D72M board?

768 次查看
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 项奖励
回复
1 回复

645 次查看
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 项奖励
回复