English
Language : 

MC68HC08AS20 Datasheet, PDF (97/386 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
• Software must wait a given time, tAL, after entering tracking mode
before selecting the PLL as the clock source to CGMOUT
(BCS = 1).
• The LOCK bit is disabled.
• CPU interrupts from the CGM are disabled.
8.4.2.4 Programming the PLL
Use this procedure to program the PLL:
1. Choose the desired bus frequency, fBUSDES.
Example: fBUSDES = 8 MHz
2. Calculate the desired VCO frequency, fVCLKDES.
fVCLKDES = 4 × fBUSDES
Example: fVCLKDES = 4 × 8 MHz = 32 MHz
NOTE:
3. Using a reference frequency, fRCLK, equal to the crystal frequency,
calculate the VCO frequency multiplier, N.
The round function means that the result is rounded to the nearest
integer.
N = round f--V---fC--R--L-C-K--L-D--K-E---S-
Example: N = 3----2-----M-----H----z-- = 8
4 MHz
4. Calculate the VCO frequency, fVCLK.
fVCLK = N × fRCLK
Example: fVCLK = 8 × 4 MHz = 32 MHz
MC68HC08AS20 — Rev. 4.1
Freescale Semiconductor
Advance Information
97