Clock Generator Module (CGM)
Table 6-1. Numeric Examples
fBUS
fRCLK
CGMVCLK
8.0 MHz
CGMPCLK
8.0 MHz
R
1
1
1
1
1
1
1
1
1
1
1
N
P
0
0
0
0
0
0
0
0
1
2
3
E
0
1
1
1
2
2
2
2
2
2
2
L
2.0 MHz
2.4576 MHz
2.5 MHz
32.768 kHz
32.768 kHz
32.768 kHz
32.768 kHz
32.768 kHz
32.768 kHz
32.768 kHz
32.768 kHz
32.768 kHz
32.768 kHz
32.768 kHz
F5
40
27
28
40
27
28
3B
40
40
40
40
9.8304 MHz
10.0 MHz
16 MHz
9.8304 MHz
10.0 MHz
16 MHz
12C
132
1E9
258
263
384
3D1
1E9
F5
4.0 MHz
19.6608 MHz
20 MHz
19.6608 MHz
20 MHz
4.9152 MHz
5.0 MHz
29.4912 MHz
32 MHz
29.4912 MHz
32 MHz
7.3728 MHz
8.0 MHz
32 MHz
16 MHz
4.0 MHz
32 MHz
8 MHz
2.0 MHz
32 MHz
4 MHz
1.0 MHz
7B
6.3.7 Special Programming Exceptions
The programming method described in 6.3.6 Programming the PLL does not account for three possible
exceptions. A value of 0 for R, N, or L is meaningless when used in the equations given. To account for
these exceptions:
•
•
A 0 value for R or N is interpreted exactly the same as a value of 1.
A 0 value for L disables the PLL and prevents its selection as the source for the base clock.
(See 6.3.8 Base Clock Selector Circuit.)
6.3.8 Base Clock Selector Circuit
This circuit is used to select either the oscillator clock, CGMXCLK, or the divided VCO clock, CGMPCLK,
as the source of the base clock, CGMOUT. The two input clocks go through a transition control circuit that
waits up to three CGMXCLK cycles and three CGMPCLK cycles to change from one clock source to the
other. During this time, CGMOUT is held in stasis. The output of the transition control circuit is then
divided by two to correct the duty cycle. Therefore, the bus clock frequency, which is one-half of the base
clock frequency, is one-fourth the frequency of the selected clock (CGMXCLK or CGMPCLK).
The BCS bit in the PLL control register (PCTL) selects which clock drives CGMOUT. The divided VCO
clock cannot be selected as the base clock source if the PLL is not turned on. The PLL cannot be turned
off if the divided VCO clock is selected. The PLL cannot be turned on or off simultaneously with the
selection or deselection of the divided VCO clock. The divided VCO clock also cannot be selected as the
base clock source if the factor L is programmed to a 0. This value would set up a condition inconsistent
with the operation of the PLL, so that the PLL would be disabled and the oscillator clock would be forced
as the source of the base clock.
MC68HC908AP Family Data Sheet, Rev. 4
86
Freescale Semiconductor