2019-02-27 02:25 PM
STM32L041F6 - I configured RTC for wakeup every second from Stop mode. It works ok, but after external reset (NRST pin) it not working. Program run in main while() only once, to line:
HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);
After switch power supply OFF / ON it is working again correctly with 1Hz wake up and stop mode. I am affraid, if cpu will be reset from some reason, application will be "freezed".
I readed similar bugs about external wakeup, I tried more solutions, but it is still same.
What is needed for fix "RTC wakeup bug"? What I forgot to do? Thanks
Solved! Go to Solution.
2019-03-05 05:05 AM
I updated CubeMX and HAL library to latest version, now it works correctly also after reset.
2019-03-05 05:05 AM
I updated CubeMX and HAL library to latest version, now it works correctly also after reset.