![](http://datasheet.mmic.net.cn/140000/M37510E6-FS_datasheet_5008398/M37510E6-FS_31.png)
31
7510 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
CLOCK GENERATING CIRCUIT
The 7510 group has two built-in oscillation circuits. An oscillation
circuit can be formed by connecting a resonator between XIN and
XOUT (XCIN and XCOUT). Use the circuit constants in accordance
with the resonator manufacturer’s recommended values. No exter-
nal resistor is needed between XIN and XOUT since a feed-back
resistor exists on-chip. However, an external feed-back resistor is
needed between XCIN and XCOUT.
Immediately after power on, only the XIN oscillation circuit starts
oscillating, and XCIN and XCOUT pins function as I/O port. The pull-
up resistor of XCIN and XCOUT pins must be made invalid to use
the XCIN oscillating circuit.
Frequency Control
Middle-speed mode
The internal clock
φ is the frequency of XIN divided by 8.
After reset, this mode is selected.
High-speed mode
The internal clock
φ is half the frequency of XIN.
Low-speed mode
The internal clock
φ is half the frequency of XCIN.
Note: If you switch the mode between middle/high-speed and low-speed,
both of XIN and XCIN oscillation must be stabilized. The sufficient
time is required for the XCIN oscillation to stabilize, especially imme-
diately after power-on and at returning from stop mode. The mode
must be switched on condition that f(XIN) > 3f(XCIN).
Low-power consumption mode
In low-speed mode, a low-power consumption operation can be
entered by stopping the main clock XIN. To stop the main clock, set
bit 5 of the CPU mode register to “1”. When the main clock XIN is
restarted, the program must allow enough time for oscillation to
stabilize.
In low-power consumption mode, the XCIN-XCOUT drive perfor-
mance can be reduced, allowing lower power consumption (8
A
or less with XCIN = 32 kHz). To reduce the XCIN-XCOUT drive per-
formance, clear bit 3 of the CPU mode register to “0”. At reset or
when the STP instruction is executed, this bit is set to “1” and
strong drive is selected to help the oscillation to start.
Oscillation Control
Stop mode
If the STP instruction is executed, the internal clock
φ stops at an
“H” level. Timer 1 is set to “FF16” and timer 2 is set to “0116”.
Either XIN or XCIN divided by 16 is input to timer 1, and the output
of timer 1 is connected to timer 2. The bits of the timer 123 mode
register are cleared to “0” except for bit 4.
The timer 1 and timer 2 interrupt enable bits must be set to dis-
abled (“0”), so a program must set these bits before executing a
STP instruction. Oscillation restarts at reset or when an external
interrupt is received, but the internal clock
φ is not supplied to the
CPU until timer 2 underflows. This allows time for the clock circuit
oscillation to stabilize.
Wait mode
If the WIT instruction is executed, the internal clock
φ stops at an
“H” level. XIN and XCIN are the same state with that before the ex-
ecution of the WIT instruction. The internal clock restarts if a reset
occurs or when an interrupt is received. Since the oscillator does
not stop, normal operation can be started immediately after the
clock is restarted.
Fig. 29 Ceramic resonator circuit
Fig. 30 External clock input circuit
XCIN
XCOUT
CCIN
CCOUT
Rd
Rf
XIN
XOUT
CIN
COUT
XCIN
XCOUT
XIN
XOUT
Open
External oscillator
or pulse
External oscillator
2.5V
VSS
VCC
VSS