Skip to content

Commit 310b803

Browse files
committed
Merge branch 'bugfix/uart_tx_voltage_fluctuation_during_light_sleep' into 'master'
fix: Fixed a potential uart tx voltage fluctuation issue during light-sleep See merge request application/esp-at!1693
2 parents 64573ab + f9e99ef commit 310b803

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
@@ -247,6 +247,9 @@ void at_uart_workaround(void)
247247
// a workaround for uart1 outputs uninterrupted data during light-sleep
248248
PIN_SLP_INPUT_ENABLE(GPIO_PIN_MUX_REG[g_uart_port_pin.rx_pin]);
249249
gpio_sleep_set_pull_mode(g_uart_port_pin.rx_pin, GPIO_PULLUP_ONLY);
250+
251+
// a workaround for uart1 tx voltage fluctuation issue during light-sleep
252+
gpio_sleep_sel_dis(g_uart_port_pin.tx_pin);
250253
}
251254

252255
void at_uart_config_init(uart_config_t *config)

0 commit comments

Comments
 (0)