Skip to content

Commit a5d023a

Browse files
nordic-krchkartben
authored andcommitted
samples: drivers: adc: adc_sequence: Update nrf54h20 configuration
Add AIN9 pin in nrf54h20dk to verify AIN8-AIN13 inputs. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
1 parent f2e1ac0 commit a5d023a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

samples/drivers/adc/adc_sequence/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
/ {
1414
zephyr,user {
15-
io-channels = <&adc 0>, <&adc 1>, <&adc 7>;
15+
io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 7>;
1616
};
1717
};
1818

@@ -39,6 +39,16 @@
3939
zephyr,oversampling = <8>;
4040
};
4141

42+
channel@2 {
43+
reg = <2>;
44+
zephyr,gain = "ADC_GAIN_1_2";
45+
zephyr,reference = "ADC_REF_INTERNAL";
46+
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
47+
zephyr,input-positive = <NRF_SAADC_AIN9>; /* P9.01 */
48+
zephyr,resolution = <12>;
49+
zephyr,oversampling = <8>;
50+
};
51+
4252
channel@7 {
4353
reg = <7>;
4454
zephyr,gain = "ADC_GAIN_1_2";

0 commit comments

Comments
 (0)