5.2.5.10.1 Input-Output Transfer Functions
The ADC can be configured to operate in the following input voltage modes:
- Single-ended—ADC_CCR.DIFFx = 0. This is the default mode after a reset.
- Differential—ADC_CCR.DIFFx = 1 (see the figure Analog Full Scale Ranges in Single-ended/Differential Applications). In Differential mode, the ADC requires differential input signals with a VDD/2 common mode voltage (refer to the section “Electrical Characteristics”).
The following equations give the unsigned ADC input-output transfer function in each mode (see Note). With signed conversions (see ADC_EMR.SIGNMODE), subtract 2047 from the ADC_LCDR.LDATA value given below.
In the formulae below, REFP = ADVREFP, REFN = GNDIN33.
Single-ended mode:
Differential mode:
If ADC_MR.ANACH is set, the parameters defined in ADC_CCR are applied to all channels.
The following table gives the internal positive and negative ADC inputs assignment with respect to the programmed mode (ADC_CCR.DIFFx).
For example, if Differential mode is required on channel 0, input pins AD0 and AD1 are used. In this case, only channel 0 must be enabled by writing a 1 to ADC_CHER.CH0.
Internal ADC Inputs (VIN+, VIN-) | Channel Numbers | ||
---|---|---|---|
Single-ended Mode | Differential Mode | Single-ended Mode | Differential Mode |
AD0, GNDIN33 | AD0, AD1 | CH0 | CH0 |
AD1, GNDIN33 | – | CH1 | |
AD2, GNDIN33 | AD2, AD3 | CH2 | CH2 |
AD3, GNDIN33 | – | CH3 | |
AD4, GNDIN33 | AD4, AD5 | CH4 | CH4 |
AD5, GNDIN33 | – | CH5 | |
AD6, GNDIN33 | AD6, AD7 | CH6 | CH6 |
AD7, GNDIN33 | – | CH7 | |
AD8, GNDIN33 | AD8, AD9 | CH8 | CH8 |
AD9, GNDIN33 | – | CH9 | |
AD10, GNDIN33 | AD10, AD11 | CH10 | CH10 |
AD11, GNDIN33 | – | CH11 | |
AD12, GNDIN33 | AD12, AD13 | CH12 | CH12 |
AD13, GNDIN33 | – | CH13 | |
AD14, GNDIN33 | AD14, AD15 | CH14 | CH14 |
AD15, GNDIN33 | – | CH15 | |
– | – | Not available | Not available |
– | – | Not available |