English
Language : 

MC908AZ32ACFUE Datasheet, PDF (106/324 Pages) Freescale Semiconductor, Inc – Microcontrollers
Clock Generator Module (CGM)
8.9.4 Reaction Time Calculation
The actual acquisition and lock times can be calculated using the equations below. These equations yield
nominal values under the following conditions:
• Correct selection of filter capacitor, CF (see 8.9.3 Choosing a Filter Capacitor).
• Room temperature operation
• Negligible external leakage on CGMXFC
• Negligible noise
The K factor in the equations is derived from internal PLL parameters. Kacq is the K factor when the PLL
is configured in acquisition mode, and Ktrk is the K factor when the PLL is configured in tracking mode.
(See 8.3.2.2 Acquisition and Tracking Modes).
tacq
=
⎛
⎝
f--C---VG----MD---DR--A-D---V-⎠⎞
⎛
⎝
-K----A8---C---Q-⎠⎞
tal
=
⎛
⎝
f--C---VG----MD---DR--A-D---V-⎠⎞
⎛
⎝
-K----T4--R---K-⎠⎞
tLock = tACQ + tAL
Note the inverse proportionality between the lock time and the reference frequency.
In automatic bandwidth control mode, the acquisition and lock times are quantized into units based on the
reference frequency. (See 8.3.2.3 Manual and Automatic PLL Bandwidth Modes). A certain number of
clock cycles, nACQ, is required to ascertain that the PLL is within the tracking mode entry tolerance, ΔTRK,
before exiting acquisition mode. A certain number of clock cycles, nTRK, is required to ascertain that the
PLL is within the lock mode entry tolerance, ΔLock. Therefore, the acquisition time, tACQ, is an integer
multiple of nACQ/fCGMRDV, and the acquisition to lock time, tAL, is an integer multiple of nTRK/fCGMRDV.
Also, since the average frequency over the entire measurement period must be within the specified
tolerance, the total time usually is longer than tLock as calculated above.
In manual mode, it is usually necessary to wait considerably longer than tLock before selecting the PLL
clock (see 8.3.3 Base Clock Selector Circuit), because the factors described in 8.9.2 Parametric
Influences on Reaction Time, may slow the lock time considerably.
When defining a limit in software for the maximum lock time, the value must allow for variation due to all
of the factors mentioned in this section, especially due to the CF capacitor and application specific
influences.
The calculated lock time is only an indication and it is the customer’s responsibility to allow enough of a
guard band for their application. Prior to finalizing any software and while determining the maximum lock
time, take into account all device to device differences. Typically, applications set the maximum lock time
as an order of magnitude higher than the measured value. This is considered sufficient for all such device
to device variation.
Freescale recommends measuring the lock time of the application system by utilizing dedicated software,
running in FLASH, EEPROM or RAM. This should toggle a port pin when the PLL is first configured and
switched on, then again when it goes from acquisition to lock mode and finally again when the PLL lock
MC68HC908AZ32A Data Sheet, Rev. 2
106
Freescale Semiconductor