Datasheet

Table Of Contents
Section 7 ROM
Rev. 2.00 Jul. 04, 2007 Page 147 of 692
REJ09B0309-0200
Table 7.7 Flash Memory Operating States
Flash Memory Operating State
LSI Operating State
PDWND = 0 (Initial Value) PDWND = 1
Active mode Normal operating mode Normal operating mode
Sleep mode Normal operating mode Normal operating mode
Subactive mode Power-down mode Normal operating mode
Subsleep mode Standby mode Standby mode
Module standby mode* Standby mode Standby mode
Standby mode Standby mode Standby mode
Note: * When the flash memory returns to its normal operating state, a wait time of not less than
100 µs is required.
7.9 Notes on Setting Module Standby Mode
When the flash memory is set to enter module standby mode, the system clock supply is stopped
to the module, the function is stopped, and the state is the same as that in standby mode. Also
program operation is stopped in the flash memory. Therefore operation program should be
transferred to the RAM and the program should run in the RAM. Then the flash memory should
be set to enter module standby mode.
When the RAM emulation is not in use, if an interrupt is generated in module standby mode, the
vector address cannot be fetched. As a result, the program may run away.
Before the flash memory is set to enter module standby mode, the corresponding bit in the
interrupt enable register should be cleared to 0 and the I bit in CCR should be set to 1. Then after
the flash memory enters module standby mode, NMI and address break interrupt requests should
not be generated. Figure 7.6 shows a module standby mode setting when the RAM emulation is
not used.