AN3258 STM8A/S HSI Oscillator Calibration Using LIN Automatic Resynchronization Application Note

This application note describes a method to calibrate the STM8A/S high-speed internal (HSI) oscillator using the LIN automatic resynchronization feature of the LINUART/UART1 peripheral.


AN3258 STM8A/S HSI Oscillator Calibration Using LIN Automatic Resynchronization Application Note - cover page
Brand
STMicroelectronics
Document type
Application Note
Language
English
Pages
16
File format
PDF
File size
176 KB
Published
07 August, 2012
Updated
30 September, 2023
Model
STM8A
MD5 checksum
9340444CE4F661DF064FFAC8C52CAB80

About this manual

The document details how to use the LIN bus standard's sync field to synchronize and calibrate the variable internal RC oscillator of STM8A/S microcontrollers. This technique allows slave nodes to save costs by avoiding external crystal or resonator oscillators, as they can derive their system clock from the calibrated HSI.

What's inside

  • HSI calibration
  • HSI trimming bits
  • LIN automatic resynchronization
  • HSI calibration method
  • LIN header error handling
  • LIN divider update method
  • LIN clock deviation

Frequently asked questions

What is the nominal frequency of the STM8A/S HSI oscillator?

The nominal frequency (fys) of the HSI oscillator is 16 MHz.

What are the factory calibration conditions for the HSI oscillator?

The device is calibrated at an ambient temperature of 25 °C and a supply voltage of 5 V.

What is the accuracy of the HSI oscillator for overall temperature and voltage range?

The accuracy for the overall temperature and voltage range is +5 %.

Download PDF (176 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →