Skip to content

Commit fa16887

Browse files
nordic-babude-nordic
authored andcommitted
samples: peripheral: lpuart: Decrease current draw on nRF52840 DK 3.0.0
Disconnect CTS and RTS lines from pins it is assigned to by default. This supresses extra power consumption of ~440 uA observed on nRF52840 DK v3.0.0. Ref. NCSDK-21683 Signed-off-by: Bartlomiej Buczek <[email protected]>
1 parent 81de4f8 commit fa16887

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

samples/peripheral/lpuart/boards/nrf52840dk_nrf52840.overlay

+15
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,21 @@
1717
disable-rx;
1818
};
1919

20+
&uart0_default {
21+
/* Disconnect CTS and RTS lines from pins.
22+
* This is a temporary workaround for increased current consumption
23+
* observed on nRF52840 v3.0.0 only (~450 uA more then on v2.1.0).
24+
*/
25+
group1 {
26+
psels = <NRF_PSEL(UART_TX, 0, 20)>,
27+
<NRF_PSEL_DISCONNECTED(UART_RTS)>;
28+
};
29+
group2 {
30+
psels = <NRF_PSEL(UART_RX, 0, 22)>,
31+
<NRF_PSEL_DISCONNECTED(UART_CTS)>;
32+
};
33+
};
34+
2035
&gpiote {
2136
interrupts = <6 NRF_DEFAULT_IRQ_PRIORITY>;
2237
};

0 commit comments

Comments
 (0)