Skip to content

Commit

Permalink
fix(ESPAT-2189): Fixed a potential uart tx voltage fluctuation issue …
Browse files Browse the repository at this point in the history
…during light-sleep
  • Loading branch information
ustccw committed Dec 31, 2024
1 parent 4ed247b commit 2b2436a
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 2b2436a

Please sign in to comment.