Calculadora de Capacitor de Carga del Cristal

Selección de capacitores externos para oscilador

Required Parameters

F
F

Waiting for input data...

Ad Placement
Sidebar Adaptive Ad Slot

Quick Answer

Crystal load caps: C_ext = 2 × (CL − C_stray). For CL=12 pF and 3 pF stray → 18 pF per pin. Wrong caps cause UART baud drift.

Documentation

Crystal Load Capacitor Calculator — Clock Accuracy Guide

Use this crystal load capacitor calculator to size the two external caps that match your crystal's datasheet CL spec. Wrong load caps are the #1 cause of UART baud drift and USB timing failures.

Formula

C_ext = 2 × (CL_crystal − C_stray)

Where:

  • CL_crystal — load capacitance from the crystal datasheet (typically 8–20 pF)
  • C_stray — pin + trace + IC input capacitance per pin (usually 2–5 pF)

The two external capacitors appear in series to the crystal; each pin gets the same value C_ext.

Worked example — 16 MHz, CL = 12 pF

Assume C_stray = 3 pF per pin:

  1. C_ext = 2 × (12 − 3) = 18 pF per pin
  2. Use nearest standard: 18 pF or 22 pF C0G/NP0
  3. Verify frequency with a counter — expect ±10–50 ppm shift per ~5 pF error

Common MCU crystal choices

ApplicationFrequencyNotes
General MCU8 / 16 MHzArduino Uno uses 16 MHz
USB full-speed12 MHzExact multiple required
UART-friendly11.0592 MHzZero baud error at 9600–115200
RTC32.768 kHzDivides to exactly 1 Hz

Layout tips

  • Keep crystal traces short (< 5 mm ideal)
  • Place load caps adjacent to crystal pins
  • Use C0G/NP0 for load caps — X7R drift affects ppm stability

Related tools

Design Notes

The crystal's load capacitance (CL) is specified by the manufacturer (typically 8-20pF). The two external caps appear in series to the crystal. Stray capacitance includes pin capacitance (~2pF), trace capacitance (~1-3pF), and IC input capacitance. Wrong load caps cause frequency deviation — too much cap = lower frequency, too little = higher.

Common Mistakes

  • 1

    Using the crystal's CL value directly as the cap value — you need to solve for the series combination.

  • 2

    Forgetting stray capacitance — it can be 3-7pF, significantly affecting small CL crystals.

  • 3

    Placing long traces between crystal and IC — adds stray capacitance and may pick up noise.

Engineering Handbox

1. CL from datasheet = 12 pF 2. Stray per pin = 3 pF 3. C_ext = 2 × (12 − 3) = 18 pF per pin

VerificationUse 18 pF (or nearest 22 pF C0G) on each crystal pin for a 16 MHz MCU clock.

Knowledge Base

¿Cómo calculo los capacitores de carga?

C_ext = 2 × (CL - C_parásita). CL viene del datasheet del cristal (típico 8-20pF). C_parásita incluye pines del IC y trazas PCB (2-5pF).

¿Qué pasa con capacitores incorrectos?

Demasiada capacitancia: frecuencia baja, arranque lento. Muy poca: frecuencia alta, inestabilidad, posible fallo de arranque.

¿Qué cristal elegir para mi MCU?

8 MHz: STM32, AVR general. 12 MHz: USB full-speed. 16 MHz: Arduino. 32.768 kHz: RTC. 11.0592 MHz: elimina error de UART.

¿Cristal vs oscilador MEMS?

Cristal: menor costo, requiere caps externos. MEMS: sin componentes externos, arranque rápido (<1ms), resistente a vibración, más caro.