67.10.4.1 Differential Mode (12-bit mode)

A differential input voltage VIN = VINP - VINN can be applied between two selected differential pins, e.g. ADC0_AD0 and ADC0_AD1. The ideal code Ci is calculated by using the following formula and rounding the result to the nearest positive integer.

C i = 2047 V ADVREF × V IN

For the other resolution defined by RES, the code Ci is extended to the corresponding resolution.

The table below is a computation example for the above formula, where VADVREF = 3V.

Table 67-33. Input Voltage Values in Differential Mode, Non-signed Output
Signed Ci VIN
-2048 -3
0 0
2047 3