STMicroelectronics STM8S, STM8A and STM32 Oscillator Design Guide Application Note

This STMicroelectronics application note explains Pierce oscillator theory and provides design guidelines, component selection, and PCB tips for STM8S…


STMicroelectronics STM8S, STM8A and STM32 Oscillator Design Guide Application Note - cover page
Brand
STMicroelectronics
Category
Other
Document type
Application Note
Language
English
Pages
42
File format
PDF
File size
2.8 MB
Published
28 September, 2026
Updated
28 September, 2026
MD5 checksum
1D7EAEF0D0504B80553DBBFC8D7AFE0D

About this manual

The document introduces the basics of the Pierce oscillator, describes the negative‑resistance oscillator principle, and shows how to calculate key parameters such as drive level and external resistor values. It also gives practical PCB layout recommendations and safety‑factor calculations for reliable oscillator operation.

Sections cover oscillator theory, detailed Pierce‑oscillator design, step‑by‑step crystal and component selection for STM8S/STM8A/STM32, recommended resonators, stability improvement tips, and a FAQ that answers common design questions.

What's inside

  • Oscillator theory
  • Pierce oscillator design
  • Guidelines for selecting suitable crystal and external components
  • Recommended resonators for STM32 microcontrollers
  • Tips for improving oscillator stability
  • FAQs
  • Conclusion

Specifications

Negative‑resistance to ESR ratio for HSE oscillators>5
Negative‑resistance to ESR ratio for LSE oscillators>3
Load capacitance CL for 8 MHz crystal to achieve exact frequency4.02 pF

Frequently asked questions

What ratio of negative resistance to crystal ESR is recommended for STM32 HSE oscillators?

The document recommends a ratio higher than 5 for HSE oscillators.

What load capacitance is needed for an 8 MHz crystal to oscillate at its nominal frequency?

A load capacitance of 4.02 pF should be used.

Where can I find guidelines for selecting a crystal for STM32 microcontrollers?

Section 4 of the note provides detailed guidelines for selecting suitable crystals and external components for STM32 devices.

What PCB design recommendations are given to improve oscillator stability?

The note includes PCB layout guidelines, guard‑ring grounding, and separate ground planes to enhance oscillator stability.

Download PDF (2.8 MB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →