You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to remove this while(true) to allow the device to continue after shutdown. It is possible that something else in my setup is causing the cpu not to shut down - like the stlink that is plugged in. But leaving it here for others that might encounter the same issue.
The text was updated successfully, but these errors were encountered:
Strange, because the shutdown should cause a reset after the sleep period. So it looks like your device does not handle the shutdown well.
It has nothing to do with the ST-link. Mine is always connected during my tests. The power consumption drops to about 4 mA during shutdown (probably caused by the USB chip on the board).
Note that during sleep, flashing with ST-link will cause some problems. Press and hold the reset button, start the upload and release the button as soon as the LED on the ST-link starts to flash.
Basicmac-STM32WLE5/src/main.cpp
Line 522 in c910841
I had to remove this while(true) to allow the device to continue after shutdown. It is possible that something else in my setup is causing the cpu not to shut down - like the stlink that is plugged in. But leaving it here for others that might encounter the same issue.
The text was updated successfully, but these errors were encountered: