When I enable automatic light sleep, esp32 is no longer able to communicate with the ePaper panel. My guess is that the GPIO pins either float during sleep or go to 0 including the reset pin to the ePaper and mess things up.
I tried using
Code: Select all
gpio_hold_en(gpio_num_t gpio_num)
Did this by calling
Code: Select all
gpio_hold_en(gpio_num_t gpio_num)
Code: Select all
gpio_hold_dis(gpio_num_t gpio_num)
The confusing bit in the docs is that https://docs.espressif.com/projects/esp ... gpio_num_t only talks about deep sleep behaviour of
Code: Select all
gpio_hold_dis(gpio_num_t gpio_num)
I'm also not sure what would happen to the SPI lines and config power wake up from light sleep.
Thanks!