Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
stm32:peripherals:pwr [2016/06/07 07:14] – feur | stm32:peripherals:pwr [2022/12/27 18:58] (current) – [PWR→CR] ruan | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | :!: Incomplete | ||
====== Power Controller ====== | ====== Power Controller ====== | ||
Line 16: | Line 15: | ||
\\ | \\ | ||
- | ===== Programming Example | + | ===== Low Power Modes ===== |
+ | |||
+ | The following low power modes are vailable: | ||
+ | * The [[pwr_sleep|SLEEP]] mode offers some power reduction and fast wake up times. | ||
+ | * The [[pwr_stop|STOP]] mode offers more power reduction, at the cost of a slower wake up times. | ||
+ | * The [[pwr_standby|STANDBY]] (and VBAT) mode saves the most energy, at the cost of an even slower wake up time. | ||
+ | |||
+ | The power reduction is accomplished by switching off different parts of the hardware. \\ | ||
+ | Which part is available in which mode is shown in the tables below. \\ | ||
\\ | \\ | ||
- | > {{logo_hal.svg? | + | === Clocks === |
- | > [[https://ennis.zhaw.ch/ | + | |
- | > [[https://ennis.zhaw.ch/ | + | |< 45em 15em 10em >| |
+ | | ^ SLEEP ^ STOP ^ STANDBY | ||
+ | ^ CPU clock | disabled | ||
+ | ^ Peripheral clocks | on / off | on / off | disabled | ||
+ | ^ RTC clock | on / off | on / off | on / off | ||
\\ | \\ | ||
- | ===== Configuration Registers ===== | + | === Clock Sources |
- | ==== CR ==== | + | |< 45em 15em 10em >| |
+ | | ^ SLEEP ^ STOP ^ STANDBY | ||
+ | ^ Low Speed (Int. / Ext.) | on / off | on / off | on / off | | ||
+ | ^ High Speed (Int. / Ext.) | on / off | disabled | ||
+ | ^ PLL Oscillator | on / off | disabled | ||
+ | \\ | ||
+ | |||
+ | === Voltage Regulators === | ||
+ | |||
+ | |< 45em 15em 10em >| | ||
+ | | ^ SLEEP ^ STOP ^ STANDBY | ||
+ | ^ Flash Power Down | disabled | ||
+ | ^ 1,2V Domain (Normal) | Main | Main \\ or \\ Low Power | disabled | ||
+ | ^ 1,2V Domain (Underdrive)* | disabled | ||
+ | ^ Backup Domain | on / off | on / off | on / off | | ||
+ | * Underdrive mode of 1,2V domain voltage regulator only possible if Flash power down enabled. \\ | ||
+ | \\ | ||
+ | |||
+ | === SRAM / Registers === | ||
+ | |||
+ | |< 45em 15em 10em >| | ||
+ | | ^ SLEEP ^ STOP ^ STANDBY | ||
+ | ^ Regular SRAM | on | on | disabled | ||
+ | ^ Regular Registers | on | on | disabled | ||
+ | ^ Backup SRAM | on / off | on / off | on / off | | ||
+ | ^ Backup Registers | on / off | on / off | on / off | | ||
+ | \\ | ||
+ | |||
+ | |||
+ | |||
+ | ===== Configuration Registers | ||
- | Configuration register | + | ==== PWR→CR - Configuration register |
\\ {{power_reg_cr.svg}} \\ \\ | \\ {{power_reg_cr.svg}} \\ \\ |