Search found 8 matches

by Neil.Macmullen
Mon Nov 25, 2019 9:03 am
Forum: ESP32 IDF
Topic: Is it possible to protect against excessive deep-sleep delays?
Replies: 7
Views: 373

Re: Is it possible to protect against excessive deep-sleep delays?

Thanks @boarchuz. The ULP is a good idea. I agree it's unlikely but in a previous life we had a significant issue with a similar problem (albeit high unit volumes and exacerbated by lack of brownout protection) and the current product is intended to work for 5-10 years in the field without any manua...
by Neil.Macmullen
Sat Nov 23, 2019 9:25 pm
Forum: ESP32 IDF
Topic: Is it possible to protect against excessive deep-sleep delays?
Replies: 7
Views: 373

Re: Is it possible to protect against excessive deep-sleep delays?

@chegewara Perhaps I haven't explained clearly enough.... Although it's very unlikely, the CPU program counter can get corrupted. One reason for this is supply brownout though this is protected against on the ESP and most modern CPUs. There are plenty of other reasons though and one of the most like...
by Neil.Macmullen
Sat Nov 23, 2019 12:00 pm
Forum: ESP32 IDF
Topic: Is it possible to protect against excessive deep-sleep delays?
Replies: 7
Views: 373

Re: Is it possible to protect against excessive deep-sleep delays?

@chegewara. That doesn't protect against the kinds of errors I'm talking about where the code is in such an error state (e.g. from a corrupted PC return address on the stack) that it is calling the raw API with a random value. @WiFive Thanks - that sounds interesting. Is there an API to control this...
by Neil.Macmullen
Fri Nov 22, 2019 12:14 pm
Forum: ESP32 IDF
Topic: Is it possible to protect against excessive deep-sleep delays?
Replies: 7
Views: 373

Is it possible to protect against excessive deep-sleep delays?

According to the documentation https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/system/sleep_modes.html esp_sleep_enable_timer_wakeup accepts a 64 bit value which is the number of microseconds. The maximum value of this is rather high - hundreds of thousands of years! Since my app...
by Neil.Macmullen
Thu Oct 31, 2019 1:10 pm
Forum: ESP32 IDF
Topic: Is there a way to persist an application reset reset through esp_restart?
Replies: 2
Views: 207

Re: Is there a way to persist an application reset reset through esp_restart?

Perfect, RTC_NOINIT_ATTR is exactly what I was looking for - thanks! :D
by Neil.Macmullen
Wed Oct 30, 2019 11:56 am
Forum: ESP32 IDF
Topic: Is there a way to persist an application reset reset through esp_restart?
Replies: 2
Views: 207

Is there a way to persist an application reset reset through esp_restart?

My application is deeply embedded and so I have a 'fault' mechanism that performs esp_restart if unusual conditions are detected. I would like to persist the reason for the fault (e.g. "too many connection attempts") through the restart so that it can be written to the flash filing system then uploa...
by Neil.Macmullen
Thu Mar 14, 2019 4:49 pm
Forum: General Discussion
Topic: BLE-only power consumption
Replies: 20
Views: 21334

Re: BLE-only power consumption

*Bump* Any progress on this Espressif? We'd really love to be able to transmit a beacon every few seconds while averaging < 100uA but this just isn't possible at the moment.
by Neil.Macmullen
Sun Mar 10, 2019 1:39 pm
Forum: Report Bugs
Topic: Strange glitches on PIOs when uart1 is used
Replies: 0
Views: 962

Strange glitches on PIOs when uart1 is used

Hi all. I am using an esp32 (16MB) with SDK is 1.5 Uart 0 is configured for a debug port Uart 1 is configured to communicate with a cellular modem on gpio 16/17 I am seeing some very odd effects where gpio 22/23 appear to be driven by the esp32 when uart 1 is in use. gpio22/23 are control lines to t...

Go to advanced search