We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 798c390 commit 5688870Copy full SHA for 5688870
cores/nRF5/Uart.cpp
@@ -163,6 +163,8 @@ void Uart::end()
163
nrfUart->TASKS_STOPTX = 0x1UL;
164
165
// Wait for TXSTOPPED event and for RXTO event
166
+ // This is required before disabling UART to fully power down transceiver PHY.
167
+ // Otherwise transceiver will continue to consume ~900uA
168
while ( !(nrfUart->EVENTS_TXSTOPPED && nrfUart->EVENTS_RXTO) ) yield();
169
170
nrfUart->ENABLE = UARTE_ENABLE_ENABLE_Disabled;
0 commit comments