Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 5 months ago.
sleep and deepsleep
Can you tell me what are the differences between the sleep mode and the deepsleep mode for the Nucleo-L053R8 board?
Question relating to:
1 Answer
8 years, 5 months ago.
I don't know specific for this board, but in general in sleep mode the ARM core disabled while everything else (such as PWM, serial, timers, etc) continue running.
In deepsleep mode in addition to the ARM core everything that requires a clock or that has static power dissipation (such as a DAC) is disabled, and only asynchronous logic (such as InterruptIn) and possibly a low-power clock (RTC) keeps running.
Depending on target and implementation, sleep mode generally doesn't do alot more than a factor 2 reduction in power consumption, while deepsleep is around a factor 1000 (between a few micro-Amps up till hunderds of micro-Amps, the L053 should be near the bottom of that range).
Again, this really should be documented: https://developer.mbed.org/questions/4480/sleep-and-deepsleep-documentation/?c=27901
posted by 03 Jul 2017