Datasheet
STM8AF52/62xx, STM8AF51/61xx Product overview
Doc ID 14395 Rev 9 23/110
5.8 Analog to digital converter (ADC)
The STM8A products described in this datasheet contain a 10-bit successive approximation
ADC with up to 16 multiplexed input channels, depending on the package.
The ADC name differs between the datasheet and the STM8A/S reference manual (see
Table 10).
ADC features
● 10-bit resolution
● Single and continuous conversion modes
● Programmable prescaler: f
MASTER
divided by 2 to 18
● Conversion trigger on timer events, and external events
● Interrupt generation at end of conversion
● Selectable alignment of 10-bit data in 2 x 8 bit result registers
● Shadow registers for data consistency
● ADC input range: V
SSA
≤ V
IN
≤ V
DDA
●
Schmitt-trigger on analog inputs can be disabled to reduce power consumption
5.9 Communication interfaces
The following sections give a brief overview of the communication peripheral. Some
peripheral names differ between the datasheet and the STM8A/S reference manual (see
Table 11).
5.9.1 Universal synchronous/asynchronous receiver transmitter (USART)
The devices covered by this datasheet contain one USART interface. The USART can
operate in standard SCI mode (serial communication interface, asynchronous) or in SPI
emulation mode. It is equipped with a 16 bit fractional prescaler. It features LIN master
support.
Table 10. ADC naming
Peripheral name in datasheet
Peripheral name in reference manual
(RM0016)
ADC ADC2
Table 11. Communication peripheral naming correspondence
Peripheral name in datasheet
Peripheral name in reference manual
(RM0016)
USART UART1
LINUART UART3