Skip to content

Commit 7ff2659

Browse files
nordic-krchrlubos
authored andcommitted
samples: peripheral: lpuart: Fix uart0 pins in nrf52840dk and nrf21540dk
Wrong pins were used for nrf52840dk and nrf21540 uart0 (console uart). Due to that debug configuration was not printing anything on that DK. Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit 4b36823)
1 parent 32251bf commit 7ff2659

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

samples/peripheral/lpuart/boards/nrf21540dk_nrf52840.overlay

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
* observed on nRF21540 v2.0.0 only (~450 uA more than on v1.0.0).
2020
*/
2121
group1 {
22-
psels = <NRF_PSEL(UART_TX, 0, 20)>,
22+
psels = <NRF_PSEL(UART_TX, 0, 6)>,
2323
<NRF_PSEL_DISCONNECTED(UART_RTS)>;
2424
};
2525
group2 {
26-
psels = <NRF_PSEL(UART_RX, 0, 22)>,
26+
psels = <NRF_PSEL(UART_RX, 0, 8)>,
2727
<NRF_PSEL_DISCONNECTED(UART_CTS)>;
2828
};
2929
};

samples/peripheral/lpuart/boards/nrf52840dk_nrf52840.overlay

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
* observed on nRF52840 v3.0.0 only (~450 uA more then on v2.1.0).
2424
*/
2525
group1 {
26-
psels = <NRF_PSEL(UART_TX, 0, 20)>,
26+
psels = <NRF_PSEL(UART_TX, 0, 6)>,
2727
<NRF_PSEL_DISCONNECTED(UART_RTS)>;
2828
};
2929
group2 {
30-
psels = <NRF_PSEL(UART_RX, 0, 22)>,
30+
psels = <NRF_PSEL(UART_RX, 0, 8)>,
3131
<NRF_PSEL_DISCONNECTED(UART_CTS)>;
3232
};
3333
};

0 commit comments

Comments
 (0)