Wiznet makers

ruilixin6

Published July 28, 2026 ©

21 UCC

0 VAR

0 Contests

0 Followers

0 Following

Analysis of 20 MCU Low-Power Modes: Clock Gating, Power Gating, and Deep Sleep

This article introduces RP2040 low-power strategies to cut dynamic and static power, including clock gating, clock switching and DORMANT deep sleep mode.

COMPONENTS
PROJECT DESCRIPTION

Low Power Mode Adjustment

Here, let us first clarify two basic concepts:
Dynamic power: the power consumption of a chip when it is in operation (e. g., running programs or transmitting data);
Static power: The power consumption of a chip when it is not performing tasks but not completely powered off (e. g., in standby mode).
The low-power regulation of the RP2040 reduces these two types of power consumption by "putting unused components into an idle state / powering them off".
RP2040 provides a range of options for reducing dynamic power consumption:

Including:
Equip a "clock switch" for a single peripheral / functional block: Every device in the chip (such as ADC, UART) operates relying on a "clock signal"(equivalent to a "heartbeat"). This function is to install an individual "switch" for each device: when a certain device is not in use, turn off its "heartbeat", and the device will consume no power; turn on the switch again when it is needed.
Automatic clock gating based on processor sleep state: For example, when the processor "goes to sleep (enters sleep state)", the system will automatically turn off the "heartbeat" signals of all unused devices, eliminating the need for you to manually disable them one by one, which is both convenient and power-efficient.
Switch the "speed/source" of the system clock at any time: The "operating rhythm (clock frequency)" of the chip can be adjusted at any time: for example, use a "fast rhythm"(high frequency) to work normally, and switch to a "slow rhythm"(low frequency) when power saving is needed; you can even switch to a more power-saving "clock source"(for example, switch from an external crystal oscillator to the internal oscillator of the chip, which is equivalent to using a "built-in battery" instead of an "external power supply"), and turn off unused clock components at the same time to further save power.
Deep Sleep (DORMANT): It features near-zero dynamic power consumption while remaining wakeable. This is a "deep standby" state where dynamic power consumption is practically zero — analogous to a phone being powered off yet still able to be woken by an alarm. The chip will idle to the point of performing almost no operations, yet it can be instantly awakened to resume work as soon as an external signal is detected on a GPIO pin (such as a button press) or the real-time clock reaches a preset trigger time.
All digital logic on the RP2040 resides in a single-core power domain, and the following options are available for reducing static power consumption:
Including:
Memory hibernation with data retention: Set the memory (the space for storing programs and data) to "hibernation mode", in which the memory stops operating but retains all previously stored content — similar to how background content remains intact on a locked phone without requiring reloading, this mechanism delivers both power savings and rapid resumption of operation.
Power off the supported peripherals: For devices such as ADCs and temperature sensors, we not only turn off their "heartbeat (clock)" but also directly cut off their power supply (equivalent to unplugging the device), which saves more power than only turning off the clock. However, after these devices are powered off, their previous settings will be lost, so they need to be powered on and reconfigured again when in use.
Documents
Comments Write