Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

LMK00304 gates its reference output cleanly. Does that protect a 156.25 MHz LVDS handoff?

A link board uses two 156.25 MHz LVDS oscillators on the LMK00304 universal clock inputs. It selects one during normal operation and changes to the other if the local reference develops a fault. Both sources meet the steady-state frequency and swing requirements, yet the receiver sometimes loses lock around the transition. Capture the clock before, during, and immediately after switching. Two sources that read the same on a counter can have different edge phases. First establish which particular path has a documented short-pulse guarantee. Then test the transition against the requirements of the consumers that depend on it.

Synchronous enable belongs to the reference-output branch

TI's block diagram and selection table show the input mux feeding the differential banks and the LVCMOS reference output. When changing from universal input zero to input one, keep the high select bit at zero and change the low bit. Capture the actual select pin rather than relying on a software log, particularly if the strap is driven across a connector. A board that uses the optional crystal port has different startup conditions. TI says the crystal oscillator starts when that port is selected. Two always-running active sources can already be stable when requested, whereas a newly selected crystal path may need startup time.

The data sheet explicitly describes synchronized operation of REFout_EN. Its synchronization avoids short pulses when enabling or disabling the LVCMOS REFout. The disabled pin is high impedance. Under the listed load conditions the transition takes at most three input cycles. The period of a continuous 156.25 MHz clock is 6.4 ns, so three cycles correspond to 19.2 ns. That conversion assumes clock edges remain present and the timing test conditions apply. The differential-bank controls and input selection are separate paths. Carry that guarantee only to the REFout operation described by TI. If the original clock has stopped, a circuit that advances on clock cycles cannot be assumed to complete by the same wall-clock time.

A switch can shorten or lengthen an interval

Consider an idealized example. The main clock rises at time zero and would normally stay high for 3.2 ns. The backup clock is low when selected. If a simple mux changes inputs 1 ns after the main rising edge, ignoring propagation delays, the output high pulse can last only 1 ns. That fails a hypothetical receiver requiring 2 ns minimum. With a different phase relationship, an interval could be longer. These numbers explain what to capture and do not establish LMK00304 transients under real switching conditions. Matching the frequency specifications of the two 156.25 MHz LVDS oscillators leaves the pulse widths around the transition unknown.

A second example describes phase coverage. Suppose the oscillator rates differ by 1 ppm. At 156.25 MHz that is a 156.25 Hz difference, so their relative phase moves through a full cycle in about 6.4 ms. Each output can be stable while transitions occur at different phase offsets. If the sources have nearly identical rates and a fixed phase offset, repeated switching may hit a much narrower set. Establish phase coverage with controlled sources or by recording the phase differences actually exercised. A run count without phase information tells less about whether the critical timing was tested.

Qualify interruption and recovery against the actual loads

When the design permits interruption, place the receivers in a documented reset or wait state, establish a valid alternate clock, select it, and release each receiver after its own requirements are met. Record minimum high and low widths, the expected stopped state, and the recovery condition for every affected load. A design that must keep transferring data needs a specified switching capability appropriate to its phase and missing-clock conditions, verified on the intended board.

Capture both input pairs, the selection pin, and the affected differential output during the same acquisition. A REFout-only trace does not qualify the differential load because the reference output has its own buffer and enable. Test switchovers while the main source is healthy, after it stops, and when it returns. Also measure the longest interval without a valid edge and correlate it with receiver loss of lock and recovery. When substituting either 156.25 MHz LVDS oscillator, repeat the same set of checks. The input tests establish each loaded signal first, and the transient test establishes whether the downstream consumers can tolerate the handoff.

When using REFout as a diagnostic, distinguish high impedance from a valid logic low. After the driver shuts off, an external resistor can define the idle voltage. If a downstream device relies on that voltage during reset, measure the actual receiver state in the high-impedance interval. Bring the selected source to a valid state before re-enabling and count the clock cycles to normal output. A charging or discharging line can cross the receiver threshold during the idle interval. Check whether the receiver actually counts the crossing. Record termination and control-pin levels, then establish the differential banks' recovery independently.

References

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.