Crystal & Circuit Parameters (Use per Section 4 of SDAA503 - for devices with ESR and CL requirements)
(edit to recalculate all steps)
Verify ESR Meets Oscillator Requirements
—Interpolation for CL1 between 12 and 24 pF columns (Eq 2):
ESR_max(CL1) = ESR_max_12 + (ESR_max_24 − ESR_max_12) × (CL1 − 12) / 12
Check: Crystal ESR ≤ ESR_max(CL1)
| Freq (MHz) | Max ESR — CL1=CL2=12 pF (Ω) | Max ESR — CL1=CL2=24 pF (Ω) |
|---|---|---|
| 10 | 55 | 110 |
| 12 | 50 | 95 |
| 14 | 50 | 90 |
| 16 | 45 | 75 |
| 18 | 45 | 65 |
| 20 | 45 | 50 |
Size Load Capacitors CL1 and CL2
—CL1 = CL2 = 2 × (CL_effective − C_stray) (Eq 5)
Estimate Crystal Drive Level — Is Rd Required?
—DL_estimated = ( ESR × (π × f × C_total × Vpp)² ) / 2 (Eq 6, µW)
Rd NOT required if: DL_estimated ≤ DL_max
Rd REQUIRED if: DL_estimated > DL_max
Calculate Dampening Resistor Rd
—P_Rd = I_rms² × Rd (Eq 8)
I_rms = (V_pk_Rd / √2) / Rd (Eq 9)
Rd_estimate = ESR × ( DL_estimated / (0.7 × DL_max) − 1 ) (Eq 10)
Empirical Rd verification (Method 2): Measure V_pk across Rd with active probe, then:
P_XTAL = I_rms² × ESR
If P_XTAL > DL_max → increase Rd; repeat.
Quick-check: crystal power with chosen Rd
Verify Negative Resistance (Rneg) Margin
—Rneg ≥ 5 × ESR (automotive recommended)
ESR_max_allowed = Rneg_typical / 3 (Eq 12)
Rneg_measured = Rx_stop + ESR_actual (empirical test, Section 6.4)
Perform at room temp AND lowest operating temperature. Rneg decreases at low VDD and high temp.
Bill of Materials Summary
| Reference | Component | Value | Notes |
|---|---|---|---|
| XTAL1 | Quartz Crystal | — | Fundamental mode; verify ESR at min operating temp |
| CL1 | Load Capacitor (X1 side) | — | C0G/NP0 dielectric; 0402, 50V |
| CL2 | Load Capacitor (X2 side) | — | C0G/NP0 dielectric; 0402, 50V |
| Rd | Dampening Resistor | — | Series with X2 pin; 0402; adjust empirically |
Generic Pierce Oscillator — First-Principles Derivation
(Use per Appendix A of SDAA503 - for device datasheets with limited oscillator parameters)
Use this section when the oscillator does not provide a pre-tabulated ESR / CL requirement table (e.g. non-C28x/F29x devices, custom oscillator circuits, or early-stage design). Derive ESR_max, CL_max, and a custom frequency table from the inverter transconductance.
A Pierce oscillator sustains oscillation when the inverter negative resistance (Rneg) exceeds the effective crystal resistance (ESR_eff). Rneg is set by the inverter transconductance (gm) and the feedback capacitors. When the oscillator datasheet does not tabulate this, gm can be measured empirically on hardware or estimated from operating conditions.
Eq 14 Rneg = gm_min / (ω² × CL1 × CL2) [Ω, CL in Farads]
Eq 16 ESR_max = Rneg / margin [margin = 3 standard, 5 automotive]
Eq 17 CL_max = √(gm_min / (margin × Rm × ω²)) − C0 [pF, uses Rm not ESR — see Eq 1]
Eq 27 gm_equiv = Rneg_meas × ω² × CL1 × CL2 [back-calc from empirical test]
Eq 32 Δf [ppm] = Cm / (2 × (C0 + CL)) × 10⁶ [pulling from series resonance]
Eq 33 Δf_dev [ppm] = (Cm/2) × (1/(C0+CL_nom) − 1/(C0+CL_actual)) × 10⁶
- Fundamental-mode quartz crystal at target frequency
- Datasheet must state: ESR (or Rm), C0, rated CL
- C0 ≤ 7 pF recommended for adequate Rneg margin
- Cm and Rm preferred — enables exact Eq 17; if only ESR given, tool back-calculates Rm
- Overtone-mode crystals are not compatible with a Pierce inverter
- CL1, CL2: C0G/NP0, ±1% or better, 0402, 50 V — values per oscillator CL spec
- Do not use X7R or Y5V — capacitance shifts with temperature
- Device datasheet or TRM with one of:
- gm_min — minimum transconductance (µA/V or mA/V)
- Rneg vs. CL graph — read Rneg at worst-case CL, solve for gm via Eq 14
- Critical gain (gm_crit) or oscillator gain parameter
- If none available: use Method B (empirical) instead
- No oscilloscope, probe, or signal generator needed for pure calculation
- Optional: PCB for empirical Rneg confirmation (Step 5)
- Candidate crystal soldered to X1/X2 on engineering or production board
- Production CL1, CL2 (C0G/NP0) installed at intended design values
- Rd = 0 Ω (short) or DNP for this measurement
- XCLKOUT pin exposed at a test point or jumper header
- Do not use X7R/Y5V for CL1/CL2 — capacitance error shifts gm_equiv result
- Value: 200–500 Ω total, linear taper
- Type: cermet or wirewound trimmer (e.g. Bourns 3296W-201 or 3296W-501)
- Lead length ≤ 5 mm from X2 pad; stray capacitance < 1 pF
- Position: between X2 device pin and crystal/CL2 node (outside CL2)
- Do NOT use carbon-composition pots above 10 MHz — 2–5 pF parasitic capacitance
- Oscilloscope: bandwidth ≥ 5× f_osc (e.g. ≥ 200 MHz for 40 MHz crystal)
- Active differential probe: input cap < 1 pF, BW ≥ 5× f_osc
- Tektronix P6247/P6248 (1 GHz, 0.9 pF)
- Keysight N2795A (1 GHz, <0.5 pF)
- NEVER use passive 10× probes on X1/X2 — 10–15 pF stops oscillation
- Precision multimeter, 4-wire Kelvin: measure Rx_stop accurately
- DC supply: low noise (<10 mV ripple), set to minimum VDD
- Automotive: add temperature chamber −40 to +125 °C, ±2 °C; repeat at min VDD
- Sinusoidal, 50 Ω output, level 100–500 mV — connect to X1 via 50 Ω series resistor
- Use only when crystal is unavailable for initial gm screening
- Results may differ from crystal-driven value by up to 30% — validate with actual crystal before design freeze
Alternative gm Derivation — CL Sweep (Eq 28/29, no Rx needed)
Swap in progressively larger C0G/NP0 load caps (same value both sides) until oscillation stops. CL_crit is the last value where oscillation was sustained. No series resistor or active probe required — only the precision capacitor kit from Method C.
Margin = (CL_crit / CL_design)² (Eq 29)
3× pass: CL_crit ≥ 1.73 × CL_design 5× (auto): CL_crit ≥ 2.24 × CL_design
Alternative gm Derivation — VDD Sweep (Eq 30/31)
At maximum operating temperature, reduce VDD until oscillation stops. gm at VDD_crit equals the critical transconductance. Margin at VDD_min is estimated from the VDD ratio. Accurate PSU, no PCB modification required.
Margin_est ≈ VDD_min / VDD_crit (Eq 31, first-order linear approx.)
- Same candidate crystal as the design
- BVD parameter Cm (motional capacitance) required — typically in fF
- Source 1: crystal manufacturer characterization sheet — request by part number
- Source 2: measure with impedance analyzer (see below)
- Cm varies part-to-part; use manufacturer's typical or maximum value for worst-case pulling
- Keysight E4990A, E4991B, or Zurich Instruments MFIA
- Crystal fixture: low-parasitic SMD holder, stray inductance < 5 nH (Keysight 16092A or custom)
- Calibrate with SOLT at crystal fixture reference plane
- Do NOT use a basic LCR meter — crystal Q is too high for bridge-type instruments
- C0G/NP0 dielectric only
- Values: 8, 10, 12, 15, 18, 22, 24, 27, 33 pF — cover full oscillator CL range
- Tolerance: ±0.5% or better (±1% acceptable if accuracy requirement > 20 ppm)
- Package: 0402; solder into CL1/CL2 pads for each data point
- Frequency counter: resolution ≤ 1 Hz (e.g. Keysight 53220A)
- Connect to XCLKOUT GPIO — non-invasive; do not probe X1/X2 directly
- Gate time ≥ 100 ms for 10 Hz resolution; ≥ 1 s for 1 Hz resolution
- Allow ≥ 5 min thermal stabilization after each cap swap before recording frequency
When the motional capacitance Cm is known (from the crystal manufacturer's BVD model or impedance characterization), predict the frequency offset from series resonance (Eq 32) and the deviation from rated frequency when using a different load cap (Eq 33).
Computed from gm_min (Method A) or gm_equiv (Method B if Rneg_measured is entered). Each row shows the maximum allowable crystal ESR and the maximum external CL1=CL2 value that preserves the required Rneg margin at that frequency.
| Freq (MHz) | Rneg @ CL=12 pF (Ω) | ESR_max (Ω) | Rneg @ CL=24 pF (Ω) | ESR_max (Ω) | CL_max for design ESR (pF) |
|---|