Question
STM32L476 Shutdown issue
Posted on October 04, 2017 at 10:59
Hi,
I am working on a battery powered unit that I want to shutdown when I press the off button and wake-up when I press the on button. Having never done this before I have been following the Cube example code for the Nucleo board. The shutdown appears to work but it automatically starts up again. If I remove the HAL_PWR_EnableWakeUpPin() line in my shutdown routine then it remains in the shutdown state but of course I am unable to wake it up. Can anyone provide an explanation as to why the unit is automatically waking-up?
