File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
tests/drivers/adc/adc_accuracy_test Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * SPDX-License-Identifier: Apache-2.0
3+ *
4+ * Copyright (c) 2024 Nordic Semiconductor ASA
5+ */
6+
7+ / {
8+ zephyr,user {
9+ io-channels = <&adc 0>;
10+ reference_mv = <1800>;
11+ };
12+ };
13+
14+ &adc {
15+ #address-cells = <1>;
16+ #size-cells = <0>;
17+
18+ channel@0 {
19+ reg = <0>;
20+ zephyr,gain = "ADC_GAIN_1_2";
21+ zephyr,reference = "ADC_REF_INTERNAL";
22+ zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
23+ zephyr,input-positive = <NRF_SAADC_AIN2>;
24+ zephyr,resolution = <14>;
25+ };
26+ };
Original file line number Diff line number Diff line change 2121 - ek_ra8m1
2222 - frdm_mcxc242
2323 - nrf52840dk/nrf52840
24+ - nrf54l15dk/nrf54l15/cpuapp
2425 - nrf54h20dk/nrf54h20/cpuapp
You can’t perform that action at this time.
0 commit comments