Deepsleep wakeup delay until wakeup stub

persan666
Posts: 28
Joined: Fri Feb 16, 2018 9:17 am

Deepsleep wakeup delay until wakeup stub

Postby persan666 » Wed Dec 19, 2018 4:21 pm

What would be the expected time duration when wake up from deepsleep until execution of wake stub?

I am setting a GPIO in the wake stub function and measure the time with a oscilloscope.

I experiencing approximately 700ms until the wake stub get executed. this is around 200ms faster than setting the GPIO in the application.

The documentation says that the wake stub will be called before any initialization, bootloader or app execution.

I can see when I analyzing the pin SCK/CLK (Chip pin 20 connected to internal flash) that a lot of activity is beeing made, probably loading of application is done before wake stub gets called.

My goal is to have a GPIO to start a power source switching circuit immediately when the ESP wakes up before the voltage drops in my supercap. And 700ms is too long:(


Chip used: ESP-WROOM-32D

persan666
Posts: 28
Joined: Fri Feb 16, 2018 9:17 am

Re: Deepsleep wakeup delay until wakeup stub

Postby persan666 » Mon Jan 07, 2019 11:54 am

Anyone? Please!

persan666
Posts: 28
Joined: Fri Feb 16, 2018 9:17 am

Re: Deepsleep wakeup delay until wakeup stub

Postby persan666 » Fri Jan 18, 2019 10:12 am

Problem solved! I was using a incorrect way to set the gpio in the wakeup stub. Now I see a delay of only 1ms!

Who is online

Users browsing this forum: Baidu [Spider], ESP_Sprite and 212 guests