Toshiba TX03 Series Manual page 96

32 bit risc microcontroller
Table of Contents

Advertisement

6.
Clock/Mode control
6.6
Low Power Consumption Modes
6.6.9
Precaution on Transition to the Low-power Consumption Mode
6.6.9.1
(1)
(2)
(3)
(4)
2019-02-06
Case when the MCU Enters IDLE, SLEEP or STOP Mode
When the WFI instruction is executed to enter IDLE mode, SLEEP mode or
STOP mode, if an interrupt request for release from the low-power consumption
mode occurs, the MCU does not enter IDLE mode, SLEEP mode or STOP mode.
This is because the interrupt request has a higher priority than the WFI instruction.
Therefore, the following process must be added depending on enabling or disa-
bling the interrupt:
a. Case when the interrupts are disabled (masked only by PRIMASK)
Write eight or more NOP instructions immediately after the WFI instruction, and then
write the instruction to be executed.
b. Case when the interrupts are enabled
Write the interrupt process routine because the MCU branches to the interrupt service rou-
tine.
Before the MCU entering SLEEP mode or STOP mode, select the clock with
CGOSCCR<WUPSEL1><WUPSEL2>, which is the same as the clock selected
with CGOSCCR<OSCSEL>, to use the same source clock for both the warm-up-
counter and fosc.
A non-maskable interrupt can be used to release only in IDLE mode.
Do not use non-maskable interrupts as a release factor of SLEEP mode or STOP
mode. Before the MCU entering SLEEP mode or STOP mode, inhibit non-maska-
ble interrupts, specify as follows: Stop the watchdog timer, Stop the voltage detec-
tion.
Page 74
TMPM3V6/M3V4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmpm3v6Tmpm3v4

Table of Contents