Skip to content
Documentation sections

Crystal Load Capacitance Calculator

POSThttps://rftools.io/api/py/v1/calculate

Slug crystal-load-capacitance. Calculate actual load capacitance seen by a crystal oscillator, estimate frequency error from spec, and find recommended external capacitor values.

Inputs

Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.

Inputs of crystal-load-capacitance
NameUnitRangeDefaultDescription
clnumberpF1 … 10018Crystal specified load capacitance from datasheet
cstraynumberpF0 … 503PCB stray/parasitic capacitance including IC input capacitance
c1numberpF0.1 … 100022External capacitor 1 (C1 = C2 is typical for symmetric layout)
c2numberpF0.1 … 100022External capacitor 2
eSeriesnumbernone0 … 960Rounds every part to the nearest value in the series; the response and the export are the rounded design's.One of: 0 Ideal values · 12 E12 (10%) · 24 E24 (5%) · 48 E48 (2%) · 96 E96 (1%)

Outputs

Returned in values, by key. A value that is unbounded or undefined is null.

Outputs of crystal-load-capacitance
FieldUnitDescription
clActualheadlinepFActual load capacitance presented to the crystal: (C1||C2) + Cstray
clErrorpFDifference between actual and specified load capacitance
freqErrorppmApproximate frequency error due to load capacitance mismatch
c_recommendedpFRecommended value for each external capacitor (C1 = C2) to hit the specified load capacitance

Calling it

  • Calculate: one call, the request and response in full, and its errors.
  • Batch: this calculator with others, or a sweep, in one request.
  • Solve for a target: the value of one input that brings an output to a target.