Clg (Clock Generator); Configuration Of Clock Generator - Epson CMOS 32-Bit Single Chip Microcomputer S1C33L03 Technical Manual

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

II-6 CLG (Clock Generator)
This section describes the method for controlling the system clock.

Configuration of Clock Generator

The C33 Core Block has a built-in clock generator that consists of a high-speed oscillation circuit (OSC3) and a
PLL.
The high-speed (OSC3) oscillation circuit generates the main clock for the CPU and internal peripheral circuits
(e.g., DMA, serial interface, programmable timer, and A/D converter).
Furthermore, the clock generator can input a sub clock, such as low-speed (OSC1, 32.768 kHz, Typ.) clock
generated by the Peripheral Block, for the clock timer and for operating the CPU at a low clock speed in order to
reduce current consumption.
Note: When the Peripheral Block including the low-speed (OSC1) oscillation circuit is used, the source
clocks for the CPU and the peripheral circuits (e.g., serial interface, programmable timer, and A/D
converter) can be selected between the OSC3 clock and the OSC1 clock. For details, refer to
"Setting and Switching Over the CPU Operating Clock" in this section and "Prescaler" and "Low-
Speed (OSC1) Oscillation Circuit" of the Peripheral Block.
Figure 6.1 shows the configuration of the clock generator.
SOSC3
Oscillation ON/OFF
OSC3
High-speed (OSC3)
OSC4
oscillation circuit
SLEEP
PLLC
PLLS0
PLLS1
SOSC1
Oscillation ON/OFF
OSC1
Low-speed (OSC1)
OSC2
oscillation circuit
After an initial reset, the output (OSC3 clock) of the high-speed (OSC3) oscillation circuit is set for the CPU
operating clock.
When the low-speed (OSC1) oscillation circuit is used, the CPU operating clock can be switched to the output
(OSC1 clock) of the low-speed (OSC1) oscillation circuit in a program. Furthermore, each oscillation circuit can be
stopped in a program.
If the OSC3 clock is unnecessary such as when performing clock processing only, set the OSC1 clock for operation
of the CPU and turn off the high-speed (OSC3) oscillation circuit in order to reduce current consumption. In
addition, when SLEEP mode is set, the high-speed (OSC3) oscillation circuit is turned off, greatly reducing current
consumption (no internal units except for the clock timer need to be operated).
S1C33L03 FUNCTION PART
CLKDT[1:0]
Divider
1/1 to 1/8
PLL
Figure 6.1 Configuration of Clock Generator
EPSON
II CORE BLOCK: CLG (Clock Generator)
CLG
CLKCHG
Clock
switch
HALT, HALT2,
SLEEP
HALT2, SLEEP
SLEEP
Peripheral Block
A-1
B-II
CLG
To CPU
To BCU and DMA
To peripheral circuits
To peripheral circuits
and clock timer
B-II-6-1

Advertisement

Table of Contents
loading

Table of Contents