STMicroelectronics STM8L A/D Converter Application Note AN3137

This is an application note about the STM8L A/D converter, which introduces the internal structure, working principle, and precision improvement methods of the converter.


STMicroelectronics STM8L A/D Converter Application Note AN3137 - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
38
File format
PDF
File size
729 KB
Published
07 August, 2012
Updated
30 September, 2023
Model
STM8L
MD5 checksum
948B499971B0232622B8A131CA491FD0

About this manual

The document explains the internal design principles of the switched-capacitor ADC found in the STM8L family, detailing its operation from a programmer's perspective. It covers resolution settings, clock speeds, sampling times, and various input channels including fast and slow modes.

Furthermore, it lists main types of errors such as linearity, offset, gain, and hardware design issues, offering specific techniques to minimize them. The note includes both hardware methods like analog zooming and software methods like averaging samples and digital filtering, along with source code examples for implementation.

What's inside

  • ADC internal hardware
  • ADC principle and resolution
  • ADC clock and sampling time
  • Input analog multiplexer
  • Conversion triggers and interrupts
  • Analog watchdog feature
  • DMA transfer and sampling modes
  • Linearity and offset errors
  • Hardware design rules for precision
  • Software methods for error minimization

Specifications

ADC Resolution6-bit, 8-bit, 10-bit or 12-bit
Maximum ADC Clock16 MHz
Minimum ADC Clock320 kHz

Frequently asked questions

What is the shortest conversion time for a 12-bit resolution?

It is 1 us when using a 16 MHz ADC clock.

What methods are suggested for improving A/D converter precision?

The document suggests hardware methods like analog zooming and software methods such as averaging samples, digital filtering, and FFT.

Download PDF (729 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →