2024-02-02 05:59 AM
Hello,
Using STM32Cube FW_WB V1.18.0 on STM32WB5MMG, and compiler IAR.
Config with Tickless idle and LPM_ENABLE
We have an application that is using osDelay() and finding that the idle task hangs here,
Line 3478: configASSERT( xNextTaskUnblockTime >= xTickCount );
With values 10 and 13 respectively.
We have set the LPM to only use Sleep mode while we are booting the system. Using,
UTIL_LPM_SetStopMode( flgs, UTIL_LPM_DISABLE );
Any ideas why this might be?
2024-02-02 06:40 AM
Are you using the latest library?
2024-02-02 06:48 AM
I beleive STM32Cube FW_WB V1.18.0 is the latest.
Thanks for the link, that is very similar but faulting in a different location in tasks.c
2024-03-05 03:03 AM
Hello @hbucknell
I suggest you refer to one off the examples implemented on the STM32CubeWB that use both BLE and FREERTOS. Then, you can do the necessary modifications step by step so you can locate the exact source of error.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.