Search found 178 matches

by boarchuz
Tue Feb 18, 2020 6:39 am
Forum: General Discussion
Topic: RTC fast memory usage and slow memory size
Replies: 5
Views: 1969

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: ESP32 IDF
Topic: how to retain GPIO state when system wakes up?
Replies: 7
Views: 483

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: ESP32 IDF
Topic: how to retain GPIO state when system wakes up?
Replies: 7
Views: 483

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: ESP32 IDF
Topic: how to retain GPIO state when system wakes up?
Replies: 7
Views: 483

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: 1
Views: 787

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: 647

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: 740

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: 368

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: 250

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.
by boarchuz
Tue Jan 28, 2020 9:06 am
Forum: ESP32 IDF
Topic: How to find the image size for OTA
Replies: 7
Views: 689

Re: How to find the image size for OTA

You're barking up the wrong tree. This has nothing to do with the functionality of the ESP32. There's no way to magically determine the total size if the server isn't providing that information. So you'll need to configure your server: Most servers will automatically set the Content-Length header (I...

Go to advanced search