ADC

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

Input

Analog input 0

DN_ADC_AI_0_DEV_ID

AI_0

Analog input 1

DN_ADC_AI_1_DEV_ID

AI_1

Analog input 2

DN_ADC_AI_2_DEV_ID

AI_2

Analog input 3

DN_ADC_AI_3_DEV_ID

AI_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)

Nominal Center of Analog Input Range (mV)

DN_ADC_RDAC_113mV

113

DN_ADC_RDAC_225mV

225

DN_ADC_RDAC_338mV

338

DN_ADC_RDAC_450mV

450

DN_ADC_RDAC_563mV

563

DN_ADC_RDAC_675mV

675

DN_ADC_RDAC_788mV

788

DN_ADC_RDAC_900mV

900

DN_ADC_RDAC_1013mV

1013

DN_ADC_RDAC_1125mV

1125

DN_ADC_RDAC_1238mV

1238

DN_ADC_RDAC_1350mV

1350

DN_ADC_RDAC_1463mV

1463

DN_ADC_RDAC_1575mV

1575

DN_ADC_RDAC_1688mV

1688

DN_ADC_RDAC_1800mV

1800

The VGA has eight discrete gain settings as follows: