Search found 5 matches

by dmarcos
Mon Sep 10, 2018 1:45 pm
Forum: General Discussion
Topic: Decreasing ESP32 wake up time and power consumption after deep sleep
Replies: 1
Views: 5273

Decreasing ESP32 wake up time and power consumption after deep sleep

Hi, To my current undestanding, waking up from deep sleep while in a ESP-IDF app involves: -Launching first stage bootloader from ROM. It initializes the flash and reads the second stage bootloader -Launching second stage bootloader, which sets up the application and starts it -Launching the app Als...
by dmarcos
Mon Sep 10, 2018 9:01 am
Forum: General Discussion
Topic: ESP32 ULP minimum wakeup time
Replies: 3
Views: 6255

Re: ESP32 ULP minimum wakeup time

Hi @dmarcos, Good find! I see identical result. My assumption is that 160us you identified, is the time required by ULP to wake up by the timer and start running the code. I will investigate more and post here if have some new updates. Hi, Any update on this? I've measured wakeup time more precisel...
by dmarcos
Mon Sep 10, 2018 8:47 am
Forum: General Discussion
Topic: ESP32 ULP ADC sampling glitch during wakeup
Replies: 4
Views: 6564

Re: ESP32 ULP ADC sampling glitch during wakeup

Most likely this is the 2nd stage bootloader switching ADC to a different mode to feed some entropy into the PRNG: https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/bootloader_random.c#L115. can you confirm that by disabling the calls to bootloader_random_enable/boo...
by dmarcos
Fri Sep 07, 2018 1:16 pm
Forum: General Discussion
Topic: ESP32 ULP ADC sampling glitch during wakeup
Replies: 4
Views: 6564

ESP32 ULP ADC sampling glitch during wakeup

Hi, I'm trying to sample a signal relatively fast and continuously with minimum power consumption using the ESP32's ULP. For now, the main program configures the ADC for ULP sampling and goes to sleep. It also configures the ULP wakeup timer for the required sampling period. Every time the ULP wakeu...
by dmarcos
Thu Sep 06, 2018 11:16 am
Forum: General Discussion
Topic: ESP32 ULP minimum wakeup time
Replies: 3
Views: 6255

ESP32 ULP minimum wakeup time

Hi, I'm trying to check the minimum wakeup period for the ULP. For that I did a small sample code for the ULP which just turns ON and OFF RTC_GPIO17 (GPIO27) and halts. In the main app I just configure GPIO direction and set the wakeup period for the ESP32 using the IDF provided function for that. T...