Search found 50 matches

by kostyan5
Fri Jul 28, 2017 9:31 pm
Forum: General Discussion
Topic: Unexpected TG1WDT_SYS_RESET in deep sleep
Replies: 3
Views: 5731

Re: Unexpected TG1WDT_SYS_RESET in deep sleep

This behavior seems to be related to calling nvs_commit() before going to sleep. The timestamp of the TG1WDT reset is immediately after attempting sleep. I suspect that writing to flash immediately before going to sleep sometimes causes the TG1WDT to time out and fire a reset. Ignore that. I just s...
by kostyan5
Wed Jul 26, 2017 6:20 pm
Forum: General Discussion
Topic: Unexpected TG1WDT_SYS_RESET in deep sleep
Replies: 3
Views: 5731

Unexpected TG1WDT_SYS_RESET in deep sleep

Every once in a while, we're seeing esp32 being woken up by TG1WDT_SYS_RESET. From the logs below, you can see the device wakes up once as expected from DEEPSLEEP_RESET, then goes to sleep and is woken up by TG1WDT_SYS_RESET, goes to sleep again, and then woken up normally by DEEPSLEEP_RESET. Deep s...
by kostyan5
Mon Jul 24, 2017 9:39 pm
Forum: General Discussion
Topic: Sleep timer inaccuracy
Replies: 8
Views: 10216

Re: Sleep timer inaccuracy

I believe one of the recent commits (RTC overflow) fixed the timing issue.
by kostyan5
Mon Jul 17, 2017 4:26 pm
Forum: General Discussion
Topic: Sleep timer inaccuracy
Replies: 8
Views: 10216

Re: Sleep timer inaccuracy

Running with external 32kHz didn't seem to help.
by kostyan5
Thu Jul 13, 2017 2:03 pm
Forum: General Discussion
Topic: Sleep timer inaccuracy
Replies: 8
Views: 10216

Re: Sleep timer inaccuracy

The issue seems to be most prominent when device is in motion. When I had the device sitting on my desk overnight, they timestamps were all within 5 seconds of expected 5 mins. But when I took the device with me on my skateboard ride, the wake ups would occur at random intervals between 0 and 5 mins...
by kostyan5
Tue Jul 11, 2017 5:21 pm
Forum: General Discussion
Topic: Sleep timer inaccuracy
Replies: 8
Views: 10216

Re: Sleep timer inaccuracy

We do. We're also ran this with RTC clock set to internal.
by kostyan5
Tue Jul 11, 2017 1:53 pm
Forum: General Discussion
Topic: Sleep timer inaccuracy
Replies: 8
Views: 10216

Sleep timer inaccuracy

I'm seeing weird behavior from the deep sleep timer. Setup: 1. Using pretty much the exact same circuit as Sparkfun's ESP32 Thing (https://www.sparkfun.com/products/13907), except we have Rev 1 of silicon. 2. ESP-IDF as of June 12, 2017 3. Wake up, perform wifi scan, record data (including current R...
by kostyan5
Thu Jun 08, 2017 1:56 pm
Forum: ESP32 Arduino
Topic: Deep Sleep or other power saving functions?
Replies: 23
Views: 37579

Re: Deep Sleep or other power saving functions?

ESP_igrr wrote: you do need this pullup, and the software also has to send powerdown command to the flash chip before entering deep sleep.
It seems to be working without the powerdown command? How necessary is that command and is there an API to do that?
by kostyan5
Wed Jun 07, 2017 7:33 pm
Forum: ESP32 Arduino
Topic: Deep Sleep or other power saving functions?
Replies: 23
Views: 37579

Re: Deep Sleep or other power saving functions?

ESP32 Thing by Sparkfun. Which board are you using?
by kostyan5
Wed Jun 07, 2017 1:33 pm
Forum: ESP32 Arduino
Topic: Deep Sleep or other power saving functions?
Replies: 23
Views: 37579

Re: Deep Sleep or other power saving functions?

Just a heads up, many boards (including ESP32 WROOM, at least from the schematics available) do not have a pull-up on flash /CS line. This means that when the ESP32 goes to sleep and GPIO is turned off, the /CS line is floating. This prevents the flash from going to standby mode. For my custom board...