Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / Differential Signaling and Measurement

Si5345 25 MHz reference switching: how to test phase error and recovery time

Two boards are both labeled 25 MHz. A cable pull makes the Si5345 switch to the backup source. The 156.25 MHz output keeps toggling and a counter still rounds to its nominal frequency, yet a downstream receiver loses alignment. In that situation, save the time-domain record before changing any settings. One report should show how the reference was lost, which input the DSPLL selected, and what happened at the load through the transition. The receiver can be sensitive to time error even when the counter display looks normal.

Establish what the two sources share

For a fixed-phase test, split one generator into two paths. Verify equal frequency and a stable phase difference at the device inputs before switching. With 25 MHz and an illustrative path delay of 8 ns, the input period is 40 ns. The static offset is 8/40 of a cycle, or 72 degrees. The phase is referenced to the input frequency. To assess the 156.25 MHz output, use a separate time-error measurement against its expected edge schedule. An output period of 6.4 ns does not turn the input path delay into a prediction of the transient in output cycles.

Then switch between two independent sources. For an example, suppose one 25 MHz source is +12 ppm and the other is −8 ppm under the observed conditions. They are at 25,000,300 Hz and 24,999,800 Hz. The 500 Hz difference means the relative phase moves through a full cycle every 2 ms. Repeating the switch at a different time can therefore start at a different relative phase, even though both labels still say 25 MHz. If the 156.25 MHz output maintains its nominal ratio to the active reference after settling, the steady frequencies are 156,251,875 Hz and 156,248,750 Hz, 3,125 Hz apart. These are illustrative steady-state values, not a transient prediction or oscillator specification.

Read the switching mode together with the input conditions

In the Rev. D family reference manual, Section 5.2.2 describes phase buildout for two equal-frequency sources with a fixed phase relationship. With it enabled, the loop absorbs the input phase difference at switching. The same section gives constraints on the input rate and fractional P divider and excludes the zero-delay mode. Check the actual configuration image and readback. A checkbox on a different project file tells you little about the board under test. With phase buildout off, the input phase difference is transferred according to loop bandwidth. Separate this intentional behavior from an externally generated short pulse.

Section 5.2.3 covers ramped switching for nearly equal independent frequencies. The device briefly enters holdover and exits using the configured ramp behavior. The reference manual also discusses phase buildout with ramping to limit input-to-output skew when the ramp ends. Read the two sections together, including their constraints. A smoothly changing frequency can still spend too long beyond a downstream tolerance. A receiver with a defined reacquisition time or line-buffer limit needs evidence from the whole transition.

Confirm the cutover policy before comparing parts. A forced switch with both inputs valid exercises a different trigger from pulling a cable. Disconnect tests include loss-of-signal detection and fallback policy. A frequency step on a continuously toggling input may exercise the out-of-frequency monitor. The applicability of a monitor and its assertion and clearance values must come from the actual configuration. If there is automatic return to the preferred input, capture the return as its own test. Arrival of the replacement source and time of reacquisition are separate moments.

A capture that distinguishes the failure modes

Use a common measurement timebase for both references, the output at the receiver, and a suitable marker for the switch request or alarm. Record the chip status with a timestamp if the marker and the actual source selection do not coincide. Save enough samples before and after the event to see the output pulse train, time interval error against the declared ideal, frequency ramp and final settlement. Note the threshold, bandwidth and probe loading. A poorly loaded output may produce apparent extra edges at the receiver threshold; a single scope trace at the driver cannot settle that question.

For an illustrative test plan, a receiver's owner may specify a maximum transition excursion of 20 ns and final convergence inside ±5 ppm of the selected-source-derived target within 50 ms. At 156.25 MHz, 5 ppm is 781.25 Hz. A capture showing 16 ns peak deviation but 64 ms to enter the sustained final band meets one condition and misses the other. The numbers are example system limits. Determine the actual ideal reference, measurement window and acceptance limits with the receiver owner before collecting data, and preserve failed traces as well as successful ones.

Release a sourcing change only after pairing the reference oscillator order codes with input termination and level, long-term frequency range, permitted source relationship, the device revision and the approved configuration image. Ask explicitly whether master and backup are disciplined to the same upstream source or can free-run separately. Repeat manual, loss-triggered and return tests in each allowed direction under the conditions the product uses. A usable handoff contains the before-and-after frequencies, the relative input phase behavior, the selected input, the time-error record and the receiver outcome. This gives the next engineering team enough to repeat the qualification when either supplier changes.

Manufacturer documents

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.