Skip to content

Commit cce6de1

Browse files
committed
Merge branch 'bugfix/uart_tx_voltage_fluctuation_during_light_sleep_v3.3.0.0' into 'release/v3.3.0.0'
fix: Fixed a potential uart tx voltage fluctuation issue during light-sleep (v3.3.0.0) See merge request application/esp-at!1704
2 parents 953399d + b2b3f79 commit cce6de1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main/interface/uart/at_uart_api.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,9 @@ void at_uart_workaround(void)
243243
// a workaround for uart1 outputs uninterrupted data during light-sleep
244244
PIN_SLP_INPUT_ENABLE(GPIO_PIN_MUX_REG[g_uart_port_pin.rx_pin]);
245245
gpio_sleep_set_pull_mode(g_uart_port_pin.rx_pin, GPIO_PULLUP_ONLY);
246+
247+
// a workaround for uart1 tx voltage fluctuation issue during light-sleep
248+
gpio_sleep_sel_dis(g_uart_port_pin.tx_pin);
246249
}
247250

248251
void at_uart_config_init(uart_config_t *config)

0 commit comments

Comments
 (0)