Basically what I do on deep sleep wake up is the following:
- config SPI BUT DON'T reset the SPI device
- send the command to the device BUT result indicates the device is in a bad state.
I have added a 10k pull up on the SPI device lines for CS (chip select) and Reset but that did not help.
Any suggestions?
light sleep cfg:
Code: Select all
esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_ON);