Search found 74 matches
- Mon May 11, 2020 7:50 pm
- Forum: ESP-IDF
- Topic: How can I increase wifi task stack size?
- Replies: 1
- Views: 6210
How can I increase wifi task stack size?
Task "wifi" is overflowing its stack sometimes and when I just checked the high water mark, it was 48 bytes (i.e. very close to stack overflow!). I am using v4.0 stable IDF. I don't see a CONFIG parameter to increase the stack for wifi. Although many other system tasks have adjustable sizes. Am I mi...
- Mon May 11, 2020 6:44 pm
- Forum: ESP-IDF
- Topic: BLE CCCD limit and need to erase?
- Replies: 0
- Views: 1610
BLE CCCD limit and need to erase?
I adapted the bleprph example into my application. After several rounds of testing, it seems to hit a limit related to NVS and CCCD storage. If I try to pair (same phone always) after it reports having 8 CCCD already, the BLE task seems to hang and I eventually get a Task WDT reset. After this probl...
- Thu Apr 16, 2020 1:01 am
- Forum: ESP-IDF
- Topic: Documentation discrepancy RTC fast clock
- Replies: 5
- Views: 5686
Re: Documentation discrepancy RTC fast clock
Thanks for the responses. I think things make sense now and since I do use the IDF, I can count on 8M as fast clock source.
- Wed Apr 15, 2020 9:27 pm
- Forum: ESP-IDF
- Topic: Documentation discrepancy RTC fast clock
- Replies: 5
- Views: 5686
Re: Documentation discrepancy RTC fast clock
I thought I was looking at the latest, v4.1 from Nov 2019.
https://www.espressif.com/sites/default ... ual_en.pdf
In section 30.3.7 Low-Power Clocks
???
https://www.espressif.com/sites/default ... ual_en.pdf
In section 30.3.7 Low-Power Clocks
???
- Wed Apr 15, 2020 7:59 pm
- Forum: ESP-IDF
- Topic: Documentation discrepancy RTC fast clock
- Replies: 5
- Views: 5686
Documentation discrepancy RTC fast clock
In esp32 tech reference manual, fig 166 RTC Low-Power Clocks, it shows that the default clock source for RTC fast clock is CK_40M_DIG* (div 4). However, everything else I read, and try, indicates that the ~8.5 MHz internal osc is the source. For example, in esp_clk_init(), it has hardcoded rtc_clk_f...
- Sun Apr 12, 2020 9:34 pm
- Forum: ESP-IDF
- Topic: Is there a ULP workaround to change sleep time?
- Replies: 5
- Views: 5558
Re: Is there a ULP workaround to change sleep time?
@boarchuz, you mention forcing RTC peripherals on. I notice in the online docs that the RTC PERIPH domain supposedly includes ULP. esp_sleep_pd_domain_t Power domains which can be powered down in sleep mode. ESP_PD_DOMAIN_RTC_PERIPH - RTC IO, sensors and ULP co-processor. Did you first try changing ...
- Sun Apr 12, 2020 9:25 pm
- Forum: ESP-IDF
- Topic: Are ULP restrictions gone in silicon V3?
- Replies: 4
- Views: 4672
Re: Are ULP restrictions gone in silicon V3?
Thanks for responding! All my sensor GPIOs are among the RTC pins. I may try assigning ext1 wakeup for ESP32 and not ext0. The online docs don't mention caveats if using ext1. But I wonder if it draws extra power to support the ext1 mode? I will eventually measure the power draw when all three wake ...
- Sun Apr 12, 2020 6:55 pm
- Forum: ESP-IDF
- Topic: Are ULP restrictions gone in silicon V3?
- Replies: 4
- Views: 4672
Are ULP restrictions gone in silicon V3?
I keep finding notes in the online documentation stating that revisions 0 and 1 of ESP32 have limitations with respect to ULP and deep sleep. For example, API description of esp_sleep_enable_ext0_wakeup(). In my project I need to be able to set three wakeup reasons at the same time and wake from dee...
- Sun Apr 12, 2020 6:02 pm
- Forum: ESP-IDF
- Topic: Is there a ULP workaround to change sleep time?
- Replies: 5
- Views: 5558
Re: Is there a ULP workaround to change sleep time?
Awesome info! Thanks for sharing your knowledge!
- Sun Apr 12, 2020 12:41 am
- Forum: ESP-IDF
- Topic: Is there a ULP workaround to change sleep time?
- Replies: 5
- Views: 5558
Is there a ULP workaround to change sleep time?
According to online documentation (quoted below), ULP code cannot change which of the 5 sleep time values is in use if the main system is in deep sleep. It would be very helpful for my project if the ULP code could choose a different timer without bringing ESP32 out of deep sleep. It does not seem t...