lorawan.sleep() function problem on ESP32 board

slaughterjim
Posts: 12
Joined: Tue Sep 14, 2021 6:39 pm

lorawan.sleep() function problem on ESP32 board

Postby slaughterjim » Tue Jan 04, 2022 5:31 pm

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

slaughterjim
Posts: 12
Joined: Tue Sep 14, 2021 6:39 pm

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

Postby slaughterjim » Tue Jan 04, 2022 9:03 pm

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

Who is online

Users browsing this forum: Google [Bot] and 80 guests