Page 1 of 1

ESP32 ADC Wake Up Read Problem

Posted: Thu Apr 23, 2020 9:52 pm
by Pablito78
Hi All,

i'm programming esp32 and i have a strange problem.
When my device exit from wake up all the GPIO stay pulled
down and ADC read alway 0. Here a piece of the code:

{
esp_sleep_enable_ext0_wakeup(GPIO_NUM_25,1);
rtc_gpio_pullup_en(TX_PIN_NUMBER);
rtc_gpio_pullup_en(AP_PIN_NUMBER);
esp_deep_sleep_start();
}

When the system is restarted by GPIO_NUM 25, the ADC
seem to stay configured in pull down.

Please can someone help?