cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB5x with FreeRTOS hangs in IdleTask

hbucknell
Associate II

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?

 

3 REPLIES 3
TDK
Guru

Are you using the latest library?

https://community.st.com/t5/stm32-mcus-wireless/lorawan-end-node-freertos-application-configassert-in-tasks-c/td-p/92719

 

If you feel a post has answered your question, please click "Accept as Solution".

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

STTwo-32
ST Employee

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.