Crystal or Oscillator: Choosing the Clock Source

Crystal or Oscillator: Choosing the Clock Source

Crystal or Oscillator: How to Choose the Clock Source

A crystal is a resonator that needs a circuit around it. An oscillator is a complete clock in a package. The choice is mostly about accuracy, startup and how much of the design you want to own.

Quick Answer

  • Crystal (XTAL): cheapest, needs load capacitors and an MCU oscillator circuit, typically ±10–50 ppm.
  • Oscillator (XO): power in, clock out, no load-cap design, typically ±20–50 ppm, better jitter and faster start.
  • TCXO / OCXO: ±0.5–2 ppm / ±0.001–0.05 ppm, for radio and timing references.
  • Resonator: cheapest of all, ±0.3–0.5 %, for non-critical timing only.

1. The basic difference

Crystal with MCU inverter and load capacitors versus a complete oscillator
Figure 1 — Left: a resonator in the MCU's feedback loop. Right: a device that outputs a clock by itself.

A crystal is two plates of quartz: at its resonant frequency it behaves like a very high-Q inductor-capacitor pair. It does not oscillate on its own — it needs an amplifier with the right phase and enough gain, which is why the MCU has oscillator pins and why load capacitors matter.

An oscillator contains the resonator, the amplifier and usually a buffer, in one package. You power it and get a clock. That removes the load-capacitor design, the negative-resistance test and most of the layout sensitivity — at a cost.

The trade is simple: with a crystal you own part of the oscillator design. That means choosing load capacitors from CL, checking the negative resistance, and controlling stray capacitance. With an XO you own none of it — but you pay more per part and you depend on the vendor's specified jitter and stability.

2. Accuracy classes

Type Typical stability Use
Ceramic resonator ±0.3–0.5 % Non-critical MCU timing
Crystal (XTAL) ±10–50 ppm MCU, USB, general digital
XO (MEMS or quartz) ±20–50 ppm Simple clock, fast start, robust
TCXO ±0.5–2 ppm Radio, GNSS, timing
OCXO ±0.001–0.05 ppm Instrumentation, base stations
Stability versus relative cost for crystal, MEMS, XO, TCXO and OCXO
Figure 2 — Roughly: every order of magnitude in stability costs several times more.

3. Startup and jitter

Typical startup time for crystal, MEMS, XO and TCXO
Figure 3 — A crystal may take milliseconds; a MEMS or XO starts in microseconds to a millisecond.

Startup matters when the product must be ready quickly after power-up, or wakes from sleep repeatedly. A crystal's startup depends on the oscillator gain and the resonator's Q and ESR; an XO is specified as a number in the datasheet.

A practical example: a sensor node that wakes every 100 ms cannot afford a 3 ms crystal startup on every wake, because the radio must be ready before the protocol window. An XO or MEMS that starts in tens of microseconds changes the power budget.

Illustrative phase noise comparison between an oscillator and a crystal with MCU inverter
Figure 4 — Stability is not jitter. Two clocks at the same ppm can have very different phase noise.

For data converters, Ethernet and SerDes, jitter (phase noise) is the relevant number, not frequency tolerance. A cheap XO with poor phase noise can be worse than a crystal driven by a good oscillator circuit, even though its ppm figure looks better.

3b. What ppm means in practice

50 ppm is 50 parts per million, or 0.005 %. At 1 MHz that is 50 Hz; at 100 MHz it is 5 kHz. For a UART at 115200 baud, 2 % is tolerable — ppm is irrelevant. For a time-of-day clock, 50 ppm is 4.3 seconds per day, which matters a great deal.

Application Tolerable error Practical source
UART / SPI ±1–2 % Resonator or crystal
USB full speed ±2500 ppm Crystal
Ethernet ±50 ppm Crystal or XO
RTC ±20 ppm Tuned crystal or TCXO
GNSS / radio ±0.5–2 ppm TCXO

4. What changes on the board

Item Crystal Oscillator
Load capacitors Required, calculated from CL None
Layout sensitivity High; stray capacitance matters Lower; keep the clock trace clean
Power From the MCU oscillator Own supply pin, needs decoupling
Enable / standby MCU-controlled Often has an enable pin
Output type Sine-ish at the pins CMOS, LVDS, LVPECL

If the oscillator output is differential (LVDS/LVPECL), it needs termination and a receiver that matches. A CMOS XO into a differential clock input needs a converter or a different part — a mismatch that shows up as a clock that "looks fine" but has terrible jitter.

5. When to choose which

Decision table for crystal, oscillator, TCXO or resonator
Figure 5 — Four questions; the answer is usually obvious once accuracy and startup are known.
  1. Accuracy over temperature? If you need better than ±10 ppm, a TCXO is the practical answer; a crystal plus software calibration can work but is fragile.
  2. Startup? If the product must be ready in microseconds, use an XO or MEMS, not a crystal.
  3. Board space and complexity? An XO removes two capacitors and the load-cap calculation.
  4. Cost? A crystal is cents; an XO is dollars; a TCXO is several dollars; an OCXO is tens.

For the crystal design side — CL, negative resistance and drive level — see the crystal startup guide. For the clock line layout, the same rules as any high-speed pair apply.

5b. Cost and space

Part Indicative unit cost Board space
Resonator cents Small
Crystal cents Small, plus two capacitors
XO about a dollar Larger can
TCXO several dollars Larger, needs clean supply
OCXO tens of dollars Module with heater

6. FAQ

Can I replace a crystal with an oscillator?

Only if the MCU has a clock input pin. Many MCUs accept either an external crystal or an external clock on the same pin; check the datasheet before wiring.

Is MEMS as good as quartz?

For many digital designs, yes — MEMS is robust, programmable and starts fast. For precision timing, quartz TCXO/OCXO still wins on stability and phase noise.

Why does my oscillator draw more current than expected?

CMOS output stages draw current proportional to load capacitance and frequency, plus the core. Check the output loading and any unused outputs.

Do I still need load capacitors with an XO?

No. The oscillator contains its own resonator and feedback. Adding capacitors to its output only loads the driver.

What about a resonator to save cost?

Acceptable for non-critical timing at ±0.3–0.5 %. Not for USB, UART at high baud, or anything that needs ppm accuracy.

Can I use a crystal for a radio reference?

Only with calibration over temperature, and even then it drifts. A TCXO is the usual answer for radio and GNSS.

7. Sources

Choosing a clock source?

Send the required accuracy, temperature range, startup and jitter budget. We will narrow it to a crystal, XO or TCXO before you commit.

Send a BOM Our traceability process

Check stock by part number

Turn this insight into a sourcing decision.

Need pricing or a drop-in alternative? Submit a BOM / RFQ or talk to our team.