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
| 产品状态Product Status活性 |
描述 | 版本 | 大小 |
---|---|---|
DB2711: STM8AF and STM8S HSI oscillator calibration using LIN automatic resynchronization | 1.0 | 115 KB |
产品型号 | Version | Marketing Status |
---|---|---|
STSW-STM8077 | 1.0.0 | Active |