Search found 2 matches
- Thu Jun 29, 2023 3:41 pm
- Forum: ESP-IDF
- Topic: ESP32-C3 deep sleep and gettimeofday
- Replies: 1
- Views: 816
ESP32-C3 deep sleep and gettimeofday
Hello all, I'm trying to maintain a valid time stamp during deep sleep with the ESP32-C3. With settime of day I set the unix time stamp and a subsequent gettimeofday returns correctly. After a deep_sleep, the gettimeofday function returns a value of 0. Why is this happening? I understood that the ge...
- Wed Jun 21, 2023 9:46 am
- Forum: ESP-IDF
- Topic: ESP32-C3 deep sleep GPIO wakeup reason
- Replies: 2
- Views: 3470
ESP32-C3 deep sleep GPIO wakeup reason
Hello all, I'm using a deep sleep GPIO wakeup mechanism. The GPIO signal that wakes the ESP32 is a high frequency switching signal (up to 3kHz). The wakeup works but after waking, my code relies on the esp_sleep_get_wakeup_cause() function to return : ESP_SLEEP_WAKEUP_GPIO. This does not happen the ...