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:

ST
A world leader in providing the semiconductor solutions that make a positive contribution to people’s lives, both today and in the future.

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

Accepted Answer

Again, this really should be documented: https://developer.mbed.org/questions/4480/sleep-and-deepsleep-documentation/?c=27901

posted by Andrew Neil 03 Jul 2017