Search found 279 matches

by boarchuz
Wed Feb 19, 2020 1:18 pm
Forum: General Discussion
Topic: Wake up after deep sleep
Replies: 5
Views: 1086

Re: Wake up after deep sleep

If you're using IDF v4 you can try CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP for significantly faster wakeup.
by boarchuz
Tue Feb 18, 2020 6:39 am
Forum: General Discussion
Topic: RTC fast memory usage and slow memory size
Replies: 5
Views: 3351

Re: RTC fast memory usage and slow memory size

Where did you see that the upper 4k is no longer reserved?
by boarchuz
Sun Feb 16, 2020 1:20 pm
Forum: ESP-IDF
Topic: how to retain GPIO state when system wakes up?
Replies: 7
Views: 1559

Re: how to retain GPIO state when system wakes up?

I'm not entirely sure why but I've had a tinker and looked at the TRM to try make sense of it. It does say that RTC_CNTL_HOLD_FORCE_REG (Register 30.34) is specifically for hibernation ("Set to preserve pad’s state during hibernation"), so I suppose it makes sense that it's not relevant when manipul...
by boarchuz
Sat Feb 15, 2020 3:25 am
Forum: ESP-IDF
Topic: how to retain GPIO state when system wakes up?
Replies: 7
Views: 1559

Re: how to retain GPIO state when system wakes up?

Try changing your hold/unhold to the ULP equivalent of rtc_gpio_hold_en/rtc_gpio_hold_dis for the specific pin.
For 15, that would be:

Code: Select all

WRITE_RTC_REG(RTC_IO_TOUCH_PAD3_REG, 31, 1, 0) //unhold
WRITE_RTC_REG(RTC_IO_TOUCH_PAD3_REG, 31, 1, 1) //hold
by boarchuz
Fri Feb 07, 2020 10:57 pm
Forum: ESP-IDF
Topic: how to retain GPIO state when system wakes up?
Replies: 7
Views: 1559

Re: how to retain GPIO state when system wakes up?

It should be held. Are you reinitializing the pin / ULP on a deep sleep wakeup?
by boarchuz
Thu Feb 06, 2020 12:28 am
Forum: Documentation
Topic: Version links broken on 'latest'
Replies: 9
Views: 10753

Version links broken on 'latest'

Using the 'Read The Docs' popup menu to select a different version of the IDF docs on any page seems to fall back to the root https://www.espressif.com/en/support/download/documents page. Take the 'latest' HTTP server page, for example: https://docs.espressif.com/projects/esp-idf/en/latest/api-refer...
by boarchuz
Sat Feb 01, 2020 4:58 pm
Forum: General Discussion
Topic: Proper way to power ESP32 from the main supply
Replies: 5
Views: 1237

Re: Proper way to power ESP32 from the main supply

Unless there's a large load or hazardous environment you haven't told us about, you're thinking way too hard about this. If you're anything like me you'll have gathered dozens of those little USB wallwarts from every phone, tablet, widget and gadget purchase over the years. If not, I'm sure Amazon h...
by boarchuz
Sat Feb 01, 2020 4:46 pm
Forum: ESP32 Arduino
Topic: ESP32 crashes after HTTP request
Replies: 8
Views: 2591

Re: ESP32 crashes after HTTP request

Dump as much debug output as you can, especially all of the response headers. Get separate output for a successful one and one that crashes.
Get the raw response in Fiddler and post it verbatim here.
by boarchuz
Sat Feb 01, 2020 11:02 am
Forum: Hardware
Topic: GPIO36/39 crosstalk (or still in sensor mode)
Replies: 4
Views: 952

Re: GPIO36/39 crosstalk (or still in sensor mode)

Possibly this (and related issues):
https://github.com/espressif/esp-idf/issues/4585
Does esp_wifi_set_ps(WIFI_PS_NONE); have any effect?
by boarchuz
Wed Jan 29, 2020 6:27 pm
Forum: ESP32 Arduino
Topic: RTC Alarm triggering low and esp_sleep_enable_ext1_wakeup
Replies: 2
Views: 660

Re: RTC Alarm triggering low and esp_sleep_enable_ext1_wakeup

Datasheet says it's an open drain output so just connect the button and the RTC interrupt to the same pin, with a single pull-up resistor.

Go to advanced search