ESP32: which hardware timers are occupied by freertos
Posted: Sat Jan 09, 2021 12:00 pm
which hardware timers are occupied by freertos?
Thanks!
Thanks!
ESP32 Official Forum
http://forum.esp32.com/
Generally, most operating systems have a "system tick" which requires an interrupt be generated at a regular interval. This usually requires some form of hardware timer be used to generate this system tick for the operating system.Victoria Nope wrote: None of them is "occupied" by FreeRTOS. Why would they need to take them from "users"?
On the ESP32, none of the hardware timers are occupied. This is because the Xtensa CPU core has an internal timer to generate an interrupt at regular intervals based on CCOUNT (the CPU's clock count). Therefore, no external timer is required to generate the system tick.kendo55 wrote: which hardware timers are occupied by freertos?
Thanks!
How would FreeRTOS provide vTaskDelay(...) or any other time-based functionality without underlying timer hardware?If it is indeed possible to configure FreeRTOS so as not to occupy any hardware timers...