Passive Crystal Load Capacitance CL Matching Calculation and Oscillation Startup Troubleshooting
2026-10-30
The load capacitance CL matching of a passive crystal directly determines the frequency accuracy of the clock signal and the reliability of oscillation startup. In engineering practice, directly equating the CL value in the datasheet to the external matching capacitance is a common mistake that can easily cause excessive frequency deviation or even oscillation failure.
I. Core Theory: Standard Calculation Model for Load Capacitance CL
A parallel-mode passive crystal requires external capacitors to ground (C1, C2) at both terminals to form a complete resonant loop. The nominal load capacitance CL specified in the datasheet is the total equivalent capacitance required to ensure that the crystal operates at its nominal center frequency.
The standard calculation equation is:

Cstray: System stray capacitance. This mainly includes the distributed capacitance of PCB traces and the parasitic capacitance of chip IO pins. This parameter is easily overlooked in engineering, with a typical value range of 2–5 pF.
Symmetric design principle: To simplify the design and optimize the oscillation margin, C1 = C2 = C is usually set. The equation then simplifies to:
Example analysis:
If the crystal datasheet specifies CL = 20 pF and the estimated Cstray is 3 pF, then:
C=2×(20−3)=34 pF
Select the closest standard capacitor value: 33 pF.
⚠️ Key point: Do not directly select a capacitor equal to CL!
II. When Should C1 ≠ C2 Be Used?
The parasitic capacitances of the input and output pins of the MCU internal OSC amplifier are not identical, so C1/C2 can be fine-tuned. This is mainly used for:
Fine-tuning the oscillation margin (optimizing oscillation startup reliability under extreme conditions)
Adjusting frequency offset (fine-tuning the frequency point)
Engineering guideline: In general designs without special specification requirements, priority should be given to maintaining a symmetric design (C1 = C2) to obtain more stable phase noise and temperature drift characteristics.
III. Sources and Estimation of Parasitic Capacitance Cstray
Accurately evaluating stray capacitance is a fundamental skill in hardware design. Its physical sources mainly include:
Internal capacitance of the MCU OSC pins.
Capacitance to ground of crystal pins, pads, and traces.
Coupling from vias and adjacent traces.
Estimation experience:
Compact layout: The crystal is close to the chip and traces are very short; parasitic capacitance is usually 2–4 pF.
Long-trace layout: Long traces and many vias; parasitic capacitance can reach 5–8 pF.
IV. Common Frequency Selection Reference and [RTC Pitfall Avoidance]
The table below lists reference matching parameters for common crystals when the estimated parasitic capacitance is 3 pF:
Crystal Frequency | Typical Recommended CL | Common Capacitor (Parasitic Assumed 3 pF) |
32.768 kHz RTC | 6–12.5 pF | 12.5 pF → 10 pF; 7 pF → 6 pF |
8 MHz | 20 pF | 33 pF |
12 MHz | 20 pF | 33 pF |
16 MHz | 20 pF | 33 pF |
24 MHz | 20 pF | 33 pF |
🚨 RTC 32.768 kHz Pitfall Warning:
For RTC 32.768 kHz crystals, parasitic capacitance accounts for a large proportion. Never directly apply 33 pF! Many RTC crystals have a CL of only 7 pF. If the capacitor is selected too large, it will directly cause failure to start oscillation or frequency deviation.
V. Troubleshooting Logic for Abnormal Oscillation Startup
When facing crystal failure to start or frequency deviation, follow the troubleshooting logic below:
Lookup order: Prioritize the CL value in the crystal datasheet, not the MCU manual.
PCB optimization: Place the crystal as close as possible to the OSC pins, keep traces as short as possible, add ground shielding, and reduce Cstray.
Effect of capacitance deviation:
Capacitance too large: frequency too low, difficult to start oscillation.
Capacitance too small: frequency too high, easy to stop oscillating.
Closed-loop measurement: After actually measuring the frequency deviation, fine-tune the capacitance value.
VI. Quick Calculation Template (Symmetric C1 = C2)
In specific engineering execution, follow the 4-step template below:
Check the crystal: CL = ____ pF
Estimate parasitics: Cstray (board-level) + Cpin (pin) = ____ pF
Apply the formula: C = 2 × (CL − Cstray − Cpin)
Select the capacitor: Choose the closest standard capacitance value.