122
CHAPTER 7 CLOCK GENERATOR
7.5 Clock Generator Operations
The clock generator generates the following various types of clocks and controls the CPU operating mode
including the standby mode.
Main system clock f
XX
Subsystem clock f
XT
CPU clock f
CPU
Clock to peripheral hardware
The following clock generator functions and operations are determined with the processor clock control register
(PCC) and the oscillation mode selection register (OSMS).
(a)
Upon generation of RESET signal, the lowest speed mode of the main system clock (12.8
m
s when operated
at 5.0 MHz) is selected (PCC = 04H, OSMS = 00H). Main system clock oscillation stops while low level is
applied to RESET pin.
(b) With the main system clock selected, one of the six CPU clock types (0.4
m
s. 0.8
m
s, 1.6
m
s, 3.2
m
s, 6.4
m
s, 12.8
m
s
@ 5.0 MHz) can be selected by setting the PCC and OSMS.
(c)
With the main system clock selected, two standby modes, the STOP and HALT modes, are available. To
decrease current consumption in the STOP mode, the subsystem clock feedback resistor can be disconnected
to stop the subsystem clock.
(d) The PCC can be used to select the subsystem clock and to operate the system with low current consumption
(122
m
s when operated at 32.768 kHz).
(e) With the subsystem clock selected, main system clock oscillation can be stopped with the PCC. The HALT
mode can be used. However, the STOP mode cannot be used. (Subsystem clock oscillation cannot be
stopped.)
(f)
The main system clock is divided and supplied to the peripheral hardware. The subsystem clock is supplied
to 16-bit timer/event counter, the watch timer, and clock output functions only. Thus, 16-bit timer/event
counter (when selecting watch timer output for count clock operating with subsystem clock), the watch
function, and the clock output function can also be continued in the standby state. However, since all other
peripheral hardware operate with the main system clock, the peripheral hardware also stops if the main
system clock is stopped. (Except external input clock operation)