Skip to content
If this is your first visit, please click here to learn about shipping and delivery.
If this is your first visit, please touch here to learn about shipping and delivery.
Assorted SMD Crystal Pack - 35 Pieces

Choosing SMD Crystals for Microcontrollers: Load Capacitance, Startup and Clock Accuracy

A microcontroller board can contain the correct frequency crystal and still start unreliably or run slightly off frequency. The crystal and the oscillator circuit form a system: load capacitance, losses, drive level, PCB layout and configuration all affect the result.

This guide explains what to specify when choosing from the SMD crystal collection. The assorted HC-49 SMD crystal pack provides several listed frequencies for experimentation, but frequency and package alone are not enough to establish compatibility with every microcontroller.

Distinguish a crystal from an oscillator module

A passive quartz crystal needs a suitable oscillator circuit. Many microcontrollers contain that circuit and expose dedicated crystal pins. A complete oscillator module includes active circuitry and produces a clock output when powered according to its specification.

Those devices are not interchangeable simply because their frequency labels match. A crystal connection and an external-clock input mode have different requirements. Epson's crystal-device glossary explains the distinction between a crystal unit and an integrated oscillator.

For the PMD Way assortment, use the actual component identification and documentation to confirm the passive crystal characteristics. Do not apply supply voltage directly to a two-terminal crystal as if it were a powered oscillator.

Make a compatibility checklist

Crystal information needed beyond frequency
Specification Why it matters
Oscillation mode The circuit must support the intended fundamental or overtone operation
Load capacitance Sets the loading for the specified frequency
Equivalent series resistance Affects the oscillator's ability to start reliably
Maximum drive level Limits power applied to the crystal
Tolerance and stability Define the application's frequency-error budget
Package and footprint Determine physical fit and layout

Compare those properties with the exact microcontroller datasheet. A crystal that worked with one MCU is useful evidence for that design, not a universal reference for every oscillator input.

Epson's oscillator evaluation notes describe frequency matching, negative resistance and drive-level checks. For a production design, use a traceable crystal part number with the information needed to perform those checks.

Calculate load capacitance instead of copying 22pF

In a common Pierce arrangement, two capacitors connect from the oscillator nodes towards the reference plane. Their series-equivalent contribution combines with the effective parasitic capacitance seen by the crystal. Internal pin capacitance and PCB layout are therefore part of the calculation.

For a simplified first estimate, CL is approximately C1 × C2 divided by C1 + C2, plus an effective stray term. If C1 and C2 are equal, their contribution is half the value of either capacitor. This is why a crystal specified for 12pF load does not automatically require two 12pF capacitors.

As a hypothetical example, a 12pF target and an effective 3pF stray contribution would suggest two equal 18pF external capacitors in that simplified model. The real design may differ because the MCU's internal capacitances and definitions must be handled correctly.

Microchip's external-oscillator guidance provides an example that includes internal and external capacitances. Use the model specified for your device rather than treating a familiar capacitor value as a rule.

Keep frequency accuracy separate from startup reliability

A circuit can oscillate at an acceptable frequency while having too little startup margin. It may then fail at a different temperature, supply voltage or production tolerance. Conversely, a reliably starting circuit may still miss a communication or timing accuracy requirement.

ST's AN2867 oscillator design guide covers oscillator matching, drive level and layout. Its device-specific procedures are valuable references, but their numerical settings should not be copied to an unrelated MCU without checking its documentation.

For a clock-error example, 30 parts per million corresponds to 30 millionths of the nominal frequency. At 16MHz, that is 480Hz; accumulated over one day, the same fractional timing error is about 2.6 seconds. These are arithmetic illustrations, not specifications for the assortment.

Lay out the oscillator as a sensitive circuit

Place the crystal and associated components according to the MCU manufacturer's layout guidance. Keep the intended connections short and avoid routing unrelated fast signals through the oscillator area. Use the recommended grounding arrangement rather than extending crystal connections around other components.

Check the actual HC-49 SMD dimensions against the footprint. Package names can describe a family rather than a complete land pattern. Also allow enough mechanical clearance that a shield or enclosure cannot press on the component.

A solderless breadboard or long adapter wires can add uncontrolled loading. Use such experiments to learn the principle, then validate the clock on the real PCB before drawing conclusions about production reliability.

Measure without changing the thing being measured

An oscilloscope probe can add enough capacitance to disturb an oscillator node. If the circuit starts or stops when probed, that is a clue about loading, not proof that the probe fixed the design.

Where available, configure a documented buffered clock-output function and measure there. If direct oscillator-node measurement is necessary, follow the manufacturer's low-capacitance probing method and understand its limits. Do not infer crystal drive power from an arbitrary voltage reading alone.

Verify configuration and repeatability

Confirm the selected clock source, oscillator mode, startup delay and any drive-strength settings. Firmware can compile correctly while expecting a different clock, producing incorrect serial baud rates or timing.

Compare more than one assembled board when possible; a single successful sample does not reveal the full effect of component and assembly variation.

Test repeated cold starts and the expected operating range, and retain a recovery method for clock-configuration mistakes. Record the crystal part number, load components, PCB revision and measurement conditions. A dependable clock is a verified combination of components, layout and configuration, rather than a frequency label on a metal can.

Previous article Battery Power for Arduino Projects: Voltage Range, Runtime and Regulator Heat