2021-11-19 06:04 AM
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
2021-12-09 11:07 PM
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."