zephyr/tests/drivers/comparator/gpio_loopback/testcase.yaml
Bjarki Arge Andreasen 3272db87a4 tests: drivers: comparator: add gpio_loopback test suite
Add test suite which uses GPIO loopback to produce a "very low" and
"very high" voltage at the positive input of the comparator using the
output of a GPIO. The negative input is set to a voltage between the
high and low output voltages of the GPIO using whichever internal
reference is available to the comparator.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2024-10-21 18:50:45 -05:00

28 lines
719 B
YAML

# Copyright (c) 2024 Nordic Semiconductor
# SPDX-License-Identifier: Apache-2.0
common:
harness_config:
fixture: gpio_loopback
tags:
- drivers
- comparator
tests:
drivers.comparator.gpio_loopback.mcux_acmp:
platform_allow:
- frdm_ke15z
drivers.comparator.gpio_loopback.nrf_comp:
extra_args:
- SNIPPET="gpio_loopback_nrf_comp"
platform_allow:
- nrf54h20dk/nrf54h20/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf5340dk/nrf5340/cpuapp
drivers.comparator.gpio_loopback.nrf_lpcomp:
extra_args:
- SNIPPET="gpio_loopback_nrf_lpcomp"
platform_allow:
- nrf54h20dk/nrf54h20/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf5340dk/nrf5340/cpuapp