English
Language : 

LM4F111E5QR Datasheet, PDF (741/1114 Pages) Texas Instruments – Microcontroller
Stellaris® LM4F111E5QR Microcontroller
The voltage sampled in differential mode is the difference between the odd and even channels:
■ Input Positive Voltage: VIN+ = VIN_EVEN (even channel)
■ Input Negative Voltage: VIN- = VIN_ODD (odd channel)
The input differential voltage is defined as: VIND = VIN+ - VIN-, therefore:
■ If VIND = 0, then the conversion result = 0x800
■ If VIND > 0, then the conversion result > 0x800 (range is 0x800–0xFFF)
■ If VIND < 0, then the conversion result < 0x800 (range is 0–0x800)
When using differential sampling, the following definitions are relevant:
■ Input Common Mode Voltage: VINCM = (VIN+ + VIN-) / 2
■ Reference Positive Voltage: VREFP
■ Reference Negative Voltage: VREFN
■ Reference Differential Voltage: VREFD = VREFP - VREFN
■ Reference Common Mode Voltage: VREFCM = (VREFP + VREFN) / 2
The following conditions provide optimal results in differential mode:
■ Both VIN_EVEN and VIN_ODD must be in the range of (VREFP to VREFN) for a valid conversion
result
■ The maximum possible differential input swing, or the maximum differential range, is: -VREFDto
+VREFD, so the maximum peak-to-peak input differential signal is (+VREFD - -VREFD) = 2 *
VREFD= 2 * (VREFP - VREFN)
■ In order to take advantage of the maximum possible differential input swing, VINCM should be
very close to VREFCM, see Table 21-21 on page 1065.
If VINCM is not equal to VREFCM, the differential input signal may clip at either maximum or minimum
voltage, because either single ended input can never be larger than VREFP or smaller than VREFN,
and it is not possible to achieve full swing. Thus any difference in common mode between the input
voltage and the reference voltage limits the differential dynamic range of the ADC.
Because the maximum peak-to-peak differential signal voltage is 2 * (VREFP - VREFN), the ADC
codes are interpreted as:
mV per ADC code = (2 *(VREFP - VREFN)) / 4096
Figure 12-10 shows how the differential voltage, ∆V, is represented in ADC codes.
April 25, 2012
741
Texas Instruments-Advance Information