Clock Module
MCF52277 Reference Manual, Rev. 1
Freescale Semiconductor
7-9
The PCR[OUTDIV
n
] fields can be changed during normal operation or when the device is in limp mode.
However, PCR[PFDR] can only be altered during limp mode. After a new value is written to the PCR, the
PLL synchronizes the new value of the PCR with the VCO clock domain. Then, the transition from the old
divider value to the new divider value takes place, such that the PLL output clocks remain glitch free.
During the adjustment to the new divider value, a PLL output clock may experience an intermediate
transition while the divider values are being synchronized. Following the transition period, all output
clocks begin toggling at the new divider values simultaneously. The transition from the old divider value
to the new divider value takes no more than 100 ns. Because the output divider transition takes a period of
time to change, the PCR may not be written back-to-back without waiting 100 ns between writes.
7.3.2
Lock Conditions
The lock-detect logic monitors the reference frequency and the PLL feedback frequency to determine
when frequency lock has been achieved. Phase lock is inferred by the frequency relationship, but is not
guaranteed. The PLL lock status reflects in the PSR[LOCK] status bit. The lock-detect function uses two
counters clocked by the reference and PLL feedback, respectively. When the reference counter has counted
N cycles, the feedback counter is compared. If the feedback counter has also counted N cycles, the process
is repeated for N + K counts. Then, if the two counters counts continue to match, the lock criteria relaxes
by one count, and the system is notified that the PLL has achieved frequency lock by setting the
PSR[LOCK] bit.
After detection of lock, the lock circuitry continues monitoring the reference and feedback frequencies
using the alternate count and compare process. If the counters do not match at any comparison time, then
the PSR[LOCK] and PSR[LOCKS] status bits are cleared to indicate the PLL has lost lock. At this point,
the lock criteria tightens and the lock detect process repeats. The alternate count sequences prevent false
lock detects due to frequency aliasing while the PLL tries to lock. Alternating between a tight and relaxed
lock criteria prevents the lock detect function from randomly toggling between locked and not locked
status due to phase sensitivities.
In PLL bypass mode, the PSR[LOCK] bit is set 16 clock cycles after reset as described above. In this case,
the signal does not indicate the PLL has locked to the input reference, but the bypass clock is present on
the output. In bypass mode, no PLL lock exists.
7.3.3
Loss-of-Lock
When the PLL loses lock the PSR[LOCKS] status bit is set. If the PFDR is changed, or if an unexpected
loss of lock condition occurs, the LOCKS status bit is set. While the PLL is in an unlocked condition, the
system clocks continue to be sourced from the PLL as the PLL attempts to relock. Therefore, during the
re-locking process, the system-clock frequency is not well defined and may exceed the maximum system
frequency, violating the system clock timing specifications. Due to this condition, using the loss-of-lock
reset functionality as described in
Section 7.3.3.1, “Loss of Lock Reset Request,”
is recommended
.
After
the PLL has re-locked, the PLL does not update the PSR[LOCKS] status bit. The LOCKS status bit is
sticky, and the user must clear it before the PLL can write the register again.
Содержание MCF52277
Страница 1: ...MCF52277 Reference Manual Devices Supported MCF52274 MCF52277 Document Number MCF52277RM Rev 1 04 2008...
Страница 22: ...MCF52277 Reference Manual Rev 1 Freescale Semiconductor xxii...
Страница 32: ...MCF52277 Reference Manual Rev 0 xxxii Freescale Semiconductor...
Страница 60: ...Signal Descriptions MCF52277 Reference Manual Rev 1 2 16 Freescale Semiconductor...
Страница 112: ...Enhanced Multiply Accumulate Unit EMAC MCF52277 Reference Manual Rev 1 4 20 Freescale Semiconductor...
Страница 128: ...Static RAM SRAM MCF52277 Reference Manual Rev 1 6 6 Freescale Semiconductor...
Страница 140: ...Clock Module MCF52277 Reference Manual Rev 1 7 12 Freescale Semiconductor...
Страница 172: ...Chip Configuration Module CCM MCF52277 Reference Manual Rev 1 9 16 Freescale Semiconductor...
Страница 180: ...Serial Boot Facility SBF MCF52277 Reference Manual Rev 1 10 8 Freescale Semiconductor...
Страница 188: ...Reset Controller Module MCF52277 Reference Manual Rev 1 11 8 Freescale Semiconductor...
Страница 210: ...Crossbar Switch XBS MCF52277 Reference Manual Rev 1 13 8 Freescale Semiconductor...
Страница 480: ...Liquid Crystal Display Controller LCDC MCF52277 Reference Manual Rev 1 21 44 Freescale Semiconductor...
Страница 510: ...Touchscreen Controller Analog to Digital Converter MCF52277 Reference Manual Rev 1 22 30 Freescale Semiconductor...
Страница 542: ...FlexCAN MCF52277 Reference Manual Rev 1 23 32 Freescale Semiconductor...
Страница 568: ...Pulse Width Modulation PWM Module MCF52277 Reference Manual Rev 1 24 26 Freescale Semiconductor...
Страница 640: ...Programmable Interrupt Timers PIT0 PIT1 MCF52277 Reference Manual Rev 1 27 8 Freescale Semiconductor...
Страница 690: ...DMA Serial Peripheral Interface DSPI MCF52277 Reference Manual Rev 1 29 40 Freescale Semiconductor...
Страница 724: ...UART Modules MCF52277 Reference Manual Rev 1 30 34 Freescale Semiconductor...
Страница 740: ...I2 C Interface MCF52277 Reference Manual Rev 1 31 16 Freescale Semiconductor...
Страница 790: ...Debug Module MCF52277 Reference Manual Rev 1 32 50 Freescale Semiconductor...