2021-07-07 08:30 PM
2021-07-08 02:32 AM
Hello @Community member ,
This indicates that the MCU has been reset (a hard fault probably). Could you clarify if you need to restart debugging or that you find yourself in the entry point after exit of the low power mode.
Otherwise, to answer you question here are extracts from the reference manual:
Best regards,
@SBEN .2
2021-07-09 09:56 AM
I solved the problem using STOP mode: HAL_PWR_EnterSTOPMode (PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFE);
Now MCU continue execute code from enter power down state.
2021-07-09 09:59 AM
The HAL documentation is not good enough, unfortunately, but everything can be solved by experiments :)
2021-07-09 10:05 AM
By the way, it's not about HARD FAULT. The question is why does the controller reset when exiting POWER DOWN mode.
2021-07-12 01:39 AM
Hello @Community member,
For Standby and Shutdown we have a system reset after waking up, otherwise the other modes continue the execution.
Mohamed Aymen.