Search found 257 matches

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

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

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

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

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

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

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

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

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

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...
by boarchuz
Sun Jan 26, 2020 8:50 pm
Forum: IDEs for ESP-IDF
Topic: VS Code Extension, includes missing, menuconfig not showing up [IDFGH-3001]
Replies: 4
Views: 3933

Re: VS Code Extension, includes missing, menuconfig not showing up

Squiggles: You need to set up Intellisense. Instructions here: https://github.com/espressif/vscode-esp ... URATION.md

Menuconfig: Close VS Code, delete your project's build folder, launch VS Code and try again.

Go to advanced search