GD32W51x User Manual
137
LDLP, LDOLP bits in the PMU_CTL0 register. The low-driver mode provides lower drive
capability, and the low-power mode take lower power.
Normal-driver & Normal-power: The Deep-sleep mode is not in low-driver mode by configure
LDEN to 00 in the PMU_CTL0 register, and not in low-power mode depending on the LDOLP
bit reset in the PMU_CTL0 register.
Normal-driver & Low-power: The Deep-sleep mode is not in low-driver mode by configure
LDEN to 00 in the PMU_CTL0 register. The low-power mode enters depending on the LDOLP
bit set in the PMU_CTL0 register.
Low-driver & Normal-power: The low-driver mode in Deep-sleep mode when the LDO in
normal-power mode depending on the LDOLP bit reset in the PMU_CTL0 register enters by
configure LDEN to 0b11 and LDNP to 1 in the PMU_CTL0 register.
Low-driver & Low-power: The low-driver mode in Deep-sleep mode when the LDO in low-
power mode depending on the LDOLP bit set in the PMU_CTL0 register enters by configure
LDEN to 0b11 and LDLP to 1 in the PMU_CTL0 register.
No Low-driver: The Deep-sleep mode is not in low-driver mode by configure LDEN to 00 in
the PMU_CTL0 register.
Note:
In order to enter Deep-sleep mode smoothly, all EXTI line pending status (in the
EXTI_PD register) and RTC Alarm / timestamp / tamper / auto wakeup flag must be reset. If
not, the program will skip the entry process of Deep-sleep mode to continue to execute the
following procedure.
The Standby mode is based on the SLEEPDEEP mode of the Cortex
®
-M33, too. In Standby
mode, the whole 1.2V domain is power off, the LDO is shut down, and all of IRC16M, HXTAL
and PLLs are disabled. Before entering the Standby mode, it is necessary to set the
SLEEPDEEP bit in the Cortex
®
-M33 System Control Register, and set the STBMOD bit in the
PMU_CTL0 register, and clear WUF bit in the PMU_CS0 register. Then, the device enters the
Standby mode after a WFI or WFE instruction is executed, and the STBF status flag in the
PMU_CS0 register indicates that the MCU has been in Standby mode. There are four wakeup
sources for the Standby mode, including the external reset from NRST pin, the RTC alarm /
time stamp / tamper / auto wakeup events, the FWDGT reset, and the rising edge on WKUP
pins. The Standby mode achieves the lowest power consumption, but spends longest time to
wake up. Besides, the contents of SRAM0 / SRAM1 / SRAM2 / SRAM3 and registers in 1.2V
power domain are lost in Standby mode. When exiting from the Standby mode, a power-on
reset occurs and the Cortex
®
-M33 will execute instruction code from the 0x00000000 address.
If at least one of SRAM1 / SRAM2 / SRAM3 is powered off, the SRAM enters SRAM_sleep
mode. When the
SRAMxPSLEEP (x = 1/2/3) bit in PMU_CTL1 register is set, the SRAMx (x
= 1/2/3) will be powered off, the contents of SRAMx (x = 1/2/3) will lost. When the