Waking processor with external RTC
Waking processor with external RTC
I am trying to use a DS3231 to wake ESP32. Is any ESP32 GPIO pin able to wake the processor or are there specific pins that can do that? I read the ESP32 doc and it didn't really cover it. Could anyone point to a good source to read about power modes and how to use micropython to run these modes? Thanks.
Re: Waking processor with external RTC
GPIOs 0, 2, 4, 12-15, 25-27, 32-39 supports RTC_GPIO function and can be used for wake-up from deep-sleep.
See ESP32 Pin List
See ESP32 Pin List
Re: Waking processor with external RTC
Thank you Loboris! I happened to have picked GPIO4. After reading the doc you provided, and the list of pins you provided, I now understand that all of these pins belong to VRTC group that can wake the CPU. I would probably have come to the same conclusion with a lot more time and frustration without your pointers.
What about general-purpose interrupts? Are they available on all GPIO pins or just select pin groups?
What about general-purpose interrupts? Are they available on all GPIO pins or just select pin groups?