Rev.1.04
REJ03B0188-0104
Aug 23, 2007
Page 62 of 146
4559 Group
(1) On-chip oscillator operation
After system is released from reset, the MCU starts operation by
the clock output from the on-chip oscillator which is the internal
oscillator.
The clock frequency of the on-chip oscillator depends on the
supply voltage and the operation temperature range.
Be careful that variable frequencies when designing application
products.
(2) Main clock generating circuit (f(X
IN
))
When the MCU operates by the ceramic resonator or the RC
oscillator as the main clock (f(X
IN
)).
After system is released from reset, the ceramic oscillation is
valid for main clock.
The ceramic oscillation is invalid and the RC oscillation circuit is
valid with the CRCK instruction.
The CRCK instruction can be executed only once.
Execute the CRCK instruction in the initial setting routine
(executing it in address 0 in page 0 is recommended).
When the main clock (f(X
IN
)) is not used, connect X
IN
pin to V
SS
and leave X
OUT
pin open, and do not execute the CRCK
instruction (Figure 61).
(3) Ceramic resonator
When the ceramic resonator is used as the main clock (f(X
IN
)),
connect the ceramic resonator and the external circuit to pins X
IN
and X
OUT
at the shortest distance.
A feedback resistor is built in between pins X
IN
and X
OUT
(Figure 62). Do not execute the CRCK instruction in program.
(4) RC oscillation
When the RC oscillation is used as the main clock (f(X
IN
)),
connect the X
IN
pin to the external circuit of resistor R and the
capacitor C at the shortest distance and leave X
OUT
pin open.
Then, execute the CRCK instruction (Figure 63).
To select RC oscillation as the system clock, select the main
clock (f(X
IN
) as the system clock by bits 0 and 1 of the clock
control register MR.
The frequency is affected by a capacitor, a resistor and a
microcomputer. So, set the constants within the range of the
frequency limits.
Fig 60. Switch to ceramic resonance/RC oscillation
Fig 61. Handling of X
IN
and X
OUT
when operating on-
chip oscillator
Fig 62. Ceramic resonator external circuit
Fig 63. External RC oscillation circuit
Reset
CRCK
Ceramic resonator circuit valid
RC oscillation circuit invalid
Main clock (f(X
IN
))
Ceramic resonator circuit invalid
RC oscillation circuit valid
*
Do not use the CRCK instruction in program.
4559
X
IN
X
OUT
4559
X
IN
X
OUT
Rd
C
IN
C
OUT
Do not execute the CRCK instruction in program.
Note: Externally connect a damping resistor Rd
depending on the oscillation frequency.
(A feedback resistor is built-in.)
Use the resonator manufacturer’s recommended
value because constants such as capacitance
depend on the resonator.
*
4559
X
IN
X
OUT
R
C
*
Execute the CRCK
instruction in program.