I used sd_system_power_off to enter to system off mode, now I want to wake up my system and reset it when a button is pressed, how should I do that
Thank you
I used sd_system_power_off to enter to system off mode, now I want to wake up my system and reset it when a button is pressed, how should I do that
Thank you
According to section 12 of the reference manual:
"The system can be woken up from System OFF mode either from the DETECT signal (when active) generated by the GPIO peripheral, by the ANADETECT signal (when active) generated by the LPCOMP module, or from a reset. When the system wakes up from OFF mode, a system reset is performed."
So a button press is definitely a way you can wake up from system off mode. There are a couple of good questions with answers linked below to get you pointed at some examples: