cancel
Showing results for 
Search instead for 
Did you mean: 

About sleep mode (STM32F303)

JMart.13
Senior

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.

1 ACCEPTED SOLUTION

Accepted Solutions
KnarfB
Principal III

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

View solution in original post

2 REPLIES 2
KnarfB
Principal III

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

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. 🙂