![NXP Semiconductors MC9S12VRP64 Owner Reference Manual Download Page 154](http://html.mh-extra.com/html/nxp-semiconductors/mc9s12vrp64/mc9s12vrp64_owner-reference-manual_1721842154.webp)
S12 Clock, Reset and Power Management Unit (S12CPMU_UHV_V8)
MC9S12VRP Family Reference Manual Rev. 1.3
154
NXP Semiconductors
Several examples of PLL divider settings are shown in
. The following rules help to achieve
optimum stability and shortest lock time:
•
Use lowest possible f
VCO
/ f
REF
ratio (SYNDIV value).
•
Use highest possible REFCLK frequency f
REF
.
The phase detector inside the PLL compares the feedback clock (FBCLK = VCOCLK/(1)) with
the reference clock (REFCLK = (IRC1M or OSCCLK)/(1)). Correction pulses are generated
based on the phase difference between the two signals. The loop filter alters the DC voltage on the internal
filter capacitor, based on the width and direction of the correction pulse which leads to a higher or lower
VCO frequency.
The user must select the range of the REFCLK frequency (REFFRQ[1:0] bits) and the range of the
VCOCLK frequency (VCOFRQ[1:0] bits) to ensure that the correct PLL loop bandwidth is set.
The lock detector compares the frequencies of the FBCLK and the REFCLK. Therefore the speed of the
lock detector is directly proportional to the reference clock frequency. The circuit determines the lock
condition based on this comparison.
If PLL LOCK interrupt requests are enabled, the software can wait for an interrupt request and for instance
check the LOCK bit. If interrupt requests are disabled, software can poll the LOCK bit continuously
(during PLL start-up) or at periodic intervals. In either case, only when the LOCK bit is set, the VCOCLK
will have stabilized to the programmed frequency.
•
The LOCK bit is a read-only indicator of the locked state of the PLL.
•
The LOCK bit is set when the VCO frequency is within the tolerance,
Lock
, and is cleared when
the VCO frequency is out of the tolerance,
unl
.
•
Interrupt requests can occur if enabled (LOCKIE = 1) when the lock condition changes, toggling
the LOCK bit.
Table 4-30. Examples of PLL Divider Settings
f
osc
REFDIV[3:0]
f
REF
REFFRQ[1:0] SYNDIV[5:0]
f
VCO
VCOFRQ[1:0] POSTDIV[4:0]
f
PLL
f
bus
off
$00
1MHz
00
$18
50MHz
01
$03
12.5MHz
6.25MHz
off
$00
1MHz
00
$18
50MHz
01
$00
50MHz
25MHz
4MHz
$00
4MHz
01
$05
48MHz
00
$00
48MHz
24MHz
Summary of Contents for MC9S12VRP64
Page 16: ...MC9S12VRP Family Reference Manual Rev 1 3 16 NXP Semiconductors ...
Page 46: ...Device Overview S12VRP Series MC9S12VRP Family Reference Manual Rev 1 3 46 NXP Semiconductors ...
Page 236: ...S12S Debug Module S12DBGV2 MC9S12VRP Family Reference Manual Rev 1 3 236 NXP Semiconductors ...
Page 244: ...Interrupt Module S12SINTV1 MC9S12VRP Family Reference Manual Rev 1 3 244 NXP Semiconductors ...
Page 358: ...Timer Module TIM16B2CV3 MC9S12VRP Family Reference Manual Rev 1 3 358 NXP Semiconductors ...
Page 436: ...Supply Voltage Sensor BATSV2 MC9S12VRP Family Reference Manual Rev 1 3 436 NXP Semiconductors ...
Page 528: ...NVM Electrical Parameters MC9S12VRP Family Reference Manual Rev 1 3 528 NXP Semiconductors ...
Page 530: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 530 NXP Semiconductors ...
Page 531: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 NXP Semiconductors 531 ...
Page 532: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 532 NXP Semiconductors ...