Mode State Transition; Idle Mode Transition Flow; Figure 1.2 Mode State Transition - Toshiba TXZ+ TMPM4KLFYAUG Reference Manual

32-bit risc microcontroller
Table of Contents

Advertisement

1.3.2. Mode State Transition

STOP1 Mode
(CPU stops except some
Note1: Warming-up is required at returning. A warming-up time must be set in the previous mode (NORMAL
mode) before entering to STOP1 mode.
Note2: When the MCU returns from STOP1 mode, the MCU branches to the interrupt service routine triggered
by interrupt events.

1.3.2.1. IDLE mode transition flow

Set up the following procedure at switching to IDLE mode.
Because IDLE mode is released by an interrupt, set the interrupt before switching to IDLE mode. For the
interrupts that can be used to release the IDLE mode, refer to "1.3.3.1. The release source of a Low Power
Consumption mode". Disable interrupts not used for release and interrupts that cannot be used.
1
[SIWDxEN]<WDTE>=0
2
[SIWDxCR]<WDCR[7:0]>=0xB1
3
[FCSR0]<RDYBSY> is read.
4
[CGSTBYCR]<STBY[1:0]>=00
5
[CGSTBYCR]<STBY[1:0]> is read.
6
WFI command execution
Note: When using the protected A mode of SIWDT, 1 and 2 step are not required.
Interrupt
peripheral functions)
Instruction

Figure 1.2 Mode State Transition

Transition flow (from Normal mode)
Disable SIWDT.
Disable SIWDT.
It waits until Flash will be in a Ready state (= 1).
Low Power Consumption mode selection is set to IDLE.
Check the 4th line register writing (= 00).
Switch to IDLE.
Clock Control and Operation Mode
Reset
After reset, the high-speed
oscillator1 (IHOSC1)
oscillates.
(Note2)
NORMAL
Mode
(Note1)
Instruction
IDLE Mode
(CPU stops)
(Operating peripheral
function can be selected)
25 / 68
TXZ+ Family
TMPM4K Group(2)
Interrupt
2023-12-25
Rev. 3.0

Advertisement

Table of Contents
loading

Table of Contents