Introduction
This application note provides guidance on enhancing the performance of the ADC in the dsPIC33AK family of devices using calibration and compensation techniques. The types of ADC errors and correction methods are discussed, and an overview of the built-in ADC calibration features is provided. This document provides the procedure and details for measuring and compensating gain error for improved accuracy.