
S1C88409 TECHNICAL MANUAL
EPSON
57
CHAPTER 5: PERIPHERAL CIRCUITS AND OPERATION (Oscillation Circuit)
OSC3 = 0.03 MHz–8.8 MHz
1. Write "00B" to the VD1C register. (VD1 = 2.4 V)
2. Wait at least 5 msec.
3. Write "10B" to the VD1C register. (VD1 = 3.2 V)
4. Wait at least 5 msec.
5. Write "11B" to the VD1C register. (VD1 = 4.2 V)
6. Wait at least 5 msec.
7. Write "1" to the OSCC register.
(turning the OSC3 oscillation circuit on)
8. Wait at least 20 msec.
Note: The OSC3 oscillation circuit takes a
maximum 20 msec for stabilizing oscilla-
tion after turning the OSC3 oscillation
circuit on. Therefore, take an enough
interval after the OSC3 oscillation goes
on before starting control of the periph-
eral circuit, such as the programmable
timer, serial interface and A/D converter,
that uses the OSC3 oscillation circuit as
the clock source. (The oscillation start
time varies depending on the oscillator
and external component to be used.
Refer to Chapter 8, "ELECTRICAL
CHARACTERISTICS", in which an
example of oscillation start time is
indicated.)
Do not turn the OSC3 oscillation circuit on
to reduce current consumption when the
OSC3 clock is not necessary.
[OSC3 off sequence]
OSC3 = 0.03 MHz–1.1 MHz
1. Write "0" to the OSCC register.
(turning the OSC3 oscillation circuit off)
OSC3 = 0.03 MHz–4.4 MHz
1. Write "0" to the OSCC register.
(turning the OSC3 oscillation circuit off)
2. Write "01B" to the VD1C register. (VD1 = 1.6 V)
OSC3 = 0.03 MHz–6.6 MHz
1. Write "0" to the OSCC register.
(turning the OSC3 oscillation circuit off)
2. Write "00B" to the VD1C register. (VD1 = 2.4 V)
3. Wait at least 5 msec.
4. Write "01B" to the VD1C register. (VD1 = 1.6 V)
OSC3 = 0.03 MHz–8.8 MHz
1. Write "0" to the OSCC register.
(turning the OSC3 oscillation circuit off)
2. Write "10B" to the VD1C register. (VD1 = 3.2 V)
3. Wait at least 5 msec.
4. Write "00B" to the VD1C register. (VD1 = 2.4 V)
5. Wait at least 5 msec.
6. Write "01B" to the VD1C register. (VD1 = 1.6 V)
Note: To prevent malfunction, before stopping the
OSC3 oscillation, stop the operation of the
peripheral circuits that use the OSC3
oscillation circuit as the clock source, such
as programmable timer, serial interface and
A/D converter.
Furthermore, when turning the OSC3
oscillation circuit off, make sure that the
CPU operating clock is OSC1.
Switching the CPU operating clock from
OSC1 to OSC3
When operating the CPU in high speed, the CPU
operating clock should be switched from the OSC1
clock to the OSC3 clock using the CLKCHG
register. The switching procedure is as follows:
1. Execute the OSC3 on sequence as described
above.
2. Write "1" to the CLKCHG register.
(OSC1
→ OSC3)
Note: Be sure to wait 20 msec or more for
oscillation stabilizing time between turning
the OSC3 oscillation circuit on and switch-
ing the CPU operating clock.
Switching the CPU operating clock from
OSC3 to OSC1
When the CPU has to handle low-speed operation
(e.g. clock control), the OSC3 oscillation can be
stopped and OSC1 can be used as the operating
clock to reduce current consumption.
The switching procedure is as follows:
1. Write "0" to the CLKCHG register.
(OSC3
→ OSC1)
2. Execute the OSC3 off sequence described above.
Note: Use a separate instruction for switching the
clock from OSC3 to OSC1 and turning the
OSC3 oscillation off. Handling with one
instruction may cause malfunction of the CPU.