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

A 50 MHz oscillator produces one rising edge. Why does the receiver count two?

A board routes a 50 MHz oscillator into high-speed counting logic. After a long run the receiver reports a few more cycles than expected, even though edges and frequency look good at the source. Check the receiver pin and the counted events together. Reflections or motion of the receiver's ground reference can make one edge cross the threshold, retreat and then cross again. Thresholds, pulse width and the receiver output determine whether the retreat becomes a second clock event.

Use the thresholds that matter at the receiver

Find the receiver's logic levels, input transition limits and minimum external clock pulse widths. Also check whether the datasheet defines positive-going and negative-going Schmitt thresholds. Ordinary CMOS inputs may guarantee valid low and high regions without specifying a single trip point within them. The half-amplitude screen marker is a convenient reference. TI describes how slow or noisy edges can trigger an ordinary input more than once, while a Schmitt input must cross its lower threshold to return low.

Probe near both the 50 MHz oscillator and the receiver with adequate bandwidth and known loading. Reference the receiver waveform to nearby receiver ground and verify delay between the measurement channels. If the probe makes the counting error disappear, its capacitance may have altered the reflection. Use a lower-loading pickup or an engineering board with its own event recorder. Retain several clock cycles on both sides of the event to avoid confusing the next normal edge with a recrossing.

Reproduce a board workload that provokes the error, such as enabling neighbouring outputs or running a repeatable downstream task. Get logic-level evidence from the receiver buffer output or an on-chip hardware count. Use an independent counter gate and check how its boundaries line up with the monitored clock. Two gates can differ by a boundary pulse. Correct the gate definition before assigning an extra clock to the receiver.

Identify the retreat and the second trip

Suppose the receiver waveform first crosses 1.55 V, dips to 1.30 V, then rises to the high state. With hypothetical thresholds of 1.55 V rising and 1.35 V falling, it crosses the lower threshold during the dip and can trip again on the following rise. With a 1.15 V falling threshold the same 1.30 V dip leaves the receiver high. Use the actual threshold ranges for worst-case evaluation and account for changes in receiver rail and local ground.

Suppose the low state lasts only 1.4 ns while the downstream circuit requires at least 2.0 ns. A sample may reject the second edge, but its response is outside the guaranteed pulse-width conditions. Another part or temperature can behave differently. With 2.8 ns of qualified low time and other widths in range, check whether the downstream count also increments twice. That observation links the analog event to the functional error.

The 50 MHz oscillator has a 20 ns nominal period. A 1 ms gate covering exactly 50,000 full periods yields only a 20 ppm count increase for one extra edge, equivalent to 1 kHz. A source-side frequency check can look entirely normal. Compare integer counts at the receiver. One extra cycle can advance a state machine by a full operation after that edge.

Prove that the change removes the extra count

If a reflection is likely, adjust source series resistance within the approved range and compare the dip on the same board. More resistance can help with ringing and reduce slew at the threshold. Verify transition requirements as well as the count. If local ground bounce is suspected, observe it relative to a suitable reference and check the result with fewer neighbouring outputs switching.

A board that can accept another input buffer can use a compatible true Schmitt part for an A/B check. Measure the effects of changed input capacitance, delay, pulse-width distortion and output loading. TI's SN74LVC1G17 provides an example of a datasheet with explicit threshold limits. Choose parts for the actual voltage, temperature and waveform. Verify frequency and minimum pulse width again in the intended circuit.

Try a fresh original part before changing the 50 MHz oscillator model. Under the same load, compare the receiver dip and count behaviour for both sources. If only the faster version provokes a reflection, establish whether termination changes give adequate margin. If the hardware still counts extra edges without a matching waveform change, investigate the counter and software readout. Keep source and receiver waveforms, threshold limits and gate definitions so the test can be repeated over voltage and temperature.

For an intermittent extra count, let a hardware comparison produce an event marker. Reset source and receiver counts under the same gate definition. Save several cycles before and after the first mismatch, then clear the counters and repeat. Log the blind time between acquisitions. If only short segments can be saved, record how many known load transitions they covered. That gives comparable coverage even when neither board shows a failure.

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.