Crystal Design Guide: Matching a Quartz Crystal to Your Oscillator Circuit

A quartz crystal does not oscillate on its own. It sets the frequency of an oscillator circuit, and the same crystal can behave differently on two boards. Most problems blamed on a bad crystal, such as slow start-up, failure to start at power-on, frequency offset or drift, come from a mismatch between the crystal and the circuit around it.

  • Load capacitance: why the board frequency differs from the crystal
  • Negative resistance: the start-up safety margin
  • Drive level: neither too high nor too low
  • How to correct offset, migrate packages and troubleshoot

The Pierce oscillator in brief

Almost every MCU, SoC and RF chip drives its crystal with a Pierce oscillator. An inverting amplifier inside the IC supplies the energy the crystal loses each cycle. The feedback resistor Rf biases the amplifier and is often built into the IC. The optional series resistor Rd limits the current through the crystal. The two load capacitors C1 and C2 set the frequency at which the loop oscillates.

IC (MCU, SoC or RF chip)XINXOUTRfRdlimits drive levelX'talC1C2Load seen by the crystalC1·C2 / (C1+C2)+ C stray
Typical Pierce oscillator. Start from the component values in your IC datasheet, then fine-tune on the real board.

Typical starting values, fundamental-mode crystals

FrequencyRfRdC1 / C2
4 to 30 MHz100 kΩ to 1 MΩ0 to 1 kΩ5 to 33 pF
30 to 60 MHz100 kΩ to 1 MΩ0 to 1 kΩ3 to 12 pF

Third-overtone crystals need an additional LC network that suppresses the fundamental response, so the oscillator locks onto the overtone.

Load capacitance and frequency accuracy

A crystal is calibrated to its nominal frequency at a specified load capacitance, CL. On your board the crystal sees an effective load of C1 × C2 / (C1 + C2) + Cstray, where the stray capacitance of the IC pins and PCB traces is typically 2 to 5 pF.

Example: with C1 = C2 = 18 pF and 4 pF of stray capacitance, the board presents 9 + 4 = 13 pF. A 12 pF crystal is a close match; an 18 pF crystal on the same board would run noticeably fast.

If the board load is…the frequency runs…
Higher than the crystal’s CLLow
Lower than the crystal’s CLHigh

Trim sensitivity. The lower the CL, the more the frequency moves for each pF of change: a crystal specified around 12 pF can shift roughly twice as many ppm per pF as one specified at 18 pF. A low-CL crystal is easier to start and to pull, but more sensitive to capacitor tolerance and layout.

Load capacitance options for each series are listed on the SMD crystals page.

Negative resistance: the start-up margin

Negative resistance (−R) is not a property of the crystal. It describes how much gain the oscillator circuit offers, seen from the two crystal pins at the operating frequency. For reliable start-up, |−R| must be comfortably larger than the crystal’s equivalent series resistance (ESR).

ApplicationMinimum |−R|
General consumer≥ 5 × ESR (max.)
Automotive, industrial, wide temperature≥ 10 × ESR (max.)
IC (MCU, SoC or RF chip)XINXOUTRfRdlimits drive level① VRX'tal② Scopecurrent probeC1C2
Measurement set-up. ① Negative resistance: potentiometer in series with the crystal. ② Drive level: current probe on the crystal lead.

How to measure it

  1. Insert a small precision potentiometer (VR) in series with one crystal pin on the real board.
  2. Start at 0 Ω and confirm the oscillator runs normally.
  3. Slowly increase VR until oscillation stops.
  4. Remove the potentiometer and measure its resistance at that point.
  5. Calculate |−R| = VR + ESR.

Watch the oscillation on a buffered clock output or a spectrum analyzer, so a probe on the crystal pins does not load the circuit, and repeat the test at the temperature and supply-voltage extremes.

If the margin is too small

  • Reduce C1 and C2. This raises |−R| but also raises the frequency, so re-check accuracy.
  • Choose a crystal with a lower CL rating or a lower ESR.
  • Reduce or remove Rd.

Drive level: neither too high nor too low

Drive level (DL) is the power dissipated in the crystal while it oscillates. Every crystal has a maximum rating, and smaller packages generally tolerate less power; see the drive level column on the SMD crystals page.

Too much driveToo little drive
Frequency instability and permanent frequency shift
Faster aging, higher ESR, lower Q
Spurious oscillation and drive-level dependency (DLD)
In extreme cases, a cracked quartz blank
Slow or unreliable start-up, especially when cold
Lower signal-to-noise ratio and more short-term jitter

For most designs, roughly 10 to 100 µW, and never above the rating of the part you use, gives the best long-term stability. Do not raise the drive level just to get a larger output swing.

How to measure it

Clip a current probe on the crystal lead (② in the set-up above) and read the RMS current I on an oscilloscope. Then:

DL = I² × RL, where RL = R1 × (1 + C0 / CL)²

R1 is the crystal’s motional resistance and C0 its shunt capacitance, both available from the datasheet or a crystal analyzer.

If DL is above the rating, add or increase the series resistor Rd on the IC output (for example 0 Ω → 33 to 470 Ω), then confirm |−R| still has enough margin.

Correcting a frequency offset

First measure the crystal on its own at its specified CL, then measure the frequency on the board. If the board is off, correct it in this order:

Board frequency1st: change PCB capacitors2nd: change crystal CLLast resort
Too highIncrease C1 / C2Crystal with a lower CLCrystal with a negative frequency offset
Too lowDecrease C1 / C2Crystal with a higher CLCrystal with a positive frequency offset

Changing C1 and C2 also changes the negative-resistance margin. Re-check |−R| after every change.

Choosing and migrating crystals

Fundamental or overtone?

Some frequencies, around 40 to 50 MHz for example, are available both ways. Choose fundamental mode when the design pulls or tunes the frequency; choose third overtone when stability and accuracy come first and the circuit includes the required LC network.

Moving from a leaded HC-49 to an SMD crystal

  • Drive level: leaded HC-49 crystals tolerate around 1 mW; SMD crystals are rated well below that.
  • ESR: smaller crystals usually have a higher ESR, so verify the |−R| margin again.
  • Pullability: SMD crystals pull roughly half as much, which matters if the design trims the frequency.
  • C0 and sensitivity: the shunt capacitance differs, and small packages react more to drive-level changes.

Treat a package change as a redesign of the oscillator and re-verify CL, |−R| and drive level on the final board. For the closest footprint to a leaded HC-49, see ENX-49SMD; for new compact designs, ENX-3225A is a common choice.

Troubleshooting checklist

SymptomLikely causeWhat to do
Sometimes fails to start at power-on|−R| margin too lowReduce C1 / C2, use a lower-CL or lower-ESR crystal, reduce Rd
Board frequency off by tens of ppmBoard load does not match the crystal CLAdjust C1 / C2 or the crystal CL (see correcting an offset)
Frequency drifts upward after start-upDrive level above the ratingAdd or increase series resistor Rd
Matching looks fine but some units fail system testsNarrow system frequency window, or IC sensitive to ESRMeasure the usable window, then tighten tolerance or ESR limit, or use an asymmetric tolerance
Fails only at temperature extremesMargin too small across temperatureRe-measure |−R| and frequency at minimum and maximum temperature

Application examples

Typical situations from oscillator matching work, summarised without customer data.

PC peripheral

Symptom
Frequency crept upward after start-up and the link dropped.
Finding
The IC drove the crystal at about three times its rated drive level.
Fix
A series resistor on the oscillator output brought the drive level within rating.

Video system

Symptom
Wrong video mode after power-on.
Finding
The board ran tens of ppm fast: its load was well below the crystal’s 18 pF CL.
Fix
A 12 pF crystal on the same board brought the frequency back to centre.

Consumer device

Symptom
Intermittent boot failure.
Finding
The |−R| margin was only about 3.5 × ESR, and the board ran about 30 ppm low.
Fix
Reducing both load capacitors from 33 to 27 pF raised |−R| into the safe range and moved the frequency toward nominal.

Set-top box

Symptom
Frequency rejects in pilot production.
Finding
The IC pulled the frequency upward on crystals near the top of the ESR range.
Fix
A tighter ESR limit and an asymmetric frequency tolerance.

Automotive infotainment

Symptom
Customer required |−R| ≥ 10 × ESR.
Finding
The 18 pF design reached only about half the required margin.
Fix
Moving to a 12 pF crystal met the requirement with no layout change.

Wi-Fi and Bluetooth modules usually need a system-level check as well: the usable frequency window and ESR tolerance are tested unit by unit on the customer’s own firmware.

Free matching support: what to send us

Free matching service

We measure on-board frequency, negative-resistance margin and drive level free of charge, then recommend load capacitors or a crystal specification that fits.

If you would like help matching a crystal to your design, please share:

  1. An engineering contact and the project name
  2. System requirements: frequency accuracy, operating temperature and supply voltage
  3. The crystal used or planned, with its full specification
  4. The IC part number and the oscillator component values (C1, C2, Rd, Rf and any inductors)
  5. Sample boards, with their power and accessory connections

FAQ

My crystal is in spec on its own but off frequency on my board. Why?

The board’s effective load capacitance differs from the crystal’s specified CL. See load capacitance to calculate it and correcting an offset to fix it.

What negative-resistance margin should I design for?

At least 5 × the crystal’s maximum ESR, and 10 × for automotive, industrial or wide-temperature designs.

Is a higher drive level better because the signal is stronger?

No. Running above the rated drive level speeds up aging, can shift the frequency permanently and can crack the crystal. Use the lowest drive level that still starts reliably.

Can I replace an HC-49 crystal with an SMD crystal without changing the board?

Sometimes, but always re-check drive level, ESR margin and pullability first. See choosing and migrating crystals.

Should I choose a low-CL or a high-CL crystal?

A low CL (for example 8 to 12 pF) starts more easily, needs less power and suits small, low-power ICs. A higher CL is less sensitive to stray capacitance. Follow the IC vendor’s recommendation, then fine-tune on the board.

SPECIFICATIONS ARE SUBJECT TO CHANGE WITHOUT NOTICE. Values in this guide are typical design guidelines. Confirm ratings against the datasheet of the part you use and against your IC vendor’s recommendations.

Request free matching Send your IC part number, schematic and crystal specification. We reply within one working day.