Under
development
Preliminary Specifications REV.D
Specifications in this manual are tentative and subject to change.
Mitsubishi Microcomputers
M16C/80 group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Clock Generating Circuit
48
Table 1.8.2. Clock output setting (single chip mode)
PM07
CM01
CM00
PM14
P53/BCLK/ALE/CLKOUT
pin function
0/1
1
0
1
Ignored
PM15
P53 I/O port
fc output
f8 output
f32 output
BCLK output function
select bit
Clock output function select
bit
ALE pin select bit
0
1
0
1
Note :Must use P57 as input port.
(Note)
Table 1.8.3. Clock output setting (memory expansion/microprocessor mode)
0
1
0
1
0
1
0
BCLK output
"L" output (not P53)
fc output
f8 output
0
1
0
11
0
1
f32 output
ALE output
1
0
PM07
CM01
CM00
PM14
P53/BCLK/ALE/CLKOUT
pin function
Ignored
PM15
BCLK output function
select bit
Clock output function select
bit
ALE pin select bit
Stop Mode
Writing “1” to the all-clock stop control bit (bit 0 at address 000716) stops all oscillation and the microcom-
puter enters stop mode. In stop mode, the content of the internal RAM is retained provided that VCC re-
mains above 2V.
Because the oscillation of BCLK, f1 to f32, f1SIO2 to f32SIO2, fc, fc32, and fAD stops in stop mode, peripheral
functions such as the A-D converter and watchdog timer do not function. However, timer A and timer B
operate 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.8.4 shows the status of the ports in stop mode.
Stop mode is cancelled by a hardware reset or interrupt.
When using an interrupt to exit stop mode, the relevant interrupt must have been enabled and set to a
priority level above the level set by the interrupt priority set bits (bits 2, 1, and 0 at address 009F16) for
exiting a stop/wait state. Set the interrupt priority set bits for the exit from a stop/wait state to the same level
as the flag register (FLG) processor interrupt level (IPL). Figure 1.8.6 shows the exit priority register.
When exiting stop mode using an interrupt, the relevant interrupt routine is executed.
Although stop mode is cancelled by hardware reset only, the interrupt enable flag (I flag) must be set to "1".
When shifting to stop mode and reset, the main clock division register (000C16) is set to “0816”.