Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
36
/
631
Mode
Regulator
Enter
Exit
Wakeup state
2
)
PWR_CTRL1.LPMSEL =
“000/010”
user chooses to keep do
not need to be
reconfigured, USB, CAN
need to be reconfigured,
MSI = 4M
STANDBY
LPR
WFI/WFE
:
1
)
SCB_SCR.SLEEPDEEP = 1
2
)
PWR_CTRL1.LPMSEL =
“011”
3 WKUP IO rising/falling
edges, RTC alarm rising edge,
NRST reset, IWDG reset, RTC
timestamp, tamper detection
System reset
Note:
1.
STOP2 mode, after wake-up, the code can continue running from the stop position. The RCC configuration is
retained, and the SPI/UART2/UART3/UART4/UART5/I2C1/I2C2/WWDG configuration is retained.
2.
Please refer to the corresponding data sheet for the low power wake-up time.
The running enable conditions of different modules in different power consumption modes are shown in the following
table:
Table 3-2 Blocks running state
Main Blocks
Run
S
lee
p
Lo
w p
o
we
r
ru
n
Lo
w p
o
we
r
sle
ep
Stop2
Standby
-
Wa
k
eu
p
ca
p
a
b
ili
ty
-
Wa
k
eu
p
ca
p
a
b
ili
ty
CPU
Y
-
Y
-
-
-
-
-
MMU
O
O
O
O
-
-
-
-
DMA
O
O
O
O
-
-
-
-
FLASH
O
O
O
O
-
-
-
-
SRAM1
Y
Y
Y
Y
O
-
-
-
SRAM2
Y
Y
Y
Y
O
-
O
-
BOR
Y
Y
Y
Y
Y
Y
Y
Y
PVD
O
O
O
O
O
Y
O
-
HSE
O
O
-
-
-
-
-
-
HSI
O
O
-
-
-
-
-
-
LSE
O
O
O
O
O
-
O
-
LSI
O
O
O
O
O
-
O
-
MSI
O
O
Y
Y
O
-
-
-
CSS for HSE
O
O
O
O
-
-
-
-
CSS for LSE
O
O
O
O
O
O
O
O
PLL
O
O
-
-
-
-
-
-
RTC
O
O
O
O
O
Y
O
Y