GPT Timer IMXRT1060.

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

GPT Timer IMXRT1060.

216 次查看
Kiran215
Contributor II

I am trying to use the GPT to generate 1ms interrupt, so that I want to use GPT1 to generate Time base to generate time delays instead of using SysTick.

I have tried by calculating the clock and setting the prescaler, but i coudn't achieved the final output. Can Anyone please help me in configuring my GPT as SysTick to generate time base for my time delay function.

Thanks in advance.

0 项奖励
2 回复数

200 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

You can refer to the SDK example evkcmimxrt1060_gpt_timer, which trigger a periodic interrupt after every 1 second.

Hope it helps you.

Have a nice day!

0 项奖励

198 次查看
Kiran215
Contributor II

I need it for every 1ms, for that i have changed the clock and prescaler values, but i couldn't achieve. And can you please explain what is stop mode and free run mode.

0 项奖励