Skip to content
Commit f22d30b8 authored by Yusuf Ahmed's avatar Yusuf Ahmed Committed by David Leach
Browse files

tests/driver/adc: Add ADC accuracy test



These tests, that expects boards to be properly setup, allow one to
measure ADC value and compare to expected values.

Two tests are added. For one, a reference voltage is expected on the ADC
- and this value can be informed to the test via devicetree. The other
uses DAC to generate a value that is then read from ADC. This assumes
DAC is accurate. Naturally, one could make this a DAC test if ADC is
assumed to be accurate.

As the board setup involve connecting physical pins, they are behind
twister fixtures.

Signed-off-by: default avatarYusuf Ahmed <muhammed.ahmed@intel.com>
Signed-off-by: default avatarEderson de Souza <ederson.desouza@intel.com>
parent 6514b3b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment