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

A differential clock pair is reversed and the frequency is correct. Does the board need rework?

A connector adapter swaps the positive and negative lines of a differential clock. Amplitude looks normal, a frequency counter reads 125 MHz, and the downstream circuit starts. Check which edge actually clocks the receiver and how it must align with other signals. If the hardware also has a startup requirement, check what the swap does to its first valid edge. A correct frequency establishes the period count.

Treat differential voltage as a signed quantity

A receiver typically uses the voltage at its positive input minus the voltage at its negative input. Swapping the pair reverses the sign. A transition that originally went from negative to positive now goes from positive to negative. A rising-edge receiver therefore uses what was the falling edge. With both lines properly driven and common mode unchanged, the magnitude of the differential swing can stay the same. Automatic trace inversion or a magnitude-only measurement makes this easy to miss.

A swapped pair acts like a half-period shift for a symmetrical waveform with no other path differences. The receiver responds at the threshold crossings. With a non-50% duty cycle, the time from the old rising edge to the old falling edge depends on the old high time. After reversal the old falling edge becomes the rising edge, and the new high time is the old low time. For hardware that uses both edges, check the two pulse widths in their new roles. For systems with one reversed channel among several, trace the constraints on the affected receiver.

If the clock only feeds an internal frequency multiplier, the manufacturer may allow an inverted connection. Check guarantees for input-to-output phase, how a synchronization pin establishes phase, and which cycle is first after reset. PLL lock alone does not establish alignment. A serial interface's ability to invert its data lanes also does not establish whether its separate clock input supports it.

A worked example with an 8 ns period

Assume a 125 MHz source with an 8 ns period and no propagation mismatch. The original differential signal rises at 0.0 ns, falls at 4.4 ns, and rises again at 8 ns. High time is 4.4 ns and duty cycle is 55%. After swapping, the positive-going crossing is at 4.4 ns and the new high interval runs to 8 ns, lasting 3.6 ns. If two receivers share the reference and only the second pair is reversed, their rising-edge sample times in this original period are 4.4 ns apart.

With a hypothetical 2 ns phase budget and no device setting that can compensate, the change exceeds the budget. Restore polarity or use a manufacturer-supported inversion setting that has passed timing checks. When two systems only compare frequency over time and use no common edge, either connection may be acceptable. Record the unchanged reference and the target input with fixed polarity and trigger settings to see which edge actually corresponds to the receiver event. Where high and low pulses each have minimum widths, check both.

ADI's article on ADC clock polarity describes another situation. On certain AC-coupled ADC inputs with internal common-mode bias and an offset differential threshold, which line rises first can affect whether the first edge of that polarity is recognized promptly at startup. The effect can appear before steady-state phase is an issue. The article identifies which input architectures it covers. For a particular part, use its own data sheet and board captures if the threshold offset or first edge is unspecified.

Make the polarity check reproducible

Trace the pair from the oscillator or buffer pins through to the receiver. Mark front and back connector views, adapter orientation, and bottom-view package drawings. Compare net suffixes to actual device pin names. Save both single-ended traces, the order of differential subtraction, and the trigger reference. For controlled rework, keep termination, length, and mating conditions fixed while checking cold start and steady-state alignment before and after the swap. For firmware inversion, document when the setting takes effect, its reset default, and whether the receiver is masked during the transition.

Specify the expected active edge and functions affected by reversing it. Alongside a frequency check, keep a polarity-sensitive acceptance measure such as the sampling time relative to a synchronization pulse or the first valid ADC sample after startup. Retaining a crossed connection requires the manufacturer's electrical conditions and those board-level requirements to be met and documented.

For synchronous multichannel equipment, apply a common event within a narrow time window and compare which sample captures it on each channel. This end-to-end check can expose a shift even when both clock waveforms look clean. Use the same event source and sampling setup to distinguish a polarity change from a software change.

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.