2021-11-07 01:34 PM
I once read that when waking up a microcontroller from any low power mode, it will start as we have pressed the reset button, but, the reference manual says this: "After waking up from Standby mode, program execution restarts in the same way as after a
Reset (boot pins sampling, vector reset is fetched, etc.)."
There is no other reference of the low power mode that says that when it wakes up, it will start as a reset. If no, at which point does the microcontroller start when it wakes up from the low power mode "sleep mode" and then wakes up?
Thanks for your answer.
Solved! Go to Solution.
2021-11-07 01:49 PM
Sleep mode just stops the CPU clock. On wakeup the CPU will continue with the next instruction which may be an interrupt handler or such.
hth
KnarfB
2021-11-07 01:49 PM
Sleep mode just stops the CPU clock. On wakeup the CPU will continue with the next instruction which may be an interrupt handler or such.
hth
KnarfB
2021-11-07 02:03 PM
oh ok ok, tanks you, I was kind of confused due to the other article I read that says something like "It will reset after any wake up"
Thank you. :)