Skip to main content
HCohe.1
Associate III
January 18, 2022
Question

"We should never end up in this case..." Yet we do. Why?

  • January 18, 2022
  • 2 replies
  • 884 views

Any program that I generate using STM32CubeIDE for the STM32WB with BLE enabled hangs until I comment out the following line. What need to change in the initialization sequence?

  /**

   * We should never end up in this case

   * However, if due to any bug in the timer server this is the case, the mistake may not impact the user.

   * We could just clean the interrupt flag and get out from this unexpected interrupt

   */

  while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(phrtc, RTC_FLAG_WUTWF) == RESET);

This topic has been closed for replies.

2 replies

AAnis.1
Associate
February 14, 2022

same issue here under zigbee stack , i think it's related to clock configuration but idk what

Remy ISSALYS
ST Technical Moderator
February 23, 2022