cancel
Showing results for 
Search instead for 
Did you mean: 

FreeRTOS Tickless Mode and BLE Timers on STM32WB: Help Needed

JR2963
Senior

Hi,

I am using STM32WB with FreeRTOS and BLE. I noticed that BLE uses hw_timerserver.c, possibly for ending FAST Advertising BLE. At the same time, I want to use FreeRTOS with Tickless - Low power mode, which also uses the RTC in the vPortSuppressTicksAndSleep function, calling the timer in hw_timerserver.c.

The problem is that I can't find the IRQHandler for the RTC timer. I don't see any in stm32wbxx_it.c. Additionally, my program ends up in the unexpected interrupt section, and it seems to be from the RTC Wakeup_IRQ_Handler. In hw_timerserver.c, there is a function void HW_TS_RTC_Wakeup_Handler(void), but even when the timer should be running, the program never jumps to this function.

I am not sure if there is an error or if I am doing something wrong.

0 REPLIES 0