Page 1 of 1
STM32F469 Disco How to use wakeup button
Posted: Tue May 16, 2017 11:07 am
by stefan.erni
I have a STM32F469 Board
On this Board is a wakeup button. How can I use this function and button? How let I sleep a STM32FXX?
Re: STM32F469 Disco How to use wakeup button
Posted: Wed May 17, 2017 11:07 am
by Benj
Hello,
You can try this C to enter sleep mode.
Code: Select all
/* Request to enter SLEEP mode */
__WFI();
Apparently any enabled interrupt can be used to wake from sleep.
Re: STM32F469 Disco How to use wakeup button
Posted: Wed May 17, 2017 11:34 am
by stefan.erni
My Board dont like to sleep....
I used the command and no error but no sleep from the board
Re: STM32F469 Disco How to use wakeup button
Posted: Wed May 17, 2017 11:55 am
by Benj
Hello,
I took the line of code from this page. There is a lot more code there but nothing that is jumping out at me.
https://community.st.com/thread/34217-w ... sleep-mode
Leigh or Sean may be able to offer more solutions.
Re: STM32F469 Disco How to use wakeup button
Posted: Thu Sep 14, 2017 2:41 pm
by stefan.erni
Hi Ben
With the help of LeighM I have done nice webinterface. But now I have to make a few powersave functions.
with the microchip cpu that was easy.....
I need to bring this board to sleep. And I would also like to change the clock during the run.
Also the touchscreen must save energy, but this starts to flicker when I play with the system clock. Is there a command to turn off the background lighting?