Since I updated my FreeRTOS tick management code from v7.4.2 to v9.0.0 I have been having some issues related to low power tickles mode management.
I use EFM32 family, with the provided low_power_tick_management code.
Randomly it happens that the
vTaskStepTick(ulCompleteTickPeriods);, that is called at the end of
vPortSuppressTicksAndSleep(), is called with an invalid number of complete tick periods, which causes this one to assert in the following validation
configASSERT( ( xTickCount + xTicksToJump ) <= xNextTaskUnblockTime );.
Anyone aware of this problem, what may be causing it or what can be done to avoid it?