English
Language : 

MC908AP8CFBE Datasheet, PDF (84/324 Pages) Freescale Semiconductor, Inc – Microcontrollers
Clock Generator Module (CGM)
1. Choose the desired bus frequency, fBUSDES, or the desired VCO frequency, fVCLKDES; and then
solve for the other.
The relationship between fBUS and fVCLK is governed by the equation:
× fVCLK = 2P × fCGMPCLK = 2P × 4 fBUS
where P is the power of two multiplier, and can be 0, 1, 2, or 3
2. Choose a practical PLL reference frequency, fRCLK, and the reference clock divider, R. Typically,
the reference is 32.768kHz and R = 1.
Frequency errors to the PLL are corrected at a rate of fRCLK/R. For stability and lock time reduction,
this rate must be as fast as possible. The VCO frequency must be an integer multiple of this rate.
The relationship between the VCO frequency, fVCLK, and the reference frequency, fRCLK, is
fVCLK = 2----PR----N---(fRCLK)
where N is the integer range multiplier, between 1 and 4095.
In cases where desired bus frequency has some tolerance, choose fRCLK to a value determined
either by other module requirements (such as modules which are clocked by CGMXCLK), cost
requirements, or ideally, as high as the specified range allows. See Chapter 22 Electrical
Specifications.
Choose the reference divider, R = 1.
When the tolerance on the bus frequency is tight, choose fRCLK to an integer divisor of fBUSDES,
and R = 1. If fRCLK cannot meet this requirement, use the following equation to solve for R with
practical choices of fRCLK, and choose the fRCLK that gives the lowest R.
R
=
round
RM
A
X
×
⎧⎛
⎨⎜
⎩⎝
f--V----fC--R--L--C-K--L-D--K--E----S- ⎠⎟⎞
–
i
nte
ge
⎛
r⎜
⎝
f--V----fC--R--L--C-K--L-D--K--E----S- ⎠⎟⎞
⎫
⎬
⎭
3. Calculate N:
N
=
rou
nd
⎛
⎜
⎝
R-----f-×-R---C-f--V-L---CK---L--×-K----2D---P-E---S--⎠⎟⎞
4. Calculate and verify the adequacy of the VCO and bus frequencies fVCLK and fBUS.
fVCLK = 2----PR----N---(fRCLK)
fBUS = 2-f-V-P--C-×-L---K4-
MC68HC908AP Family Data Sheet, Rev. 4
84
Freescale Semiconductor