MITSUBISHI MICROCOMPUTERS
7477/7478 GROUP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
CLOCK GENERATING CIRCUIT
The 7477 group has one internal clock generating circuit and 7478
group has two internal clock generating circuits.
M37477M4-XXXSP/FP
Figure 27 shows a block diagram of the clock generating circuit.
Normally, the frequency applied to the clock input pin XIN divided
by two is used as the internal clock φ. Bit 7 of CPU mode register
can be used to switch the internal clock φ to 1/2 the frequency ap-
plied to the clock input pin XCIN in the 7478 group.
XIN
XOUT
R
d
Figure 23, 24 show a circuit example using a ceramic resonator
(or quartz crystal oscillator). Use the manufacturer’s recom-
mended values for constants such as capacitance which will differ
depending on each oscillator. When using an external clock sig-
nal, input from the XIN(XCIN) pin and leave the XOUT(XCOUT) pin
open. A circuit example is shown in Figure 25, 26.
C
IN
COUT
Fig. 23 Example of ceramic resonator circuit (7477 group)
The 7477/7478 group has two low power dissipation modes; stop
and wait. The microcomputer enters a stop mode when the STP
instruction is executed. The oscillator (both XIN clock and XCIN
clock) stops with the internal clock φ held at “H” level. In this case
timer 3 and timer 4 are forcibly connected and FF16 is automati-
cally set in timer 3 and 0716 in timer 4.
M37478M4-XXXSP/FP
X
OUT
X
COUT
X
IN
XCIN
Although oscillation is restarted when an external interrupt is ac-
cepted, the internal clock φ remains in the “H” state until timer 4
overflows. In other words, the internal clock φ is not supplied until
timer 4 overflows. This is because when a ceramic or similar other
oscillator is used, a finite time is required until stable oscillation is
obtained after restart.
R
d
Rd
C
OUT
CCOUT
C
IN
C
CIN
The microcomputer enters an wait mode when the WIT instruction
is executed. The internal clock φ stops at “H” level, but the oscilla-
tor does not stop. φ is re-supplied (wait mode release) when the
microcomputer receives an interrupt.
Fig. 24 Example of ceramic resonator circuit (7478 group)
Instructions can be executed immediately because the oscillator is
not stopped. The interrupt enable bit of the interrupt used to reset
the wait mode or the stop mode must be set to “1” before execut-
ing the WIT or the STP instruction.
M37477M4-XXXSP/FP
Low power dissipation operation is also achieved when the XIN
clock is stopped and the internal clock φ is generated from the
XCIN clock (30µA typ. at f(XCIN) = 32kHz). This operation is only
7478 group. XIN clock oscillation is stopped when the bit 6 of CPU
mode register is set and restarted when it is cleared. However, the
wait time until the oscillation stabilizes must be generated with a
program when restarting. Figure 29 shows the transition of states
for the system clock.
X
IN
XOUT
Open
V
V
CC
SS
External oscillation circuit
Fig. 25 External clock input circuit (7477 group)
M37478M4-XXXSP/FP
X
OUT
XCOUT
X
IN
XCIN
Open
Open
External oscillation External oscillation circuit
circuit
or external pulse
V
V
CC
SS
V
V
CC
SS
Fig. 26 External clock input circuit (7478 group)
30