Summary
A bad clock makes good protocols look broken. Before rewriting SPI or I2C drivers, prove the clock amplitude, frequency, edges, and jitter. This article covers oscilloscope setup, probe technique, measurement pitfalls, and how to isolate clock problems from protocol failures.
A bad clock makes good protocols look broken. Before you rewrite SPI init or I2C drivers, prove the clock’s amplitude, frequency, edges, and jitter personality at the pin that matters.
Measure at the pin that samples the edge, with a short ground, before blaming SPI init, I2C state machines, or a panel driver. Burst clocks, crystal references, and LVDS clock pairs each want slightly different pass/fail thinking, but probe honesty is shared. Edge damping choices often sit next to this work in series resistors on signal lines, and bus-level context is in the communication interfaces guide.
What to Measure and Where
Measure at the receiver pin when possible, not only at the oscillator can. Use a short spring ground and note the probe’s bandwidth loading. A heavy probe can slow a delicate clock and create a false fail or false pass.
Capture frequency, duty cycle, amplitude, rise/fall, ringing, and whether the clock stops during low-power modes when it shouldn’t.
Common Clock Failure Patterns
Crystal layout with long traces and busy aggressors. Missing load caps or wrong values. Power-rail bounce modulating an oscillator. A series resistor too large, slowing edges into timing violations. Clock tree outputs loaded beyond drive strength.
Spread-spectrum clocks can confuse crude frequency counters and some external sync systems. Know whether SSC is enabled before declaring the frequency wrong.
| Observation | Suspect | Next step |
| Triangle-ish edges | Over-damped series R / load | Check R and C load |
| Tall ring | Impedance mismatch / long stub | Damping, route fix |
| Wobbling amplitude | Supply noise | Local decoupling, scope rail |
| Intermittent stop | Enable pin / firmware / overtemp | Enable path, thermal |
If the probe ground is a loop antenna, the screenshot is not the clock’s confession.
Protocol Clocks Versus Reference Clocks
SPI SCLK is a burst clock with different duty during idle, while crystal references are continuous and feed PLLs. Don’t apply the same pass/fail checklist blindly. For bus clocks, verify setup against the active edge under real transactions.
LVDS clock pairs need differential probe technique or two well-matched single-ended measurements with care. Don’t declare pair balance from one leg alone.
Power and EMI Coupling Into Clocks
A switcher in pulse-skipping can FM-modulate a poorly isolated reference. Scope the local rail along with the clock. If the edges breathe with the rail, fix PDN and isolation before rewriting peripheral drivers.
Return-path slots under a clock route convert every edge into common-mode current. Stitch and repair the geometry.
Documentation That Speeds the Next Debug
Record probe model, ground method, bandwidth limit settings, temperature, and board revision on every screenshot. Without metadata, teams argue about ghosts.
Keep a known-good waveform library for production golden units.
Jitter Conversations Without Hand Waving
Period jitter, cycle-to-cycle jitter, and long-term wander are different. A camera link may care about one; a UART baud clock may care about another. Measure the metric that maps to the failure, and state the instrument limits.
If a PLL unlocks, check both reference quality and PLL supply cleanliness. Blaming the crystal alone misses supply-modulated references.
For burst clocks like SPI SCLK, confirm the first edge after idle isn’t distorted by bus contention or slow CS interaction.
Crystal Layout Mini-Checklist
Short traces, tight differential-ish return for the pair of leads, load caps to the correct ground, keepout from noisy aggressors, and no unnecessary vias. If the vendor provides a reference layout, start there before inventing art.
Probe Loading and Bandwidth Limits
A heavy passive probe can slow a clock enough to hide ring or create a false slow-edge failure. Know the loading. For fast edges, use a low-capacitance tip and the shortest ground you can manage.
Bandwidth limiting on the scope smooths noise and can also erase real spikes. Capture once full-bandwidth and once limited so you know what you removed.
Document probe model, ground method, and bandwidth settings on every screenshot that enters a failure file.
When the Clock Is Bursting, Not Continuous
SPI SCLK and some switched clock gates are bursty. Idle gaps change how AC coupling and probe averaging behave. Trigger on CS or a transaction start so you inspect the edges that actually sample data.
First edges after long idle can look different from mid-burst edges if supply droop or bus contention is present. Don’t pass a clock based only on a pretty mid-packet slice.
The Ethernet PHY That Starved for a Clean Refclk
An Ethernet PHY link flapped when a nearby DC-DC entered discontinuous behavior. Early long-ground screenshots looked only slightly ugly, so register dumps started early.
Refclk at the PHY pins with a short spring tip, time-aligned to the local rail, tracked edge mess to rail hash more than a crystal lot story.
Local decoupling cleaned up, the clock return left the switcher hot loop, and every FA plot carried probe method notes after that week in our lab.
Flaps disappeared under the same traffic. In our notes, clock debug starts with probe honesty and rail honesty before protocol blame, and we won’t accept a clock screenshot without the ground method written on it.
Make Clock Checks a Gate Before Protocol Blame
A dirty clock makes every protocol look buggy, so amplitude, edges, and rail correlation at the pin that samples deserve a look before SPI init or PHY registers take the blame. Probe method is part of the evidence: short ground, known loading, and bandwidth notes on the screenshot. Burst clocks, crystal references, and differential clock pairs need slightly different pass/fail thinking, but supply bounce modulating a reference is a common shared villain. Crystal keepouts and series damping values should stay controlled so a manufacturing ECO can’t silently detune the edge. No probe method on the plot means the plot isn’t ready for an FA file.
Need Help With Unstable On-Board Clocks?
Send the clock schematic, layout, scope shots with probe details, and which receivers fail. We separate measurement artifact from real integrity issues. Start with a PCB design review.
Frequently Asked Questions
Why does my frequency counter read wrong on SSC clocks?
Spread-spectrum modulates frequency; use appropriate measurement methods.
Can a series resistor fix all clock rings?
It can damp edges; too large creates timing and amplitude problems.
Where do load capacitors go for a crystal?
Close to the crystal/vendor reference layout, with a tight ground return.
Should clocks cross plane splits?
Avoid. If unavoidable, provide a path for return current.
How fast a probe do I need?
Fast enough that the edge you care about is not an artifact of the instrument.
Related Reading
- PCB Communication Interfaces Guide
- Why Use Series Resistors in Signal Lines
- SPI Communication Protocol
- LVDS
- QSPI
- I2C
- RS485
- Why Different Communication Interfaces
References
- NXP Semiconductors – I2C-bus specification and user manual (UM10204): https://www.nxp.com/docs/en/user-guide/UM10204.pdf
- Texas Instruments – RS-485 design and application resources: https://www.ti.com/interface/rs-485/overview.html
- Texas Instruments – LVDS application and design resources: https://www.ti.com/interface/high-speed-serdes/lvds-m-lvds-pecl/overview.html
- JEDEC – serial flash / memory standards hub: https://www.jedec.org/
- IPC – acceptance and design standards overview: https://www.ipc.org/
- IEC – International Electrotechnical Commission: https://www.iec.ch/
- USB-IF – specifications (for high-speed interface practice context): https://www.usb.org/documents
- IEEE Standards Association: https://standards.ieee.org/



