Section 19 Clock Pulse Generator
19.1 Overview
The H8/3048 Series has a built-in clock pulse generator (CPG) that generates the system clock ()
and other internal clock signals (/2 to /4096). After duty adjustment, a frequency divider divides
the clock frequency to generate the system clock (). The system clock is output at the pin
*1
and
furnished as a master clock to prescalers that supply clock signals to the on-chip supporting
modules. Frequency division ratios of 1/1, 1/2, 1/4, and 1/8 can be selected for the frequency
divider by settings in a division control register (DIVCR). Power consumption in the chip is
reduced in almost direct proportion to the frequency division ratio
*2
.
Notes: 1. Usage of the pin differs depending on the chip operating mode and the PSTOP bit
setting in the module standby control register (MSTCR). For details, see section 20.7,
System Clock Output Disabling Function.
2. The division ratio of the frequency divider can be changed dynamically during
operation. The clock output at the pin also changes when the division ratio is
changed. The frequency output at the pin is shown below.
= EXTAL
×
n
where,
EXTAL: Frequency of crystal resonator or external clock signal
n:
Frequency division ratio (n = 1/1, 1/2, 1/4, or 1/8)
19.1.1 Block Diagram
Figure 19-1 shows a block diagram of the clock pulse generator.
Figure 19-1 Block Diagram of Clock Pulse Generator
XTAL
EXTAL
CPG
pin
/2 to /4096
Oscillator
Duty
adjustment
circuit
Frequency
divider
Division
control
register
Prescalers
Data bus
633