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

32-bit risc microcontroller, clock control and operation mode
Table of Contents

Advertisement

1.3.2. Mode state transition

STOP1 mode
(CPU stops except
some peripheral
functions)
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.

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
[CGSTBYCR]<STBY[1:0]> is read.
5
6
WFI command execution
Reset
(Note 2)
Interrupt
NORMAL
mode
Instruction
(Note 1)
Instruction
IDLE mode
(CPU stops)
(Operating peripheral
function can be selected.)

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.
Confirm "00" is written to the register at the step 4.
Switch to IDLE.
25 / 64
Clock Control and Operation Mode
After reset,the internal high-
After reset, the internal high
speed oscillator (IHOSC)
speed oscillator 1 (IHOSC1)
oscillates.
oscillates.
Interrupt
TXZ+ Family
TMPM4M Group(1)
2022-06-24
Rev. 1.1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cg-m4m(1)-e

Table of Contents