Skip to content

CLK-19 Crystal tolerance vs the interface that uses it

Severity Status Implementation
warning planned mid, depends on NET-12, CFG-2

Looks at. Crystal ppm (tolerance, stability, aging), interfaces.

What it catches. A crystal whose total error (tolerance at 25 °C + stability over temperature + aging) exceeds what the interface clocked from it allows.

Why it matters. USB high speed allows ±500 ppm and full speed ±0.25 % (USB 2.0 §7.1.11); Ethernet's PHY budget is ±50 ppm in practice (the LAN8720A asks for about ±45 ppm tolerance plus stability, Table 5-13, under IEEE 802.3's ±100 ppm); radios are tighter (Espressif wants the ESP32's 40 MHz within ±10 ppm, ESP32 checklist); CAN FD needs more precision as the data phase gets faster (ISO 11898-1). A crystal picked for "MHz and footprint" often has ±30 ppm tolerance plus ±50 ppm over temperature.

Example. A 25 MHz crystal with ±30 ppm tolerance and ±50 ppm stability on a LAN8720A: up to 80 ppm plus aging, outside the PHY's budget; links work with most switches and fail with some at temperature.

How to check. The crystal's ppm figures from its MPN, the interfaces it clocks (NET-12) and the project's temperature range (CFG-2); sum and compare.

Fix. A tighter crystal, or a TCXO for radios and wide temperature.

References. USB 2.0 §7.1.11; LAN8720A §5.6, Table 5-13; ESP32 checklist (Clock Source); ISO 11898-1, Road vehicles — Controller area network (CAN) — Part 1: Data link layer and physical signalling (by title).