Getting started with PWR

Revision as of 15:20, 1 July 2020 by Registered User

This article explain what is sleep/stop and standby low power mode and provide code examples !

1. Low power mode

By default, the microcontroller is in Run mode after a system or a power-on reset. Several low-power modes are available to save power when the CPU does not need to be kept running, for example when waiting for an external event. It is up to the user to select the mode that gives the best compromise between low-power consumption, short startup time and available wakeup sources. The main three low-power modes:

  • Sleep mode (Cortex core stopped, peripherals kept running)
  • Stop mode (all clocks are stopped)
  • Standby mode (only backup domain is powered)

2. SLEEP Mode

File:sleep mode.png

2.1. Definition

2.1.1. Use SLEEP mode with EXTI​

2.1.1.1. Objective
2.1.1.2. Goal

3. STOP Mode

File:stop mode.png

3.1. Definition

3.1.1. Use STOP mode with EXTI​

3.1.1.1. Objective
3.1.1.2. Goal

4. STANBY Mode

4.1. Definition

4.1.1. Use STANBY mode

4.1.1.1. Objective
4.1.1.2. Goal