Hi All,
I am using the PN7462 microcontroller. There are only 4 timers in PN7462 and I have exhausted those timers. I have a requirement to calculate 5Min time. There is a workaround that I put a counter in a milli-second timer and calculate 5 minutes but I looked into the PN7462 datasheet and there is a SysTick Timer. Is there a way I can use this timer for generating interrupts at a given time? I am using bare-metal programming.
Solved! Go to Solution.
Hello @jayesh_joshi
Unfortunately, there is no example for your application. So, you need to implement it by yourself.
BR
kelly
Thank you for the response.
I do understand I can not achieve 5 minutes directly with a timer.
Is there an example available for this counter as a timer? Or do I have to look into the datasheet for creating a timer?
Hello @jayesh_joshi
Unfortunately, there is no example for your application. So, you need to implement it by yourself.
BR
kelly
Hello @jayesh_joshi
Thanks for contacting us and choosing the NXP products.
Yes, it's possible. But 24-bit counter does not reach 5min by an interrupt. So, it is recommended that you do this, interrupt once every 10 seconds, overflow after 30 interrupts, and continue to reload the counter value if it does not reach 30 times. In this case, 30*10s=300s=5min.
Hope the above is helpful to you.
If still any issues, please feel free to contact us.
BR
Kelly