English
Language : 

MC68HC908GR16A Datasheet, PDF (63/270 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
Functional Description
Table 4-3 provides numeric examples (register values are in hexadecimal notation):
fBUS (MHz)
1.0
2.0
4.0
8.0
2.0
4.0
5.0
8.0
2.4576
4.9152
7.3728
2.0
4.0
6.0
8.0
Table 4-3. Numeric Example
fRCLK (MHz)
2.0
2.0
2.0
2.0
4.0
4.0
4.0
4.0
4.9152
4.9152
4.9152
8.0
8.0
8.0
8.0
PCTL
E
0
0
1
2
0
1
2
2
1
2
2
0
1
2
2
PMSH,L
N
002
004
008
010
002
004
005
008
002
004
006
001
002
003
004
PMRS
L
38
70
70
70
70
70
46
70
45
45
67
70
70
54
70
4.3.7 Special Programming Exceptions
The programming method described in 4.3.6 Programming the PLL does not account for two possible
exceptions. A value of 0 for N or L is meaningless when used in the equations given. To account for these
exceptions:
• A 0 value for 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 4.3.8 Base Clock Selector Circuit.
4.3.8 Base Clock Selector Circuit
This circuit is used to select either the crystal clock, CGMXCLK, or the VCO clock, CGMVCLK, 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 CGMVCLK 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 CGMVCLK).
The BCS bit in the PLL control register (PCTL) selects which clock drives CGMOUT. The 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 VCO clock is selected. The PLL cannot be turned on or off simultaneously with the selection or
deselection of the VCO clock. The 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 crystal clock would be forced as the source of the base
clock.
MC68HC908GR16A Data Sheet, Rev. 1.0
Freescale Semiconductor
63