Page 1 of 1

lorawan.sleep() function problem on ESP32 board

Posted: Tue Jan 04, 2022 5:31 pm
by slaughterjim
Hello,
I am using a Heltec Radio ESP32 V2 board, with OLED display for POC. I am stuck. Looking for help.
When is use the function lorawan.sleep I cannot wakeup when a RTC GPIO signal transitions after the timer fires?
It works initially after reset but when my timer fires then goes to sleep it will not wake up with RTC GPIO transition, pin GPIO 12 internal pullup resister input. This does make sense.
Does anyone snow what the issue could be?
Is the RTC power plane being powered off?
Thanks.
JWS

Re: lorawan.sleep() function problem on ESP32 board

Posted: Tue Jan 04, 2022 9:03 pm
by slaughterjim
Hello,
My code problem. I was not setting the next event by pin so it did not wakeup on GPIO pin transition.
esp_sleep_enable_ext0_wakeup(GPIO_NUM_12, LOW);
Sorry.
JWS