...
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.
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_board_fraser |
---|
| _def_board_fraser |
---|
|
|
---|
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
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.
...
| VGA Gain | Nominal Full-Scale Input Swing (mVpp) |
---|
DN_ADC_VGA_1800mVpp | 1 | 1800 |
DN_ADC_VGA_900mVpp | 2 | 900 |
DN_ADC_VGA_600mVpp | 3 | 600 |
DN_ADC_VGA_450mVpp | 4 | 450 |
DN_ADC_VGA_360mVpp | 5 | 360 |
DN_ADC_VGA_300mVpp | 6 | 300 |
DN_ADC_VGA_257mVpp | 7 | 257 |
DN_ADC_VGA_225mVpp | 8 | 225 |
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).
...