English
Language : 

MC908AS60ACFU Datasheet, PDF (132/414 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
Clock Generator Module (CGM)
10.3.2.4 Programming the PLL
Use this 9-step procedure to program the PLL. Table 10-2 lists the variables used and their meaning
(Please also reference Figure 10-1).
Table 10-2. Variable Definitions
Variable
fBUSDES
fVCLKDES
fCGMRCLK
fCGMVCLK
fBUS
fNOM
fCGMVRS
Definition
Desired Bus Clock Frequency
Desired VCO Clock Frequency
Chosen Reference Crystal Frequency
Calculated VCO Clock Frequency
Calculated Bus Clock Frequency
Nominal VCO Center Frequency
Shifted VCO Center Frequency
1. Choose the desired bus frequency, fBUSDES.
Example: fBUSDES = 8 MHz
2. Calculate the desired VCO frequency, fVCLKDES.
Example: fVCLKDES = 4 × fBUSDES
fVCLKDES = 4 × 8 MHz = 32 MHz
3. Using a reference frequency, fRCLK, equal to the crystal frequency, calculate the VCO frequency
multiplier, N. Round the result to the nearest integer.
N = --f--V---C---L---K---D---E---S---
fCGMRCLK
Example: N = 3----2-----M-----H----z-- = 8
4 MHz
4. Calculate the VCO frequency, fCGMVCLK.
fCGMVCLK = N × fCGMRCLK
Example: fCGMVCLK = 8 × 4 MHz = 32 MHz
5. Calculate the bus frequency, fBUS, and compare fBUS with fBUSDES.
f BUS
=
f---C---G---M----V---C---L---K-
4
Example:
fBUS=
3----2-----M-----H----z--
4
=
8 MHz
6. If the calculated fbus is not within the tolerance limits of your application, select another fBUSDES or
another fRCLK.
MC68HC908AZ60A • MC68HC908AS60A • MC68HC908AS60E Data Sheet, Rev. 6
132
Freescale Semiconductor