Skip to main content
JMart.13
Associate III
November 7, 2021
Solved

About sleep mode (STM32F303)

  • November 7, 2021
  • 1 reply
  • 1332 views

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.

This topic has been closed for replies.
Best answer by KnarfB

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

1 reply

KnarfB
KnarfBBest answer
Super User
November 7, 2021

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

JMart.13
JMart.13Author
Associate III
November 7, 2021

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. :)