Skip to content

Commit 914097b

Browse files
committed
Merge branch 'bugfix/uart_tx_voltage_fluctuation_during_light_sleep_v3.2.0.0' into 'release/v3.2.0.0'
fix: Fixed a potential uart tx voltage fluctuation issue during light-sleep (v3.2.0.0) See merge request application/esp-at!1705
2 parents ffed417 + ba21402 commit 914097b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main/interface/uart/at_uart_task.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,9 @@ static void at_uart_init(void)
421421
PIN_SLP_INPUT_ENABLE(GPIO_PIN_MUX_REG[rx_pin]);
422422
gpio_sleep_set_pull_mode(rx_pin, GPIO_PULLUP_ONLY);
423423

424+
// a workaround for uart1 tx voltage fluctuation issue during light-sleep
425+
gpio_sleep_sel_dis(tx_pin);
426+
424427
// set actual uart pins
425428
s_at_uart_port_pin.tx = tx_pin;
426429
s_at_uart_port_pin.rx = rx_pin;

0 commit comments

Comments
 (0)