ADC
This section refers to the following sample application(s):
02-adc
The
features 4 external analog-to-digital converter (ADC) input channels which allow your application to sample an analog voltage.
The voltage applied to the ADC input pins must be between 0V and +1.8V. Applying a voltage outside that range will damage the part.
Two internal channels are also available to sample supply voltage and temperature. These are discussed in the following sections:
ADC samples are configured, initiated, and read manually; periodic or triggered-input sampling is not supported. The analog channel has several configurable parameters that determine its behavior.
Analog Inputs
The following table lists the external input channels and the corresponding labels on the on the silkscreen of the
board:
Input | ||
|---|---|---|
Analog input 0 |
|
|
Analog input 1 |
|
|
Analog input 2 |
|
|
Analog input 3 |
|
|
RDAC and VGA
The analog channel on
can be configured to provide accurate measurements of an analog input signal. The ADC itself has a scale from 0V to 1.8V, with a 10-bit resolution. Each LSB represents 1.8mV.
The Variable-Gain Amplifier (VGA) and offset Range-DAC (RDAC) provide improved resolution of analog input signals having less than full-scale input swing. Improved resolution is attained by zooming into a user-configured portion of the full 0 to 1.8V input range. To zoom into the desired input-voltage range, the RDAC value is first subtracted from the analog input signal; the result of this subtraction is then amplified by the VGA by a user-settable gain from 1 to 8. Zooming to the range of interest in this fashion allows the dynamic range of the ADC to be matched to the input signal to be digitized.
The RDAC is 4-bits and has sixteen equally-spaced, discrete offset ranges as follows:
Nominal Center of Analog Input Range (mV) | |
|---|---|
| 113 |
| 225 |
| 338 |
| 450 |
| 563 |
| 675 |
| 788 |
| 900 |
| 1013 |
| 1125 |
| 1238 |
| 1350 |
| 1463 |
| 1575 |
| 1688 |
| 1800 |
The VGA has eight discrete gain settings as follows: