Search found 1 match
- Fri Mar 04, 2022 7:17 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32,light sleep模式唤醒时间长
- Replies: 3
- Views: 3531
ESP32,light sleep模式唤醒时间长
ESP32,进入light sleep模式后,通过GPIO唤醒,唤醒时间长,并且,休眠时间越长,唤醒时间也越长。 请教各位大佬,这是怎么回事?代码如下: esp_sleep_enable_gpio_wakeup(); /* To make sure the complete line is printed before entering sleep mode, * need to wait until UART TX FIFO is empty: */ uart_tx_wait_idle(CONFIG_ESP_CONSOLE_UART_NUM); int64_t sleep_start = e...