zephyr/tests/drivers/adc
Yusuf Ahmed f22d30b853 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: Yusuf Ahmed <muhammed.ahmed@intel.com>
Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2024-03-26 10:38:01 -05:00
..
adc_accuracy_test tests/driver/adc: Add ADC accuracy test 2024-03-26 10:38:01 -05:00
adc_api samples: hwmv2: rename espxx_luatos_core files 2024-03-25 18:40:34 -04:00
adc_emul tests/drivers/adc: Switch to native_sim 2023-11-22 09:53:20 +01:00
adc_rescale tests/drivers/adc: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00