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.
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!
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.