
Rev.1.02
REJ03B0179-0102
May 25, 2007
Page 50 of 124
4571 Group
(1) 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 51).
(2) External clock
When the external signal clock is used for the main clock
(f(X
IN
)), connect the X
IN
pin to the clock source and leave X
OUT
pin open (Figure 52).
Be careful that the maximum value of the oscillation frequency
when using the external clock differs from the value when using
the ceramic resonator (refer to the recommended operating
condition).
Also, note that the RAM back-up mode (POF instruction) cannot
be used when using the external clock.
(3) Clock control register MR
Register MR controls the selection of operation mode. Set the
contents of this register through register A with the TMRA
instruction. In addition, the TAMR instruction can be used to
transfer the contents of register MR to register A.
Fig 51. Ceramic resonator external circuit
Fig 52. External clock input circuit
Note 1.“R” represents read enabled, and “W” represents write enabled.
X
IN
X
OUT
C
IN
C
OUT
Rd
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
.
4571
X
IN
X
OUT
4571
External oscillation circuit
V
DD
V
SS
Table 23 Return source and return condition
Clock control register MR
at reset : 1111
2
at RAM back-up : 1111
2
R/W
TAMR/TMRA
MR
3
Operation mode selection bits
MR
3
MR
2
0
0
1
1
0
1
0
1
Operation mode
0
1
0
1
Through mode (frequency not divided)
Frequency divided by 2 mode
Frequency divided by 4 mode
Frequency divided by 8 mode
MR
2
MR
1
Not used
This bit has no function, but read/write is enabled.
MR
0
Not used
This bit has no function, but read/write is enabled.