09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>RM0090</strong> Power control (PWR)<br />

Table 18. Low-power mode summary<br />

Mode name Entry Wakeup<br />

Sleep<br />

(Sleep now or<br />

Sleep-on-exit)<br />

Stop<br />

Standby<br />

5.3.1 Slowing down system clocks<br />

In Run mode the speed of the system clocks (SYSCLK, HCLK, PCLK1, PCLK2) can be<br />

reduced by programming the prescaler registers. These prescalers can also be used to slow<br />

down peripherals before entering Sleep mode.<br />

For more details refer to Section 6.3.3: RCC clock configuration register (RCC_CFGR).<br />

5.3.2 Peripheral clock gating<br />

Effect on 1.2 V<br />

domain clocks<br />

WFI Any interrupt CPU CLK OFF<br />

no effect on other<br />

WFE Wakeup event clocks or analog<br />

clock sources<br />

PDDS and LPDS<br />

bits +<br />

SLEEPDEEP bit<br />

+ WFI or WFE<br />

PDDS bit +<br />

SLEEPDEEP bit<br />

+ WFI or WFE<br />

Any EXTI line (configured<br />

in the EXTI registers,<br />

internal and external lines)<br />

WKUP pin rising edge,<br />

RTC alarm (Alarm A or<br />

Alarm B), RTC Wakeup<br />

event, RTC tamper events,<br />

RTC time stamp event,<br />

external reset in NRST<br />

pin, IWDG reset<br />

All 1.2 V domain<br />

clocks OFF<br />

All 1.2 V domain<br />

clocks OFF<br />

Effect on<br />

V DD<br />

domain<br />

clocks<br />

Voltage regulator<br />

None ON<br />

HSI and<br />

HSE<br />

oscillators<br />

OFF<br />

HSI and<br />

HSE<br />

oscillators<br />

OFF<br />

ON or in low- power<br />

mode (depends on<br />

PWR power control<br />

register (PWR_CR)<br />

for STM32F40x and<br />

STM32F41x and<br />

PWR power control<br />

register (PWR_CR)<br />

for STM32F42x and<br />

STM32F43x)<br />

OFF<br />

In Run mode, the HCLKx and PCLKx for individual peripherals and memories can be<br />

stopped at any time to reduce power consumption.<br />

To further reduce power consumption in Sleep mode the peripheral clocks can be disabled<br />

prior to executing the WFI or WFE instructions.<br />

Peripheral clock gating is controlled by the AHB1 peripheral clock enable register<br />

(RCC_AHB1ENR), AHB2 peripheral clock enable register (RCC_AHB2ENR), AHB3<br />

peripheral clock enable register (RCC_AHB3ENR) (see RCC AHB1 peripheral clock enable<br />

register (RCC_AHB1ENR), RCC AHB2 peripheral clock enable register (RCC_AHB2ENR)),<br />

and RCC AHB3 peripheral clock enable register (RCC_AHB3ENR).<br />

Disabling the peripherals clocks in Sleep mode can be performed automatically by resetting<br />

the corresponding bit in RCC_AHBxLPENR and RCC_APBxLPENR registers.<br />

Doc ID 018909 Rev 3 98/1416

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!