Hi,
I have made some changes with how we update tick timer inside FreeRTOS and the results are promising . The improvement is
- RTOS tick will auto correct if masked for more than one tick. BLE activity will not affect the RTOS tick accuracy. No ticks will be lost.
- better RTOS timers resolution (max deviation noticed with BLE traffic is 2%).
- TicklessIDLE wakeup tick correction is simplified using RTC overflow feature
- More stable BLE connections due to increased efficiency of RTOS timers.
I have tested this for few hours but I need you guys to give feedback on how this improves your setup.