How to keep periodic wakeup when EXT1 awakening occurs?

thoraz
Posts: 27
Joined: Tue Jan 28, 2020 4:02 pm

How to keep periodic wakeup when EXT1 awakening occurs?

Postby thoraz » Mon Jul 18, 2022 11:59 am

My questions are just to be sure about the behaviour of ESP32 in deep sleep mode with EXT1 and TIMER active:

1) If I set the TIMER and the EXT1 wakeups on my ESP32 and the EXT1 occurs, to keep the periodic awakening behaviour I need just to go in deep sleep without call again the esp_sleep_enable_timer_wakeup()?

2) When the EXT1 wakeup occurs can I know how much time has passed since the last TIMER wakeup? Can (and how) I read the RTC timer?

Who is online

Users browsing this forum: jsmith56x and 306 guests