STMicroelectronics Oscillator Design Guide for STM32 and STM8A/S Microcontrollers

This application note provides guidelines for designing Pierce oscillators, selecting crystals, and optimizing PCB layouts for STM32 and STM8A/S…


STMicroelectronics Oscillator Design Guide for STM32 and STM8A/S Microcontrollers - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
24
File format
PDF
File size
307 KB
Published
12 October, 2026
Updated
12 October, 2026
MD5 checksum
9332A7A1BE3B397CDA31FB7E580BF498

About this manual

This document introduces the basics of Pierce oscillators and explains how to determine the necessary external components for a stable design. It covers oscillator theory, the specific requirements for feedback resistors and load capacitors, and methods for calculating drive levels and external resistors.

The guide also includes an easy selection guideline for suitable crystals and external components, lists recommended crystal part numbers for specific applications, and offers practical hints for PCB layout to ensure reliable operation.

What's inside

  • Quartz crystal properties and model
  • Oscillator theory
  • Pierce oscillator
  • Pierce oscillator design
  • Feedback resistor RF
  • Load capacitor CL
  • Drive level DL and external resistor RExt calculation
  • Startup time
  • Crystal pullability
  • PCB hints

Specifications

Recommended feedback resistor range for 32.768 kHz10 to 25 MΩ
Recommended feedback resistor range for 1 MHz5 to 10 MΩ
Recommended feedback resistor range for 10 MHz1 to 5 MΩ
Recommended feedback resistor range for 20 MHz470 kΩ to 5 MΩ

Frequently asked questions

What is the role of the feedback resistor RF in ST microcontrollers?

RF is embedded in the oscillator circuitry to make the internal inverter act as an amplifier by biasing it at Vout = Vin.

When is the external resistor RExt mandatory?

RExt is mandatory only if the dissipated power in the crystal exceeds the drive level specified by the crystal manufacturer.

Download PDF (307 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →