31.20 Analog-to-Digital Controller (ADC) Specifications

Table 31-22. ADC AC Electrical Specifications
AC CHARACTERISTICSStandard Operating Conditions: VDDIO = AVDD = VDD 1.62V to 3.63V (unless otherwise stated)

Operating Temperature:

-40°C ≤ TA ≤ +85°C for Industrial

Param. No.SymbolCharacteristicsMin.Typ.Max.UnitsConditions
Device Supply
ADC_1AVDDADC Module SupplyAVDD(min.)AVDD(max.)VVDDIO = AVDD
Reference Inputs
ADC_3VREF(1)ADC Reference VoltageSpec VR_1 to VR_3V VREF = INT1V

(CTRL.REFSEL = 0x0)

0.99*(AVDD/1.48)AVDD/1.481.01*(AVDD/1.48)VVREF = INTVCC0

(REFCTRL.REFSEL = 0x1)

0.99*(AVDD/2)AVDD/21.01*(AVDD/2)VVREF = INTVCC1

(REFCTRL.REFSEL = 0x2)

only for AVDD >2.0V

2.4AVDD-0.6VV AVDD ≥ VREF + 0.6V VREF = VREFA pin

(REFCTRL.REFSEL = 0x3)

VREF = VREFB pin

(REFCTRL.REFSEL = 0x4)

Analog Input Range
ADC_7AFSFull-Scale Analog Input Signal Range0VREF/GainVSingle-Ended Mode
ADC_9-VREF/GainVREF/GainVDifferential Mode
ADC_10VCMINInput common mode voltage00.7*AVDD + VREF/4 - 0.75VSingle-Ended Mode
VREF/4 - 0.05*AVDD-0.10.95*AVDD + VREF/4 - 0.75VDifferential Mode if abs (VIN) > VREF/4
0.2*AVDD-0.11.2*AVDD - 0.75VDifferential Mode if abs (VIN) < VREF/4
ADC_11TSETTLINGADC Stabilization Time10µsCTRLA.ENABLE = 1
Note:
  1. ADC functional device operation with either internal or external VREF <2.4V is functional, but not characterized. ADC will function, but with degraded accuracy of approximately ~((0.06 * 2n)/VREF) LSB’s over full scale range, where n=#bits. ADC accuracy is limited by internal VREF accuracy + drift, MCU generated noise plus users application noise or accuracy on AVDD, AGND.
Table 31-23. ADC Single-Ended Mode AC Electrical Specifications
AC CHARACTERISTICSStandard Operating Conditions: VDDIO = AVDD = VDD 1.62V to 3.63V (unless otherwise stated)

Operating temperature:

-40°C ≤ TA ≤ +85°C for Industrial

Param. No.SymbolCharacteristicsMin.Typ.Max.UnitsConditions
SINGLE-ENDED MODE ADC Accuracy (4, 5)
SADC_11ResResolution812bitsSelectable 8-bit, 10-bit, 12-bit Resolution Ranges
SADC_13ENOB(1, 2)Effective Number of bits9.19.8bitsREFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

SADC_19INLIntegral Non-linearity-33LSBREFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

SADC_25DNLDifferential Non linearity-0.91LSBREFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

SADC_31GERRGain Error-77LSBREFCTRL.REFSEL = 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

SADC_37EOFFOffset Error-2626LSBREFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

SADC_43TUETotal Unadjusted Error1.621.7LSBREFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

SINGLE-ENDED MODE ADC Dynamic Performance(1, 2, 4, 5)
SADC_49SINADSignal-to-Noise and Distortion56.5dBREFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

SADC_51SNRSignal-to-Noise ratio58.7REFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

SADC_53SFDRSpurious Free Dynamic Range71.4REFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

SADC_55THD(3)Total Harmonic Distortion-60.5REFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

Note:
  1. Characterized with an analog input sine wave = 40 kHz sine wave.
  2. Sine wave peak amplitude = 95% ADC_ Full Scale amplitude input with 12-bit resolution.
  3. Value taken over 7 harmonics.
  4. ADC is configured in 12 bits mode, All registers are at the reset default value unless otherwise stated.
  5. The ADC channels are powered from AVDD except channels on the PA08, PA09, PA10, PA11 pins, which are powered from VDDIO. The ADC specifications are only applicable to the channels powered from AVDD. Performances of the channels powered from VDDIO are dependent on the activity of the system and therefore application dependent.
Table 31-24. ADC Differential Mode AC Electrical Specifications
AC CHARACTERISTICSStandard Operating Conditions: VDDIO = AVDD = VDD 1.62V to 3.63V (unless otherwise stated)

Operating Temperature:

-40°C ≤ TA ≤ +85°C for Industrial

Param. No.SymbolCharacteristicsMin.Typ.Max.UnitsConditions
DIFFERENTIAL MODE ADC Accuracy(4, 5)
DADC_11ResResolution812bitsSelectable 8-bit, 10-bit, 12-bit Resolution Ranges
DADC_13ENOB(1, 2)Effective Number of bits1010.7bitsREFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

DADC_19INLIntegral Non-linearity-1.71.7LSBREFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

DADC_25DNLDifferential Non-linearity-0.80.8LSBREFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

DADC_31GERRGain Error-93.5LSBREFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

DADC_37EOFFOffset Error-1010LSBREFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

DADC_43TUETotal Unadjusted Error0.810.9LSBREFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

DIFFERENTIAL MODE ADC Dynamic Performance(1, 2, 4, 5)
DADC_49SINADSignal-to-Noise and Distortion62dBREFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

DADC_51SNRSignal-to-Noise ratio64.5REFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

DADC_53SFDRSpurious Free Dynamic Range79REFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

DADC_55THD(3)Total Harmonic Distortion-64.4REFCTRL.REFSEL= 0x3 or 0x4

VREFA or VREFB >= 2.4V

REFCTRL.REFCOMP = 0x1

Note:
  1. Characterized with an analog input sine wave = 40 kHz sine wave.
  2. Sine wave peak amplitude = 95% ADC_ Full Scale amplitude input with 12-bit resolution.
  3. Value taken over 7 harmonics.
  4. ADC is configured in 12 bits mode, All registers are at the reset default value unless otherwise stated.
  5. The ADC channels are powered from AVDD except channels on the PA08, PA09, PA10, PA11 pins, which are powered from VDDIO. The ADC specifications are only applicable to the channels powered from AVDD. Performances of the channels powered from VDDIO are dependent on the activity of the system and therefore application dependent.
Table 31-25. ADC Conversion and Sample AC Electrical Requirements
AC CHARACTERISTICSStandard Operating Conditions: VDDIO = AVDD = VDD 1.62V to 3.63V (unless otherwise stated)

Operating Temperature:

-40°C ≤ TA ≤ +85°C for Industrial

Param. No.SymbolCharacteristicsMin.Typ.Max.UnitsConditions
ADC Clock Requirements
ADC_57TADADC Clock Period476.28333.3ns
ADC_58fGCLK_ADCxADCx Module GCLK max input freqFCLK_51MHz
ADC Single-Ended Throughput Rates
ADC_59FTP(1) (Single-Ended Mode)Throughput Rate (Single-Ended)300KSPS 12-bit resolution,

Resource ≤ 8,750 Ω,

SAMPCTRL.SAMPLEN = 0

CTRLB.FREERUN = 0x1

INPUTCTRL.GAIN = 0x0

30012-bit resolution,

Resource ≤ 8,750 Ω,

SAMPCTRL.SAMPLEN = 0

CTRLB.FREERUN = 0x0

INPUTCTRL.GAIN = 0x0

262.512 -bit resolution,

Resource ≤ 8,750 Ω,

SAMPCTRL.SAMPLEN = 0

CTRLB.FREERUN = 0x0

INPUTCTRL.GAIN = 0x1,0x2 or 0xF

233.312-bit resolution,

Resource ≤ 8,750 Ω,

SAMPCTRL.SAMPLEN = 0

CTRLB.FREERUN = 0x0

INPUTCTRL.GAIN = 0x3 or 0x4

ADC Differential Mode Throughput Rates
ADC_61FTP(1) (Differential Mode)Throughput Rate (Differential Mode)350KSPS12-bit resolution,

Resource ≤ 8,750 Ω,

SAMPCTRL.SAMPLEN = 0

CTRLB.FREERUN = 0x1

INPUTCTRL.GAIN = 0x0

30012-bit resolution,

Resource ≤ 8,750 Ω,

SAMPCTRL.SAMPLEN = 0

CTRLB.FREERUN = 0x0

INPUTCTRL.GAIN = 0x0, 0x1 or 0xF

262.512 -bit resolution,

Resource ≤ 8,750 Ω,

SAMPCTRL.SAMPLEN = 0

CTRLB.FREERUN = 0x0

INPUTCTRL.GAIN = 0x2 or 0x3

233.312-bit resolution,

Resource ≤ 8,750 Ω,

SAMPCTRL.SAMPLEN = 0

CTRLB.FREERUN = 0x0

INPUTCTRL.GAIN = 0x4

ADC Conversion and Sample time
ADC_63TSAMP(2)ADC Sample Time1TAD12-bit resolution, TAD(min.),

External Analog Input Resource ≤ 8,750 Ω

212-bit resolution, TAD(min.),

External Analog Input Resource ≤ 21,000 Ω

312-bit resolution, TAD(min.),

External Analog Input Resource ≤ 33,300 Ω

412-bit resolution, TAD(min.),

External Analog Input Resource ≤ 45,550 Ω

512-bit resolution, TAD(min.),

Ext Analog Input Resource ≤ 57,800 Ω

612-bit resolution, TAD(min.),

External Analog Input Resource ≤ 70,100 Ω

10µsWith temperature sensor as input -

INPUTCTRL.MUXPOS = 0x18

10With band gap as input -

INPUTCTRL.MUXPOS = 0x19

0.25 with SCALEDCOREVCC or SCALEDIOVCC as input -

INPUTCTRL.MUXPOS = 0x1A ot 0x1B

3 With DAC as input -

INPUTCTRL.MUXPOS = 0x1C

ADC_65TCNV(1)Conversion Time (Single-Ended Mode)7TAD12-bit resolution -

INPUTCTRL.GAIN = 0x0 (Gain 1x)

8 12-bit resolution -

INPUTCTRL.GAIN = 0x1, 0x2 or 0xF

(Gain 0.5x, 2x, 4x)

9 12-bit resolution -

INPUTCTRL.GAIN = 0x3 or 0x4

(Gain 8x, 16x)

ADC_67Conversion Time (Differential Mode)6TAD12-bit resolution -

INPUTCTRL.GAIN = 0x0

(Gain 1x)

7 12-bit resolution -

INPUTCTRL.GAIN = 0x1, 0x2 or 0xF

(Gain 0.5x, 2x, 4x)

8 12-bit resolution -

INPUTCTRL.GAIN = 0x3 or 0x4

(Gain 8x, 16x)

ADC_69CSAMPLEADC Internal Sample Cap3.54pF
ADC_71RSAMPLEADC Internal impedance3500
Note:
  1. ADC Throughput Rate FTP = ((1 / ((TSAMP + TCNV) * TAD)) / (number of user active analog inputs in use on specific target ADC module)). For additional information, refer to the Table 27-2. Delay Gain.
    • Specification values assume only one AINx channel in use.
  2. TSAMP = (((RSAMPLE + RSOURCE) * CSAMPLE * 9.7) / TAD)+1 rounded down to nearest whole integer.

    User SAMPCTRL.SAMPLEN = (2*TSAMP - 1).

Performance with the Averaging Digital Feature

Averaging is a feature which increases the sample accuracy. ADC automatically computes an average value of multiple consecutive conversions. The numbers of samples to be averaged is specified by the Number-of-Samples-to-be-Collected bit group in the Average Control register (AVGCTRL.SAMPLENUM[3:0]) and the averaged output is available in the Result register (RESULT).

Table 31-26. Averaging Feature
Average NumberConditionsSNR(dB)SINAD (dB)SFDR (dB)ENOB (bits)
1In Differential mode, 1x gain, AVDD = 3.0V, VREF = 2.4V,

350 ksps T = 25°C

66658510.5
868668711.4
3270678811.6
12871678811.7

Performance with the Hardware Offset and Gain Correction

Inherent gain and offset errors affect the absolute accuracy of the ADC. The offset error cancellation is handled by the Offset Correction register (OFFSETCORR) and the gain error cancellation, by the Gain Correction register (GAINCORR). The offset and gain correction value is subtracted from the converted data before writing the Result register (RESULT).

Table 31-27. Offset and Gain Correction Features
Gain FactorConditionsOffset Error (mV)Gain Error (mV)Total Unadjusted Error (LSB)
0.5x INPUTCTRL.GAIN = 0xFIn Differential mode, AVDD = 3.0V, VREF = 2.4V,

350 ksps T = 25°C

0.2512.4
1x INPUTCTRL.GAIN = 0x00.20.11.5
2x INPUTCTRL.GAIN = 0x10.15-0.152.7
8x INPUTCTRL.GAIN = 0x3-0.050.053.2
16x INPUTCTRL.GAIN = 0x40.1-0.056.1

Inputs and Sample and Hold Acquisition Times

The analog voltage source must be able to charge the Sample-and-Hold (S/H) capacitor in the ADC to achieve maximum accuracy. Seen externally the ADC input consists of a resistor (RSAMPLE) and a capacitor (CSAMPLE). In addition, the source resistance (RSOURCE) must be considered when calculating the required S/H time. The figure below shows the ADC input channel equivalent circuit.

Figure 31-3. ADC Input