CHAPTER 5 CLOCK GENERATORS
User’s Manual U16898EJ3V0UD
80
5.6 Operation of Clock Generator Supplying Clock to Peripheral Hardware
The following two types of clocks are supplied to the peripheral hardware.
•
Clock to peripheral hardware (f
XP
)
•
Low-speed internal oscillation clock (f
RL
)
(1) Clock to peripheral hardware
The clock to the peripheral hardware is supplied by dividing the system clock (f
X
). The division ratio is selected
by the pre-processor clock control register (PPCC).
Three types of frequencies are selectable: “f
X
”, “f
X
/2”, and “f
X
/2
2
”. Table 5-3 lists the clocks supplied to the
peripheral hardware.
Table 5-3. Clocks to Peripheral Hardware
PPCC1
PPCC0
Selection of clock to peripheral hardware (f
XP
)
0 0
f
X
0 1
f
X
/2
1 0
f
X
/2
2
1 1
Setting
prohibited
(2) Low-speed internal oscillation clock
The low-speed internal oscillator of the clock oscillator for interval time generation is always started after release
of reset, and oscillates at 240 kHz (TYP.).
It can be specified by the option byte whether the low-speed internal oscillator can or cannot be stopped by
software. If it is specified that the low-speed internal oscillator can be stopped by software, oscillation can be
started or stopped by using the low-speed internal oscillation mode register (LSRCM). If it is specified that it
cannot be stopped by software, the clock source of WDT is fixed to the low-speed internal oscillation clock (f
RL
).
The low-speed internal oscillator is independent of the CPU clock. If it is used as the source clock of WDT,
therefore, a hang-up can be detected even if the CPU clock is stopped. If the low-speed internal oscillator is used
as a count clock source of 8-bit timer H1, 8-bit timer H1 can operate even in the standby status.
Table 5-4 shows the operation status of the low-speed internal oscillator when it is selected as the source clock of
WDT and the count clock of 8-bit timer H1. Figure 5-14 shows the status transition of the low-speed internal
oscillator.
Table 5-4. Operation Status of Low-Speed Internal Oscillator
Option Byte Setting
CPU Status
WDT Status
TMH1 Status
LSRSTOP = 1
Stopped
Stopped
LSRSTOP = 0
Operation mode
Operates Operates
LSRSTOP = 1
Stopped
Stopped
Can be stopped by
software
LSRSTOP = 0
Standby
Stopped Operates
Operation mode
Cannot be stopped
Standby
Operates