Question
Hard fault from waking up from low-power sleep
Posted on April 11, 2012 at 02:22
I seem to run into a lot of issues!
I'm trying to get my STM32L Discovery board to wake up from low-power sleep with the Flash turned off. I'm using the User button (tied to PA0) to wake it up as an external interrupt. But whenever I push the button when the part goes to sleep, it hard faults. If I don't do anything with Flash, the part goes to sleep and wakes up just fine. Is there a way I can turn off Flash and wake up the part without hard faulting?