In my application, I need to run in two different modes. When the screen is active, I need to use timers for screen updates and such. Once that times out, I need to go into low power mode that is exited with the RTC or a touch interrupt (no active software timers). I plan on stopping all the timers before going to sleep and turning them back on after wakeup.
The tickless idle examples I saw have timers turned off. Is there a restriction on the use of tickless idle and software timers?
In my “playing” I noticed something strange with my bare bones project. With times turned on (configUSE_TIMERS = 1) but no timers created, I still get my current consumption down to where I need it. The strange thing is that after the first RTC wake up, vTaskDelay (associated with an LED on period) is 10 times as long as it was before going to sleep. With the timers turned off (configUSE_TIMERS = 0) this is not an issue.
Your help with this is greatly appreciated.