Analog Devices ADuC812 uC005 ADC Software Calibration Technical Note


Analog Devices ADuC812 uC005 ADC Software Calibration Technical Note - cover page
Brand
Analog Devices
Category
microcontrollers
Document type
Application Note
Language
English
Pages
11
File format
PDF
Published
03 August, 2012
Updated
29 September, 2023
Model
ADUC812
MD5 checksum
DE79EA08CE2A73EC52F435DF7E0E3602

About this manual

This MicroConverter Technical Note uC005 from Analog Devices explains a software routine for calibrating the ADuC812 ADC for endpoint offset and gain errors. It describes the offset and gain calibration coefficients stored in the SFR area and how they compensate for DC offset and gain errors.

The note gives the CALZEROSCALE and CALFULLSCALE subroutines from the 812cal.asm file, their successive-approximation flow, and steps for evaluating the routines with the ADuC812 QuickStart Development System and a terminal program.

What's inside

  • Introduction
  • The Offset and Gain Calibration Coefficients
  • ADuC812 ADC Offset Calibration Subroutine
  • The Offset Calibration Algorithm Flow
  • ADuC812 ADC Gain Calibration Subroutine
  • The Gain Calibration Algorithm Flow
  • Evaluating the Offset and Gain Calibration Subroutines

Specifications

ADC calibration coefficient count2
Calibration coefficient width14 bits
Offset calibration coefficient registersADCOFSH (6 bits) and ADCOFSL (8 bits)
Gain calibration coefficient registersADCGAINH (6 bits) and ADCGAINL (8 bits)
Maximum offset compensationtypically +5% of VREF
Maximum offset with 2.5V referencetypically +125mV
Maximum analog input signal range for gain compensation1.025 * VREF
Minimum analog input signal range for gain compensation0.975 * VREF
Stack usage of calibration subroutine8 bytes

Frequently asked questions

How many ADC calibration coefficients does the ADuC812 have?

The ADuC812 has two ADC calibration coefficients: one for offset calibration and one for gain calibration.

What does the offset calibration coefficient compensate for?

It compensates for DC offset errors in both the ADC and the input signal.

What is the maximum offset that can be compensated?

The maximum offset that can be compensated is typically +5% of VREF.

What voltage must the selected channel be held at for gain calibration?

It must be held at a fixed system full-scale reference voltage within +2.5% of VREF.

Download PDF

More Analog Devices Manuals


View all Analog Devices manuals →