Stop1 Mode Transition Flow - Toshiba TXZ+ Series Reference Manual

Hide thumbs Also See for TXZ+ Series:
Table of Contents

Advertisement

1.3.2.2. STOP1 mode transition flow

Set up the following procedure at switching to STOP1.
Because STOP1 mode is released by an interrupt, set the interrupt before switching to STOP1 mode. For the
interrupts that can be used to release the STOP1 mode, refer to "1.3.3.1. The release source of a Low Power
Consumption mode". Disables unused interrupts and unavailable interrupts for release STOP1.
1
[SIWDxEN]<WDTE> = 0
2
[SIWDxCR]<WDCR[7:0]> = 0xB1
[FCSR0]<RDYBSY> is read
3
4
[CGWUPHCR]<WUEF> is read
[CGWUPHCR]<WUCLK> = 0
5
[CGWUPHCR]<WUPT[15:4]> = 0x3C
[CGSTBYCR]<STBY[1:0]> = 01
6
7
[CGPLL0SEL]<PLL0SEL> = 0
[CGPLL0SEL]<PLL0ST> is read
8
9
[CGPLL0SEL]<PLL0ON> = 0
[CGOSCCR]<IHOSC1EN> = 1
10
11
[CGWUPHCR]<WUON> = 1
12
[CGWUPHCR]<WUEF> is read.
13
[CGOSCCR]<OSCSEL> = 0
[CGOSCCR]<OSCF> is read.
14
15
[CGOSCCR]<EOSCEN[1:0]> = 00
[CGOSCCR]<IHOSC2EN> = 0
16
17
[CGOSCCR]<EOSCEN[1:0]> is read
18
[CGOSCCR]<IHOSC2F> is read
WFI command execution
19
Note: When using the A mode of SIWDT, step 1, 2, 16 and 18 are not required.
Switching procedure (from NORMAL mode)
Disable SIWDT.
Disable SIWDT.
Wait until Flash becomes the Ready state (= 1).
Wait until the high speed oscillation warming up ends (= 0).
Set the warming-up clock selection to internal high speed oscillator
1 (IHOSC1).
Set the high speed oscillation warming-up timer setting value of
163.4 μs (= 0x3C) or more.
Low Power Consumption mode selection is set to STOP1.
Select the PLL for fsys to "PLL is unused (f
Wait until the status of the PLL for fsys becomes "PLL is unused
(f
) (= 0)".
OSC
Stop PLL for fsys
Enable the internal high speed oscillator.
Start the high speed oscillation warming-up timer
Wait until an warming-up timer status flag becomes ends (= 1).
Set the high speed oscillation selection for f
speed oscillator1 (IHOSC1).
Wait until the high speed oscillation selection status for f
becomes internal high speed oscillator1 (IHOSC1). (= 0).
Set the selection of an external oscillator operation to unused.
The internal high speed oscillator 2 (IHOSC2) is stopped.
The register writing of above 15th row is checked (= 00).
Wait until the status of the internal high speed oscillator 2 becomes
off "0".
Switch to STOP1.
27 / 72
TMPM3H Group(1)
Clock Control and Operation Mode
)".
OSC
to internal high
OSC
TXZ+ Family
OSC
2022-05-10
Rev. 1.3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmpm3hCg-m3h-dCg-m3h1-d

Table of Contents