Skip to content

Commit

Permalink
Merge branch 'bugfix/uart_tx_voltage_fluctuation_during_light_sleep_v…
Browse files Browse the repository at this point in the history
…3.4.0.0' into 'release/v3.4.0.0'

fix: Fixed a potential uart tx voltage fluctuation issue during light-sleep (v3.4.0.0)

See merge request application/esp-at!1703
  • Loading branch information
xcguang committed Dec 31, 2024
2 parents e671f83 + 81c1598 commit ff7bc28
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main/interface/uart/at_uart_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ void at_uart_workaround(void)
// a workaround for uart1 outputs uninterrupted data during light-sleep
PIN_SLP_INPUT_ENABLE(GPIO_PIN_MUX_REG[g_uart_port_pin.rx_pin]);
gpio_sleep_set_pull_mode(g_uart_port_pin.rx_pin, GPIO_PULLUP_ONLY);

// a workaround for uart1 tx voltage fluctuation issue during light-sleep
gpio_sleep_sel_dis(g_uart_port_pin.tx_pin);
}

void at_uart_config_init(uart_config_t *config)
Expand Down

0 comments on commit ff7bc28

Please sign in to comment.