Skip to main content
LLr.1
Associate III
November 19, 2021
Question

STM32WL55 : Why PWR_STOP2_RTC is working every time well with MDK-ARM (Keil uVision) and not every time with CubeIDE ? (STM32WL)

  • November 19, 2021
  • 1 reply
  • 539 views

Hi,

Without making any changes and making a "clean" every time, I try this example (PWR_STOP2_RTC in CubeWL latest version). Unfortunately, often this gets stuck in MX_RTC_Init(). Still, this example with this same board works very well with MDK-ARM. Why ? (I've already run other examples with Cube IDE)

Thank you by advance

This topic has been closed for replies.

1 reply

LLr.1
LLr.1Author
Associate III
December 10, 2021

If you had the same issue :

Answer from ST employee : "this issue seems to be linked to the code optimization level.

Even with Keil/IAR, if I decreased the optimization level , I have a timeout on the LSI deactivation/activation.

But as previously stated, this example should not be used in debug mode."