Search found 7 matches

by ken2004
Fri Jul 21, 2017 1:41 pm
Forum: ESP-IDF
Topic: Is brownout detection usable now?
Replies: 17
Views: 35788

Re: Is brownout detection usable now?

Please don't consider the BOD of ESP32 a bullet-proof production grade protection measure. Thanks for the clarification. It is mainly provided to help identify problems with inadequate power supplies, which were very common for ESP8266 and are still common with ESP32, sadly. I'm pretty sure most pe...
by ken2004
Thu Jul 20, 2017 6:15 am
Forum: ESP-IDF
Topic: Is brownout detection usable now?
Replies: 17
Views: 35788

Re: Is brownout detection usable now?

Is it even possible to do brownout protection in software? Software could protect against high WiFi currents dropping the supply voltage but can software provide protection more generally? ESP_igrr mentions one protection failure mode but software protection can't be applied until after the first st...
by ken2004
Thu Jul 20, 2017 4:31 am
Forum: ESP-IDF
Topic: Time Stamps On Log Messages Are Wrong
Replies: 2
Views: 5093

Re: Time Stamps On Log Messages Are Wrong

Unfortunately, REF_TICK can be used as clock source only by 3 peripherals: UART, RMT, and LED PWM. We would need to connect it to a timer in order to produce timestamps. Thanks for the explanation as to why the suggestion will not work. Hopefully then, the second stage boot loader will be modified ...
by ken2004
Wed Jul 19, 2017 3:36 am
Forum: ESP-IDF
Topic: Time Stamps On Log Messages Are Wrong
Replies: 2
Views: 5093

Time Stamps On Log Messages Are Wrong

The time stamps on log messages increase too fast during boot. This error remains as an offset in time stamps on log messages after boot. The error occurs because the wrong CPU frequency is used as a clock divider during second stage boot. For more detail see https://github.com/espressif/esp-idf/iss...
by ken2004
Thu Jun 22, 2017 9:38 pm
Forum: ESP-IDF
Topic: CPU Frequency vs FreeRTOS
Replies: 10
Views: 16538

Re: CPU Frequency vs FreeRTOS

Thanks.
by ken2004
Thu Jun 22, 2017 1:22 pm
Forum: ESP-IDF
Topic: CPU Frequency vs FreeRTOS
Replies: 10
Views: 16538

Re: CPU Frequency vs FreeRTOS

I'm wondering how With regards to WiFi stack, it contains multiple tasks, and currently there is no way of pinning these tasks based on user choice. Whether WiFi stack tasks are pinned or not pinned isn't specified, and may change in the future. We are open to feature requests though, and may consid...
by ken2004
Sun Jun 18, 2017 1:51 pm
Forum: ESP-IDF
Topic: gettimeofday() still useless across a deep sleep
Replies: 10
Views: 20154

Re: gettimeofday() still useless across a deep sleep

From the graph it looks like like the 2 degree resolution is less than ideal. The offset between the 3 devices is also too big but that is due to the sensor technology. I remember reading the DS18B20 overcomes the same issue by physically calibrating every sensor with laser trimming. This level of o...