Overview
Tools & Software
Resources
Solutions
Quality & Reliability
Sales Briefcase
eDesignSuite
Get Started
Sample & Buy
Partner products
  • This document provides a firmware example (STSW-STM8077), showing a way to calibrate the STM8AF or STM8S high-speed internal oscillator (HSI), when the STM8 is used as a LIN bus slave node.

    The LINUART automatic resynchronization feature allows to compensate any possible HSI frequency deviation. It allows to maintain the LIN communication on the complete voltage and temperature range. On top of that, this example shows how to calibrate the HSI, thanks to the value updated by the automatic resynchronization in the LINUART baudrate registers.

    Key Features

    • HSI calibration from the LIN frame sync field
    • HSI calibrated after few frames received
    • HSI frequency maintained in spite of temperature and voltage variation

Get Software

00 Files selected for download

Technical Documentation

    • Description Version Size Action
      DB2711
      STM8AF and STM8S HSI oscillator calibration using LIN automatic resynchronization
      1.0
      114.57 KB
      PDF
      DB2711

      STM8AF and STM8S HSI oscillator calibration using LIN automatic resynchronization

Presentations & Training Material

    • Description Version Size Action
      STM32 and STM8 embedded software solutions 7.0
      3.12 MB
      PDF

      STM32 and STM8 embedded software solutions

Legal

    • Description Version Size Action
      SLA0048
      Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT
      5.4
      87.58 KB
      PDF
      SLA0048

      Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT