09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Table 20. Sleep-on-exit entry and exit<br />

5.3.4 Stop mode<br />

Sleep-on-exit Description<br />

Mode entry<br />

Mode exit<br />

Wakeup latency None<br />

The Stop mode is based on the Cortex-M4F deepsleep mode combined with peripheral<br />

clock gating. The voltage regulator can be configured either in normal or low-power mode. In<br />

Stop mode, all clocks in the 1.2 V domain are stopped, the PLLs, the HSI and the HSE RC<br />

oscillators are disabled. Internal SRAM and register contents are preserved.<br />

By setting the FPDS bit in the PWR_CR register, the Flash memory also enters power-down<br />

mode when the device enters Stop mode. When the Flash memory is in power-down mode,<br />

an additional startup delay is incurred when waking up from Stop mode (see Table 21: Stop<br />

operating modes).<br />

Table 21. Stop operating modes<br />

Entering Stop mode<br />

WFI (wait for interrupt) while:<br />

– SLEEPDEEP = 0 and<br />

– SLEEPONEXIT = 1<br />

Refer to the Cortex-M4F System Control register.<br />

Interrupt: refer to Table 43: Vector table for STM32F40x and STM32F41x<br />

and Table 44: Vector table for STM32F42x and STM32F43x<br />

Stop mode LPDS bit FPDS bit Wake-up latency<br />

STOP MR<br />

( Main regulator)<br />

STOP MR-FPD 0 1<br />

STOP LP 1 0<br />

STOP LP-FPD 1 1<br />

0 0 HSI RC startup time<br />

Refer to Table 22 for details on how to enter the Stop mode.<br />

HSI RC startup time +<br />

Flash wakeup time from Power Down<br />

mode<br />

HSI RC startup time +<br />

regulator wakeup time from LP mode<br />

HSI RC startup time +<br />

Flash wakeup time from Power Down<br />

mode +<br />

regulator wakeup time from LP mode<br />

To further reduce power consumption in Stop mode, the internal voltage regulator can be<br />

put in low power mode. This is configured by the LPDS bit of the PWR power control<br />

register (PWR_CR) for STM32F40x and STM32F41x and PWR power control register<br />

(PWR_CR) for STM32F42x and STM32F43x.<br />

If Flash memory programming is ongoing, the Stop mode entry is delayed until the memory<br />

access is finished.<br />

Doc ID 018909 Rev 3 100/1416

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

Saved successfully!

Ooh no, something went wrong!