Clock Generator Module (CGM)
MC68HC908MR32 • MC68HC908MR16 Data Sheet, Rev. 6.1
62
Freescale Semiconductor
5.
Calculate the bus frequency, f
BUS
, and compare f
BUS
with f
BUSDES
.
6.
If the calculated f
BUS
is not within the tolerance limits of the application, select another f
BUSDES
or
another f
RCLK
.
7.
Using the value 4.9152 MHz for f
NOM
, calculate the VCO linear range multiplier, L. The linear range
multiplier controls the frequency range of the PLL.
8.
Calculate the VCO center-of-range frequency, f
VRS
. The center-or-range frequency is the midpoint
between the minimum and maximum frequencies attainable by the PLL.
f
VRS
= L x f
NOM
Example: f
VRS
= 7 x 4.9152 MHz = 34.4 MHz
For proper operation,
CAUTION
Exceeding the recommended maximum bus frequency or VCO frequency can crash the MCU.
9.
Program the PLL registers accordingly:
a.
In the upper four bits of the PLL programming register (PPG), program the binary equivalent
of N.
b.
In the lower four bits of the PLL programming register (PPG), program the binary equivalent
of L.
4.3.2.5 Special Programming Exceptions
The programming method described in
4.3.2.4 Programming the PLL
does not account for 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.3 Base Clock Selector Circuit
.
4.3.3 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
f
BUS
=
f
VCLK
4
Example: N =
32 MHz
4 MHz
= 8 MHz
Example: L =
32 MHz
4.9152 MHz
= 7 MHz
L = round
f
VCLK
f
NOM
(
)
f
VRS
– f
VCLK
|
≤
f
NOM
2
Содержание MC68HC908MR16
Страница 2: ......
Страница 6: ...List of Chapters MC68HC908MR32 MC68HC908MR16 Data Sheet Rev 6 1 6 Freescale Semiconductor...
Страница 78: ...Computer Operating Properly COP MC68HC908MR32 MC68HC908MR16 Data Sheet Rev 6 1 78 Freescale Semiconductor...
Страница 96: ...External Interrupt IRQ MC68HC908MR32 MC68HC908MR16 Data Sheet Rev 6 1 96 Freescale Semiconductor...
Страница 112: ...Input Output I O Ports PORTS MC68HC908MR32 MC68HC908MR16 Data Sheet Rev 6 1 112 Freescale Semiconductor...
Страница 114: ...Power On Reset POR MC68HC908MR32 MC68HC908MR16 Data Sheet Rev 6 1 114 Freescale Semiconductor...
Страница 180: ...Serial Communications Interface Module SCI MC68HC908MR32 MC68HC908MR16 Data Sheet Rev 6 1 180 Freescale Semiconductor...
Страница 194: ...System Integration Module SIM MC68HC908MR32 MC68HC908MR16 Data Sheet Rev 6 1 194 Freescale Semiconductor...
Страница 234: ...Timer Interface A TIMA MC68HC908MR32 MC68HC908MR16 Data Sheet Rev 6 1 234 Freescale Semiconductor...
Страница 281: ......