Reclaim GPIO after deep sleep reset
Posted: Tue Jan 15, 2019 11:41 pm
Hi,
I'm having issues with using the LEDC timer to drive a gpio wherein if I isolate the RTC gpio before deep sleep, after wakeup the pin is still disconnected and is unable to be controlled by the LEDC peripheral. I don't have any errors or anything, the pin simply does nothing.
This is how I am isolating the pin:
I seem to recall that there is a function which "un-isolates" the pin, but I am unable to find it. Could someone please help point me in the right direction?
Thanks,
Jeremy
I'm having issues with using the LEDC timer to drive a gpio wherein if I isolate the RTC gpio before deep sleep, after wakeup the pin is still disconnected and is unable to be controlled by the LEDC peripheral. I don't have any errors or anything, the pin simply does nothing.
This is how I am isolating the pin:
Code: Select all
rtc_gpio_isolate(GPIO_NUM_18);
Thanks,
Jeremy