ESP32 ADC Wake Up Read Problem

Pablito78
Posts: 1
Joined: Thu Apr 23, 2020 9:42 pm

ESP32 ADC Wake Up Read Problem

Postby Pablito78 » Thu Apr 23, 2020 9:52 pm

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?

Who is online

Users browsing this forum: No registered users and 71 guests