Page 1 of 1

Camera Failed to get the frame on time after light sleep

Posted: Thu Sep 16, 2021 1:21 am
by guangzong
After wake up from light sleep. Camera can not capture picture anymore.

I get following error message.
[0;33mW (8000) cam_hal: Failed to get the frame on time![0m
capture the picture failed3
[0;33mW (12000) cam_hal: Failed to get the frame on time![0m
capture the picture failed4
[0;33mW (16000) cam_hal: Failed to get the frame on time![0m
capture the picture failed5
[0;33mW (20000) cam_hal: Failed to get the frame on time![0m
capture the picture failed6

The code I am using show as follow.

esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP);
esp_wifi_stop();
esp_light_sleep_start();


best,
Guangzong