SNAS522K September 2011 – December 2023 LMK03806
PRODUCTION DATA
The digital lock detect circuit is used to determine the lock status of the PLL. The flowchart in Figure 8-6 shows the general way this circuit works.
EVENT | PLL | WINDOW SIZE (ε) | LOCK COUNT |
---|---|---|---|
PLL Locked | PLL | 3.7 ns | PLL_DLD_CNT |
For a digital lock detect event to occur there must be a number of PLL phase detector cycles during which the time/phase error of the PLL_R reference and PLL_N feedback signal edges are within the 3.7 ns window size of the LMK03806. Lock count is the term which is used to specify how many PLL phase detector cycles have been within the window size of 3.7 ns at any given time. Since there must be a specified number phase detector events before a lock event occurs, a minimum digital lock event time can be calculated as lock count / Fpd.
A user specified ppm accuracy for lock detect is programmable using a lock count register. By using Equation 8, values for a lock count and window size can be chosen to set the frequency accuracy required by the system in ppm before the digital lock detect event occurs. Units of Fpd are Hertz:
The effect of the lock count value is that it shortens the effective lock window size by dividing the window size by lock count.
If at any time the PLL_R reference and PLL_N feedback signals are outside the time window set by window size, then the lock count value is reset to 0.
For example, we will calculate the minimum PLL digital lock time given a PLL Fpd of 40 MHz and PLL_DLD_CNT = 10,000. The minimum lock time of PLL will be 10,000 / 40 MHz = 250 µs.