Crystal Oscillators
Quartz crystals vibrate at an extremely stable frequency — the clock of every microcontroller.
Intermediate
A quartz crystal is piezoelectric: it behaves electrically like an LC circuit with a very high quality factor (Q of 10⁴–10⁶), so its frequency is precise to tens of ppm.
Microcontrollers use a Pierce oscillator: the crystal plus two load capacitors to ground. Calculate them from the crystal's load capacitance :
with ≈ 2–5 pF. A 32.768 kHz crystal ( Hz) runs real-time clocks: divide by two 15 times to get exactly 1 Hz.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.