RTOS and hardware timer

magres
Posts: 2
Joined: Fri Apr 14, 2017 7:44 pm

RTOS and hardware timer

Postby magres » Sun Apr 16, 2017 3:48 am

1. How to get the hardware timer in RTOS SDK to react properly? When I init non autoload timer, the timer behave cyclic with const time period ~1.5 sec, even though I'm loading 100 us.
https://github.com/espressif/ESP8266_RTOS_SDK/issues/96
2. How to disable (disarm, unload) hardware timer from another interrupt?
3. Is there no way to register NMI interrupt in RTOS SDK?

pratik

Re: RTOS and hardware timer

Postby pratik » Wed Apr 26, 2017 1:40 pm

Please consult the RTOS SDK manual for details on timer APIs. It is best to avoid using the timers for application directly via hardware registers because the RTOS tick depends on the timers as well. If you overwrite the timer used for system ticks, things may get messed up.
Are you using FRC1 or FRC2?

Who is online

Users browsing this forum: No registered users and 64 guests