English
Language : 

MC9S12P128 Datasheet, PDF (232/564 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
S12 Clock, Reset and Power Management Unit (S12CPMU) Block Description
Read: Anytime
Write: Only in special mode
7.4 Functional Description
7.4.1 Phase Locked Loop with Internal Filter (PLL)
The PLL is used to generate a high speed PLLCLK based on a low frequency REFCLK.
The REFCLK is by default the IRCCLK which is trimmed to fIRC1M_TRIM=1MHz.
If using the Oscillator (OSCE=1) REFCLK will be based on OSCCLK. For increased flexibility, OSCCLK
can be divided in a range of 1 to 16 to generate the reference frequency REFCLK using the REFDIV[3:0]
bits. Based on the SYNDIV[5:0] bits the PLL generates the VCOCLK by multiplying the reference clock
by a 2, 4, 6,... 126, 128. Based on the POSTDIV[4:0] bits the VCOCLK can be divided in a range of 1,2,
3, 4, 5, 6,... to 32 to generate the PLLCLK.
If Oscillator is enabled (OSCE=1)
If Oscillator is disabled (OSCE=0)
f REF = (---R----E----F-f--OD-----SI--V-C-----+-----1---)-
fREF = fIRC1M
fVCO = 2 × fREF × (SYNDIV + 1)
If PLL is locked (LOCK=1)
f PLL = (---P----O-----S-f--T-V---D-C----I-O-V------+-----1---)
If PLL is not locked (LOCK=0) f PLL = f---V----4-C----O---
If PLL is selected (PLLSEL=1) f bus = f---P---2-L---L--
.
NOTE
Although it is possible to set the dividers to command a very high clock
frequency, do not exceed the specified bus frequency limit for the MCU.
Several examples of PLL divider settings are shown in Table 7-22. The following rules help to achieve
optimum stability and shortest lock time:
• Use lowest possible fVCO / fREF ratio (SYNDIV value).
• Use highest possible REFCLK frequency fREF.
S12P-Family Reference Manual, Rev. 1.12
232
Freescale Semiconductor