Datasheet

Table Of Contents
45. ADC – Analog-to-Digital Converter
45.1 Overview
The Analog-to-Digital Converter (ADC) converts analog signals to digital values. The ADC has up to 12-
bit resolution, and is capable of a sampling rate of up to 1MSPS. The input selection is flexible, and both
differential and single-ended measurements can be performed. In addition, several internal signal inputs
are available. The ADC can provide both signed and unsigned results.
ADC measurements can be started by either application software or an incoming event from another
peripheral in the device. ADC measurements can be started with predictable timing, and without software
intervention.
Both internal and external reference voltages can be used.
An integrated temperature sensor is available for use with the ADC. The bandgap voltage, as well as the
scaled I/O and core voltages, can also be measured by the ADC.
The ADC has a compare function for accurate monitoring of user-defined thresholds, with minimum
software intervention required.
The ADC can be configured for 8-, 10- or 12-bit results. ADC conversion results are provided left- or right-
adjusted, which eases calculation when the result is represented as a signed value. It is possible to use
DMA to move ADC results directly to memory or peripherals when conversions are done.
The SAM D5x/E5x has two ADC instances, ADC0 and ADC1. The two inputs can be sampled
simultaneously, as each ADC includes sample and hold circuits.
Note:  When the Peripheral Touch Controller (PTC) is enabled, ADC0 is serving the PTC exclusively. In
this case, ADC0 cannot be used by the user application.
45.2 Features
Two Analog to Digital Converters (ADC) ADC0 and ADC1
8-, 10- or 12-bit resolution
Up to 1,000,000 samples per second (1MSPS)
Differential and single-ended inputs
Up to 32 analog inputs per ADC (20 unique channels total)
32 positive and 10 negative, including internal and external
Internal inputs:
Internal temperature sensor
Bandgap voltage
Scaled core supply
Scaled I/O supply
Scaled VBAT supply
DAC
Single, continuous and sequencing options
Windowing monitor with selectable channel
Conversion range: V
ref
= [1.0V to VDD
ANA
]
SAM D5x/E5x Family Data Sheet
ADC – Analog-to-Digital Converter
© 2019 Microchip Technology Inc.
Datasheet
DS60001507E-page 1585