Skip to content

Commit 12ac645

Browse files
samples: adc_dt: correct pin allocation for xg29_4412a
Change the pin configuration (xg9_rb4412a) for the IADC to allocate odd bus 0 on GPIO port C/D instead of GPIO port B, allowing access to pin PD3. Signed-off-by: Martin Hoff <[email protected]>
1 parent c4af18d commit 12ac645

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/drivers/adc/adc_dt/boards/xg29_rb4412a.overlay

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
&pinctrl {
1717
adc0_default: adc0_default {
1818
group0 {
19-
/* Allocate odd bus 0 on GPIO port B to IADC for access to pin PB1 */
20-
silabs,analog-bus = <ABUS_BODD0_IADC0>;
19+
/* Allocate odd bus 0 on GPIO port C/D to IADC for access to pin PD3 */
20+
silabs,analog-bus = <ABUS_CDODD0_IADC0>;
2121
};
2222
};
2323
};

0 commit comments

Comments
 (0)