GPT Timer IMXRT1060.

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

GPT Timer IMXRT1060.

202 Views
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 Kudos
2 Replies

186 Views
_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 Kudos

184 Views
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 Kudos