
S1C60N08 TECHNICAL HARDWARE
EPSON
I-19
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Oscillation Circuit and Prescaler)
4.3.4 Control of oscillation circuit and prescaler
Table 4.3.4.1 lists the control bits and their addresses for the oscillation circuit.
Table 4.3.4.1 Control bits of oscillation circuit and prescaler
Address
Comment
D3
D2
Register
D1
D0
Name
Init 1
10
2FEH
PRSM CLKCHG OSCC
IOC1
R/W
PRSM
CLKCHG
OSCC
IOC1
0
38 kHz
OSC3
On
Output
32 kHz
OSC1
Off
Input
OSC1 prescaler selection
CPU clock switch
OSC3 oscillation On/Off
I/O control register (P10–P13)
5 Undefined
1
2
Initial value at initial reset
Not set in the circuit
3
4
Always "0" being read
Reset (0) immediately after being read
OSCC: OSC3 oscillation control (2FEHD1)
Controls oscillation ON/OFF for the OSC3 oscillation circuit. (S1C60A08 only.)
When "1" is written : The OSC3 oscillation ON
When "0" is written : The OSC3 oscillation OFF
Read-out : Valid
When it is necessary to operate the CPU of the S1C60A08 at high speed, set OSCC to "1". At other times,
set it to "0" to reduce current consumption.
For S1C60N08 and S1C60L08, keep OSCC set to "0".
At initial reset, OSCC is set to "0".
CLKCHG: CPU clock switch (2FEHD2)
The CPU's operation clock is selected with this register. (S1C60A08 only.)
When "1" is written : OSC3 clock is selected
When "0" is written : OSC1 clock is selected
Read-out : Valid
When the S1C60A08's CPU clock is to be OSC3, set CLKCHG to "1"; for OSC1, set CLKCHG to "0". This
register cannot be controlled for S1C60N08 and S1C60L08, so that OSC1 is selected no matter what the set
value.
At initial reset, CLKCHG is set to "0".
PRSM: OSC1 prescaler selection (2FEHD3)
Selects the prescaler for the crystal oscillator of the OSC1 oscillation circuit.
When "1" is written : 38.4 kHz
When "0" is written : 32.768 kHz
Read-out : Valid
Operation of the clock timer and stopwatch timer can be mode accurate by selecting this register. When
the set value for this register does not suit the crystal oscillator used, the operation cycles of the previ-
ously mentioned peripheral circuitry is multiplied as shown below.
fOSC1 = 32.768 kHz and PRSM = "1": T'
1.172T
fOSC1 = 38.4 kHz and PRSM = "0":
T'
0.853T
At initial reset, PRSM is set to "0".