Crystal Oscillators vs MEMS Oscillators: Pros, Cons, and Use Cases
Crystal Oscillators vs MEMS Oscillators: Pros, Cons, and Use Cases
Most digital circuits need a clock. If the clock is unstable, everything gets unstable: USB fails, radios drift, MCUs misbehave, and timing goes wrong. The two most common clock sources today are:
• Quartz crystal-based clocks (crystals + oscillator circuits)
• MEMS oscillators (silicon-based micro-mechanical oscillators)
They both “make a frequency,” but they behave differently in cost, stability, robustness, startup, and supply chain.
This guide explains when to use crystals vs MEMS—and how to choose without overthinking.
⸻
First: what’s the difference?
Crystal (quartz) clock
A quartz crystal is a resonator. It does not generate a clock by itself—it needs an oscillator circuit (either inside the MCU or in an external IC). Many MCUs have an internal oscillator driver, so you only add:
• crystal
• two load capacitors (often)
• sometimes a resistor
This is why crystals are cheap and common.
MEMS oscillator
A MEMS oscillator is typically a complete clock module: it already includes the oscillation circuit and outputs a ready-to-use clock signal.
This is why MEMS parts can be easier to design with and more robust, but usually cost more.
⸻
When you should use a crystal
Crystals are usually best when:
• you want lowest cost
• you need common clock frequencies
• you already have a MCU that supports crystal input easily
• your environment is not extreme (high shock/vibration) or you can manage layout well
Common use cases:
• Basic MCU clocks (8MHz, 16MHz, 24MHz)
• RTC crystals (32.768kHz)
• Many low-cost consumer products
• High-volume designs where BOM cost is critical
Pros:
• Very low cost
• Low power in many applications
• Huge part availability across many vendors
Cons:
• More sensitive to PCB layout and noise
• Can be affected by shock/vibration (microphonics)
• Startup time may be longer depending on design
• Frequency accuracy depends on load caps and board conditions
⸻
When you should use a MEMS oscillator
MEMS oscillators are usually best when:
• you need higher robustness
• you want simpler design and fewer tuning/layout problems
• you care about reliability under vibration/shock or harsh environments
• you want better supply chain flexibility in some cases (depends on exact part family)
Common use cases:
• Industrial systems with vibration
• Automotive-like environments (when qualified)
• Systems with frequent shock (portable devices)
• Designs where board layout is crowded/noisy and crystal placement is hard
• Timing-critical digital interfaces (when jitter specs fit)
Pros:
• More robust to vibration and mechanical stress
• No external load capacitors needed (in most cases)
• Clock output is more “plug and play”
• Often better consistency across PCB builds
Cons:
• Typically higher cost than a crystal
• Power can be higher (depends on part)
• Some MEMS oscillators have more phase noise/jitter than a good crystal solution (important for RF/high-speed)
⸻
Key selection factors that actually matter
1) Accuracy (ppm)
Clock accuracy is often specified in ppm (parts per million).
Typical ranges (rough):
• Basic crystal: ±20 to ±50 ppm (depending on spec and conditions)
• Better crystal/TCXO: lower ppm
• MEMS oscillator: often ±10 to ±50 ppm depending on grade
What it means:
• Lower ppm = better frequency accuracy over temperature/time
When accuracy matters:
• USB, precise baud rates, RF systems, tight timing protocols
⸻
2) Temperature stability
Quartz crystals drift with temperature. MEMS also drifts, but the behavior and compensation can differ.
If your product runs outdoors or industrial environments, consider:
• using a better-grade part
• using a temperature-compensated solution (TCXO) if needed
⸻
3) Startup time
Some systems need the clock to be stable quickly after power-up.
• Crystals can take longer to start and stabilize
• MEMS oscillators can have predictable startup times (check datasheet)
If your product must wake and transmit quickly (battery devices), startup matters.
⸻
4) Jitter / phase noise (important for high-speed and RF)
If you have:
• high-speed serial interfaces
• RF transceivers
• precision ADCs/DACs
Then clock quality matters.
General guidance:
• Good crystal-based solutions often have very low jitter
• Some MEMS oscillators are good, but you must verify jitter/phase noise specs
Don’t guess. This is a datasheet-driven decision.
⸻
5) Layout sensitivity
Crystals are sensitive. Poor layout causes:
• unstable oscillation
• higher EMI
• frequency error
• startup failures
MEMS oscillators are generally easier because they output a digital clock and are less sensitive to stray capacitance.
⸻
6) Mechanical robustness (shock/vibration)
If the product experiences vibration, crystals can:
• shift frequency slightly (microphonics)
• sometimes crack or fail under extreme stress (rare but possible)
MEMS is generally more robust for mechanical stress.
⸻
Common frequencies and which is typical
• 32.768kHz: usually quartz crystal for RTC (very common)
• 8/16/24/26MHz: often quartz crystal for MCU or RF reference
• 48MHz: often generated internally from PLL, using a lower reference clock
• For special timing requirements, external oscillator modules (crystal oscillator or MEMS oscillator) are common
⸻
Decision rules (simple and useful)
Choose a crystal when:
• cost is the priority
• your design is not mechanically harsh
• you can place it close to the MCU and follow layout rules
• you need low jitter and already have a proven reference design
Choose a MEMS oscillator when:
• you want plug-and-play stability and easier layout
• your product experiences vibration/shock
• you want more consistent production behavior
• your layout area near the MCU is noisy/crowded
⸻
Common mistakes (real-world)
• Using a crystal with wrong load capacitance → frequency offset or startup issues
• Placing crystal too far from MCU pins → unstable oscillation
• Routing traces under/near switch nodes or clocks → noise coupling
• Assuming ppm spec covers everything (it doesn’t include all system effects)
• Picking MEMS without checking jitter/phase noise → interface/RF issues
⸻
Practical layout tips for crystals (very important)
If you choose a quartz crystal:
• Place it as close as possible to the MCU pins
• Keep traces short, symmetric, and away from noisy signals
• Use correct load capacitors and grounding
• Avoid running traces under the crystal area
• Follow the MCU vendor reference layout whenever possible
⸻
FAQ
Is MEMS always better than a crystal?
No. For cost and low jitter, crystals often win. For robustness and ease of design, MEMS often wins.
Can I replace a crystal with a MEMS oscillator directly?
Sometimes, but check:
• required input type (crystal pins vs clock input pin)
• voltage levels and frequency
• drive strength and start-up requirements
What about TCXO?
If you need very high accuracy across temperature (GPS, precision RF), a TCXO is often the right choice, regardless of crystal vs MEMS.
FPGA vs MCU vs MPU: Which One Should You Use?
How to Select a Connector: Pitch, Current Rating, and Environment