Skip to content

Commit 7f1428f

Browse files
alxelaxnordicjm
authored andcommitted
samples: protocol_serialization: fix uart hw flow dtc
Commit fixes uart dtc overlays to have working hardware flow control. Signed-off-by: Aleksandr Khromykh <[email protected]>
1 parent 5401efc commit 7f1428f

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

samples/nrf_rpc/protocols_serialization/client/boards/nrf54l15dk_nrf54l15_cpuapp.overlay

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@
1313
uart21_default: uart21_default {
1414
group1 {
1515
psels = <NRF_PSEL(UART_TX, 1, 11)>,
16-
<NRF_PSEL(UART_RTS, 1, 12)>;
17-
};
18-
group2 {
19-
psels = <NRF_PSEL(UART_RX, 1, 10)>,
16+
<NRF_PSEL(UART_RX, 1, 10)>,
17+
<NRF_PSEL(UART_RTS, 1, 12)>,
2018
<NRF_PSEL(UART_CTS, 1, 13)>;
21-
bias-pull-up;
2219
};
2320
};
2421

@@ -40,6 +37,7 @@
4037
pinctrl-0 = <&uart21_default>;
4138
pinctrl-1 = <&uart21_sleep>;
4239
pinctrl-names = "default", "sleep";
40+
hw-flow-control;
4341
};
4442

4543
/* restore full RRAM and SRAM space - by default some parts are dedicated to FLRP */

samples/nrf_rpc/protocols_serialization/server/boards/nrf54l15dk_nrf54l15_cpuapp.overlay

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@
1313
uart21_default: uart21_default {
1414
group1 {
1515
psels = <NRF_PSEL(UART_TX, 1, 11)>,
16-
<NRF_PSEL(UART_RTS, 1, 12)>;
17-
};
18-
group2 {
19-
psels = <NRF_PSEL(UART_RX, 1, 10)>,
16+
<NRF_PSEL(UART_RX, 1, 10)>,
17+
<NRF_PSEL(UART_RTS, 1, 12)>,
2018
<NRF_PSEL(UART_CTS, 1, 13)>;
21-
bias-pull-up;
2219
};
2320
};
2421

@@ -40,6 +37,7 @@
4037
pinctrl-0 = <&uart21_default>;
4138
pinctrl-1 = <&uart21_sleep>;
4239
pinctrl-names = "default", "sleep";
40+
hw-flow-control;
4341
};
4442

4543
/* restore full RRAM and SRAM space - by default some parts are dedicated to FLRP */

0 commit comments

Comments
 (0)