Search found 361 matches
- Tue Feb 02, 2021 3:40 pm
- Forum: ESP-IDF
- Topic: Light Sleep GPIO Workaround Unnecessary?
- Replies: 0
- Views: 120
Light Sleep GPIO Workaround Unnecessary?
Recent changes in IDF [0] allow significantly lower light sleep current. Testing this today, I found some interesting behaviour I don't quite understand. The TL;DR is that this is a great improvement (825uA -> 375uA) but it seems it can be achieved much more easily by resetting a small number of off...
- Thu Jan 28, 2021 1:31 am
- Forum: ESP-IDF
- Topic: Touch pad wake up from deep sleep only works once if Brownout detector is turned off
- Replies: 2
- Views: 277
Re: Touch pad wake up from deep sleep only works once if Brownout detector is turned off
Isn't it likely that you still have power supply problems? That could cause odd behaviour with touch sensors, but you won't know about it now with brownout detection disabled. If you have a reliable reproduction for the brownout reset issue you should reply to @igrr: https://github.com/adafruit/circ...
- Thu Jan 28, 2021 12:52 am
- Forum: General Discussion
- Topic: doubt with memory when using esp_http_client
- Replies: 1
- Views: 244
Re: doubt with memory when using esp_http_client
Don't dwell on it, there's no leak if there's not a consistent pattern of reduction. See this post: https://esp32.com/viewtopic.php?t=14056#p55646 And also consider that there are other tasks doing work behind the scenes - especially WiFi/lwip in this case, which will be dynamically allocating/deall...
- Tue Jan 26, 2021 11:26 pm
- Forum: ESP-IDF
- Topic: how to disable server validation (CA)
- Replies: 2
- Views: 231
Re: skip server validation seems not to work
skip_cert_common_name_check will not allow you to bypass TLS, it will only avoid checking the certificate's CN (so a possible mismatch would not fail validation). To completely disable the certificate check, you will need to go to ESP-TLS in menuconfig, enable "Allow potentially insecure options" an...
- Mon Jan 25, 2021 11:59 pm
- Forum: Hardware
- Topic: ESP32S2 board resetting from deep sleep
- Replies: 6
- Views: 586
- Sun Jan 17, 2021 8:54 am
- Forum: ESP-IDF
- Topic: Does the ULP have a fixed execution frequency?
- Replies: 4
- Views: 528
- Sat Jan 16, 2021 8:11 am
- Forum: ESP-IDF
- Topic: Does the ULP have a fixed execution frequency?
- Replies: 4
- Views: 528
Re: Does the ULP have a fixed execution frequency?
Cycles for all instructions are included here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/ulp_instruction_set.html read the RTC_TIME registers at the very beginning, then reading them at the very end of the program, and using the difference to alter the ULPs sleep timer? ...
- Thu Jan 14, 2021 1:29 pm
- Forum: General Discussion
- Topic: ESP32ULP wakeup question
- Replies: 7
- Views: 698
Re: ESP32ULP wakeup question
It's not clear where ULP variable offsets are coming from (eg. debounce_max_count). Maybe I missed something. The xxx->ulp_xxx pattern is only used when compiling ULP assembly. You can't do it that way with legacy macros. See here for an alternative with macros (and ulp_var_t in HULP examples for an...
- Wed Jan 13, 2021 6:41 pm
- Forum: General Discussion
- Topic: ESP32ULP wakeup question
- Replies: 7
- Views: 698
Re: ESP32-S2 module custom programming
It's not clear where ULP variable offsets are coming from (eg. debounce_max_count). Maybe I missed something. For RTCIOs 0-15, you would want RTC_GPIO_IN_NEXT_S to RTC_GPIO_IN_NEXT_S+15. For the upper two you want RTC_GPIO_IN_NEXT_S+16 to RTC_GPIO_IN_NEXT_S+16+1. RTC_CNTL_RDY_FOR_WAKEUP -> RTC_CNTL_...
- Wed Jan 13, 2021 6:33 pm
- Forum: Hardware
- Topic: sensor_vn used as GPIO39 input
- Replies: 2
- Views: 270
Re: sensor_vn used as GPIO39 input
Keypads like this work by toggling column pins output low sequentially, reading the state of each row pin for each column. In case 2, GPIO 35 is used as a column pin yet it is not output capable, so the row pins are always pulled high. 34-39 should only be used as row pins here (with external pullup...