EasyManuals Logo

ST STM32G0 1 Series User Manual

ST STM32G0 1 Series
1390 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #136 background imageLoading...
Page #136 background image
Power control (PWR) RM0444
136/1390 RM0444 Rev 5
Entering Stop 0 mode
The MCU enters Stop 0 mode according to section Entering low-power modes, when the
SLEEPDEEP bit in the Cortex
®
-M0+ System Control register is set.
Refer to Table 30: Stop 0 mode summary for details on how to enter Stop 0 mode.
If Flash memory programming is ongoing, the Stop 0 mode entry is delayed until the
memory access is finished.
If an access to the APB domain is ongoing, The Stop 0 mode entry is delayed until the APB
access is finished.
In Stop 0 mode, the following features can be selected by programming individual control
bits:
Independent watchdog (IWDG): the IWDG is started by writing to its Key register or by
hardware option. Once started, it cannot be stopped except upon a reset. See
Section 28.3: IWDG functional description.
real-time clock (RTC): this is configured by the RTCEN bit in the RTC domain control
register (RCC_BDCR).
Internal RC oscillator (LSI): this is configured by the LSION bit in the Control/status
register (RCC_CSR).
External 32.768 kHz oscillator (LSE): this is configured by the LSEON bit in the RTC
domain control register (RCC_BDCR).
Several peripherals can be used in Stop 0 mode and can add consumption if they are
enabled and clocked by LSI or LSE, or when they request the HSI16 clock: LPTIM1,
LPTIM2, USART1, USART2, LPUART, and I2C1.
The DAC, the comparators, and the PVD can be used in Stop 0 mode.
The ADC, the VREFBUF buffer, and the temperature sensor can consume power during the
Stop 0 mode, unless they are disabled before entering this mode.
Exiting Stop 0 mode
The MCU exits Stop 0 mode according to section Entering low-power modes.
Refer to Table 30: Stop 0 mode summary for details on how to exit Stop 0 mode.
When exiting Stop 0 mode by issuing an interrupt or a wakeup event, the HSISYS oscillator
is selected as system clock. If the device is configured to wake up in Low-power run mode,
the HSIDIV bits in RCC_CR register must be configured prior to entering Stop 0 mode to
provide a frequency not greater than 2 MHz.
When exiting Stop 0 mode, the MCU is either in Run mode (Range 1 or Range 2 depending
on VOS bit in PWR_CR1) or in Low-power run mode if the bit LPR is set in the Power
control register 1 (PWR_CR1).

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32G0 1 Series and is the answer not in the manual?

ST STM32G0 1 Series Specifications

General IconGeneral
BrandST
ModelSTM32G0 1 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals