M16C/62P Group (M16C/62P, M16C/62PT)
10. Clock Generation Circuit
Rev.2.41
Jan 10, 2006
Page 89 of 390
REJ09B0185-0241
The following describes the clocks generated by the clock generation circuit.
10.1.1
Main Clock
This clock is used as the clock source for the CPU and peripheral function clocks. This clock is used as the
clock source for the CPU and peripheral function clocks. The main clock oscillator circuit is configured by
connecting a resonator between the XIN and XOUT pins. The main clock oscillator circuit contains a feedback
resistor, which is disconnected from the oscillator circuit during stop mode in order to reduce the amount of
power consumed in the chip. The main clock oscillator circuit may also be configured by feeding an externally
generated clock to the XIN pin. Figure 10.7 shows the Examples of Main Clock Connection Circuit.
After reset, the main clock divided by 8 is selected for the CPU clock.
The power consumption in the chip can be reduced by setting the CM05 bit in the CM0 register to “1” (main
clock oscillator circuit turned off) after switching the clock source for the CPU clock to a sub clock or on-chip
oscillator clock. In this case, XOUT goes “H”. Furthermore, because the internal feedback resistor remains on,
XIN is pulled “H” to XOUT via the feedback resistor. Note that if an externally generated clock is fed into the
XIN pin, the main clock cannot be turned off by setting the CM05 bit to “1,” unless the sub clock is chosen as a
CPU clock. If necessary, use an external circuit to turn off the clock.
During stop mode, all clocks including the main clock are turned off. Refer to
10.4 Power Control
.
Figure 10.7
Examples of Main Clock Connection Circuit
External clock
Open
VCC1
VSS
Microcomputer
(Built-in Feedback Resistor)
XIN
XOUT
Rd
(1)
CIN
COUT
NOTES :
1. Place a damping resistor if required. The resistance will vary depending on the oscillator and the oscillation drive
capacity setting. Use the value recommended by each oscillator the oscillator manufacturer.
When the oscillation drive capacity is set to low, check that oscillation is stable. Also, place a feedback resistor
between XIN and XOUT if the oscillator manufacturer recommends placing the resistor externally.
VSS
Oscillator
Microcomputer
(Built-in Feedback Resistor)
XIN
XOUT
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655