SN32F100 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 64
Version 1.9
Note: Wakeup from Sleep mode spends NO wakeup time if
the clock doesn’t stop.
When the system is in Deep-sleep mode, the high clock will stop. When MCU is waken up from Deep-sleep mode,
MCU waits for 2048 external high-speed oscillator clocks and 32 IHRC clocks as the wakeup time to stable the
oscillator circuit. After the wakeup time, the system goes into the normal mode.
The value of the external high clock oscillator wakeup time is as the following.
The total Wakeup time of EHS X
’tal = 1/F
EHS
* 2048 (sec) + high clock start-up time
Example: F
EHS
=20MHz, the wakeup time is as the following.
The total Wakeup time = 1/F
EHS
* 2048 + oscillator start-up time
= 102.4 us + oscillator start-up time
(F
EHS
= 20MHz)
The value of the IHRC wakeup time is as the following.
The total Wakeup time of IHRC = 1/F
IHRC
* 32 (sec)
Example: F
IHRC
=12MHz, the wakeup time is as the following.
The total Wakeup time = 1/F
IHRC
* 32 = 2.67 us (F
IHRC
= 12MHz)
Note: The high clock start-up time is depended on the VDD and oscillator type of high clock.
4.6 STATE MACHINE OF PMU
Deep power-down
mode
Reset
Run
mode
Deep-sleep
mode
Sleep
mode
Wake-up condition
Interrupt
Wake-up condition
GPIO Wakeup
RTC interrupt
Wake-up condition
Pulling the DPDWAKEUP pin
LOW
Reset condition
One of reset trigger sources
actives
Reset condition
One of reset trigger sources
actives
Enter mode condition
1. SLEEPEN = 1
2. WFI instruction
Enter mode condition
1. Pull High WAKEUP pin
2. DPDEN = 1
3. WFI instruction
Enter mode condition
1. DSLEEPEN = 1
2. WFI instruction