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
Description | Version | Size |
---|---|---|
DB2711: STM8AF and STM8S HSI oscillator calibration using LIN automatic resynchronization | 1.0 | 114 KB |
Description | Version | Size |
---|---|---|
SLA0048: Mix Liberty + OSS + 3rd- party V1 - SOFTWARE LICENSE AGREEMENT | 2.18 | 112 KB |
型号 | Software Version | Supplier |
---|---|---|
STSW-STM8077 | 1.0.0 | ST |