Frequency Modulated Phase-Locked Loop (FMPLL)
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor 7-13
caused by a reference clock failure or a PLL failure. If the reference fails, the PLL goes out of lock and 
into self-clocked mode (SCM) (see Table 7-12). The PLL remains in SCM until the next reset. When the 
PLL is operating in SCM, the PLL runs open loop at a default VCO frequency. The RFD will set to 
divide-by-4 to ensure the clock presented to the system is well below the maximum allowable frequency 
for the device. If the loss-of-clock condition is due to a PLL failure (i.e., loss of feedback clock), the PLL 
reference becomes the system clock source until the next reset, even if the PLL regains itself and re-locks.
A special loss-of-clock condition occurs when both the reference and the PLL fail. The failures may be 
simultaneous or the PLL may fail first. In either case, the reference clock failure takes priority and the PLL 
attempts to operate in SCM. If successful, the PLL remains in SCM until the next reset. During SCM, 
modulation is always disabled. If the PLL cannot operate in SCM, the system remains static until the next 
reset. If a loss-of-clock reset is enabled, then the reset switches the system clock over to the 16 MHz IRC 
(and shuts off the PLL).
7.4.3.3 PLL Normal Mode Without FM
In PLL mode, the system clocks are synthesized by the FMPLL by multiplying up the reference clock 
frequency. It is critical that the system clock frequency remain within the range for the device (see PXN20 
Microcontroller Data Sheet). The output of the FMPLL can be divided down in powers ranging from 2 to 
128 to reduce the system frequency with the ERFD. The ERFD is not contained in the feedback loop of 
the PLL, so changing the ERFD bits does not affect FMPLL operation. Finally, the PLL can be frequency 
modulated to reduce electromagnetic interference often associated with clock circuitry. Figure 7-1 shows 
the overall block diagram for the PLL. Each of the major blocks is discussed briefly in the following 
sections.
7.4.3.3.1 Phase/Frequency Detector
The phase/frequency detector (PFD) is a dual-latch phase-frequency detector. It compares both the phase 
and frequency of the reference clock and the feedback clock. The reference clock comes from the crystal 
oscillator or an external clock source. The feedback clock comes from the VCO output divided down by 
the EMFD in normal PLL mode.
When the frequency of the feedback clock equals the frequency of the reference clock (i.e., the PLL is 
frequency locked), the PFD pulses the UP or DOWN signals depending on the relative phase of the two 
clocks. If the falling edge of the reference clock leads the falling edge of the feedback clock, then the UP 
signal is pulsed. If the falling edge of the feedback clock leads the falling edge of the reference clock, then 
the DOWN signal is pulsed. The width of these pulses relative to the reference clock is dependent on how 
Table 7-12. Loss-of-Clock Summary
Clock Mode
System Clock 
Source
before Failure
REFERENCE FAILURE
Alternate Clock Selected by
LOC Circuitry until Reset 
PLL FAILURE
Alternate Clock Selected by
LOC Circuitry until Reset
PLL PLL PLL self-clocked mode PLL reference
PLL Off  Ext. Clock(s) None NA
Note: The LOC circuit monitors the inputs to the PFD: reference and feedback clocks (see Figure 7-1).