1-26
Mitsubishi microcomputers
M30240 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Preliminary Specifications REV. E
Specifications in this manual are tentative and subject to change
Stop Mode
2.9 Stop Mode
Writing “1” to the all-clock stop control bit (bit 0 at address 0007
16
) stops all oscillation and the
microcomputer enters stop mode. In stop mode, the content of the internal RAM is retained provided
that VCC remains above 2V.
Because the oscillation of internal clock
Φ
, f1 to f32, and fAD stops in stop mode, peripheral functions
such as the A-D converter and watchdog timer do not function. However, timer A operates, provided that
the event counter mode is set to an external pulse, and UARTi (i = 0 to 2) functions provided an external
clock is selected. Table 1.5 shows the status of the ports in stop mode.
Stop mode is cancelled by a hardware reset or interrupt. If an interrupt is to be used to cancel stop mode,
that interrupt must first have been enabled. The I flag must also be set prior to stopping for an interrupt
to cancel it. After coming out of stop mode, it is recommended that five “NOP” instructions be executed
to clear the instruction queue.
When shifting to stop mode, the main clock division select bit 0 (bit 6 at 0006
16
) is set to “1”.
Table 1.5:
Port status during stop mode
2.10 Wait Mode
When a WAIT instruction is executed, the internal clock
Φ
stops and the microcomputer enters the wait
mode. In this mode, oscillation continues but the internal clock
Φ
and watchdog timer stop. Writing “1”
to the WAIT peripheral function clock stop bit and executing a WAIT instruction stops the clock being
supplied to the internal peripheral functions, allowing power dissipation to be reduced. Table 1.6 shows
the status of the ports in wait mode.
Wait mode is cancelled by a hardware reset or interrupt. If an interrupt is used to cancel wait mode, the
microcomputer restarts using as internal clock
Φ
the clock that had been selected when the WAIT
instruction was executed
Table 1.6:
Port status during wait mode
2.11 Status Transition Of the Internal Clock
Φ
Power dissipation can be reduced and low-voltage operation achieved by changing the count source for
internal clock
Φ
. Table 1.7 shows the operating modes corresponding to the settings of system clock
control registers 0 and 1.
After a reset, operation defaults to division by 8 mode. When shifting to stop mode, the main clock
division select bit 0 (bit 6 at address 0006
16
) is set to “1”. The following shows the operational modes of
internal clock
2.11.1 Division by 2 mode
The main clock is divided by 2 to obtain the internal clock
Φ
.
Pin
Single-chip mode
Port
Retains status before stop mode
CLKOUT
Retains status before stop mode
Pin
Single-chip mode
Port
Retains status before stop mode
CLKout
Does not stop when the WAIT peripheral function clock stop bit is “0”
When the WAIT peripheral function clock stop bit is “1”, the status immediately
prior to entering wait mode is maintained.