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
…4.0.0.0' into 'release/v4.0.0.0'

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

See merge request application/esp-at!1702
  • Loading branch information
xcguang committed Dec 31, 2024
2 parents 4ed247b + 2b2436a commit 676648f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main/interface/uart/at_uart_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,9 @@ static void at_uart_init(void)
PIN_SLP_INPUT_ENABLE(GPIO_PIN_MUX_REG[rx_pin]);
gpio_sleep_set_pull_mode(rx_pin, GPIO_PULLUP_ONLY);

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

// set actual uart pins
s_at_uart_port_pin.tx = tx_pin;
s_at_uart_port_pin.rx = rx_pin;
Expand Down

0 comments on commit 676648f

Please sign in to comment.