Operation Of Clock Generator Supplying Clock To Peripheral Hardware - NEC 78K0S/KU1+ User Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0S/KU1+:
Table of Contents

Advertisement

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
• Low-speed internal oscillation clock (f
(1) Clock to peripheral hardware
The clock to the peripheral hardware is supplied by dividing the system clock (f
by the pre-processor clock control register (PPCC).
Three types of frequencies are selectable: "f
peripheral hardware.
PPCC1
0
0
1
1
(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
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
Can be stopped by
software
Cannot be stopped
CHAPTER 5 CLOCK GENERATORS
)
XP
)
RL
", "f
X
Table 5-3. Clocks to Peripheral Hardware
PPCC0
0
f
X
1
f
/2
X
2
0
f
/2
X
1
Setting prohibited
CPU Status
LSRSTOP = 1
Operation mode
LSRSTOP = 0
LSRSTOP = 1
Standby
LSRSTOP = 0
Operation mode
Standby
User's Manual U18172EJ2V0UD
2
/2", and "f
/2
". Table 5-3 lists the clocks supplied to the
X
X
Selection of clock to peripheral hardware (f
WDT Status
Stopped
Operates
Stopped
Stopped
Operates
). The division ratio is selected
X
)
XP
TMH1 Status
Stopped
Operates
Stopped
Operates
).
RL
79

Advertisement

Table of Contents
loading

Table of Contents