Cpu Clock; Oscillator Stop/Restart Detect Function - Renesas M16C/64A Series User Manual

Table of Contents

Advertisement

M16C/64A Group
8.9.2.3
Signal Line Whose Level Changes at a High-Speed
For a signal line whose level changes at a high-speed, wire it as far away from the crystal/ceramic
resonator and its wiring pattern as possible. Do not wire it across or extend it parallel to a clock-
related signal line or other signal lines which are sensitive to noise.
Reason:
A signal whose level changes at a high-speed (such as the signal from the TAiOUT pin) affects other
signal lines due to the level change at rising or falling edges. Specifically, when the signal line
crosses the clock-related signal line, the clock waveform becomes unstable, which causes an error in
operation or a program runaway.
Figure 8.10
Wiring of Signal Line Whose Level Changes at High-Speed
8.9.3

CPU Clock

(Technical update number: TN-M16C-109-0309)
When an external clock is input from the XIN pin and the main clock is used as the CPU clock, do not
stop the external clock.
8.9.4

Oscillator Stop/Restart Detect Function

In the following cases, set the CM20 bit to 0 (oscillator stop/restart detect function disabled), and
then change the setting of each bit.
- When the CM05 bit is set to 1 (main clock stopped)
- When the CM10 bit is set to 1 (stop mode)
To enter wait mode while using the oscillator stop/restart detect function, set the CM02 bit to 0
(peripheral function clock f1 not turned off during wait mode).
This function cannot be used if the main clock frequency is 2 MHz or lower. In that case, set the
CM20 bit to 0 (oscillator stop/restart detect function disabled).
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
TAiOUT
Do not cross
XIN
VSS
XOUT
Bad
8. Clock Generator
Page 107 of 800

Advertisement

Table of Contents
loading

Table of Contents