STMicroelectronics STM8A Microcontroller ADC Application Note AN3023

This application note explains how to use the analog-to-digital converter implemented in the STM8A microcontroller family. The document provides useful information on how to configure the ADC registers and microcontroller resources and use the analog-to-digital converter in different modes.


STMicroelectronics STM8A Microcontroller ADC Application Note AN3023 - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
23
File format
PDF
File size
284 KB
Published
06 August, 2012
Updated
30 September, 2023
Model
STM8A
MD5 checksum
2893506AAEC207AE88639C1155555062

About this manual

The document provides detailed information on configuring ADC registers, managing interrupts, and utilizing various conversion modes such as single and continuous. It describes the hardware architecture of the 10-bit successive approximation ADC found in STM8A devices.

Practical guidance is offered for setting up channels, selecting triggers (software or external), and storing converted values. The note also covers design recommendations, precision improvement methods, and includes a summary of features available across different device sizes.

What's inside

  • ADC hardware description
  • General properties
  • ADC operation modes
  • Configuring ADC registers
  • Channel selection
  • Conversion triggers
  • Storing converted values
  • ADC interrupt management
  • Hardware connection examples
  • Design recommendations

Specifications

Resolution10 bits
Conversion time14 clock cycles
Clock speed range1 to 4 MHz

Frequently asked questions

What is the resolution of the STM8A ADC?

The analog-to-digital converter has a resolution of 10 bits.

How many clock cycles does a conversion take?

A standard conversion takes 14 clock cycles.

Download PDF (284 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →