Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 

Include Page
_def_board_fraser
_def_board_fraser
 board:

Input
Include Page
_def_ocsdk
_def_ocsdk
Include Page
_def_board_fraser
_def_board_fraser
Analog input 0DN_ADC_AI_0_DEV_IDAI_0
Analog input 1DN_ADC_AI_1_DEV_IDAI_1
Analog input 2DN_ADC_AI_2_DEV_IDAI_2
Analog input 3DN_ADC_AI_3_DEV_IDAI_3

RDAC and VGA

The analog channel on 

Include Page
_def_chip_eterna
_def_chip_eterna
 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.

...

Include Page
_def_ocsdk
_def_ocsdk
VGA GainNominal Full-Scale Input Swing (mVpp)
DN_ADC_VGA_1800mVpp11800
DN_ADC_VGA_900mVpp2900
DN_ADC_VGA_600mVpp3600
DN_ADC_VGA_450mVpp4450
DN_ADC_VGA_360mVpp5360
DN_ADC_VGA_300mVpp6300
DN_ADC_VGA_257mVpp7257
DN_ADC_VGA_225mVpp8225

Example Use Case

Problem: Use the VGA and RDAC to sample a humidity sensor circuit having an output swing from 500mV (0% RH) to 900mV (100% RH).

...