AnsweredAssumed Answered

STM32L476 Shutdown issue

Question asked by carr.anthony on Oct 4, 2017
Latest reply on May 2, 2018 by Rudy Barbieri


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?