Key facts
- Brand
- STMicroelectronics
- Model
- AN2658
- Industry
- Industrial
- Documents
- 2
- Languages
- EN
- Last added
- 2012-08-07
Start here

ST AN2658 Application Note(1)
This document provides a comprehensive guide on using the Analog to Digital Converter (ADC) implemented in the STM8S microcontroller family. It details the hardware architecture, distinguishing between the basic ADC2 and extended ADC1 types, and explains their respective capabilities such as resolution, clock selection, and operating modes.
The guide covers configuration of ADC registers for various conversion modes, including single, continuous, and scan modes. It also describes practical applications, hardware connection examples, methods for improving precision, and a specific example of displaying conversion results using LEDs.
STMicroelectronics AN2658 specifications
| Resolution | 10-bit |
|---|---|
| Clock speed | 1 to 4 or 6 MHz |
| Number of input channels | Up to 16 channels |
| Conversion time | 14 clocks |
| Reference voltage range | 2.75V up to Vppa |
Source: ST AN2658 Application Note(1)
All STMicroelectronics AN2658 documents by type
How to use the product for one specific task, with worked examples.
Questions answered in these manuals
What are the two types of ADCs in the STM8 family?
The STM8 family includes a basic ADC type named ADC2 and an extended ADC type named ADC1.
Can the ADC be triggered by an external pin?
Yes, the start of A/D conversion can be triggered by an external pin in addition to software or internal timer events.
What are the operating modes of the STM8 ADC?
The ADC can operate in single mode, where it stops after one conversion, or continuous mode, where it continues converting.
What is the reference voltage range for the ADC?
The reference voltage must be between 2.75V and Vppa, though some packages use internal references.
