Page 1 of 1

What is the state of a digital IO in deep sleep. E.g. GPIO17

Posted: Fri Dec 07, 2018 12:45 pm
by persan666
I am using the ESP-WROOM-32D chip.
The RTC-GPIOs can be set to a known state in deep sleep but how is it with the other pins.
What happends to the following pins in deep sleep:
GPIO23
GPIO22
GPIO21
GPIO19
GPIO18
GPIO17
GPIO16
GPIO5
GPIO4
GPIO0
GPIO1
GPIO3

/Per

Re: What is the state of a digital IO in deep sleep. E.g. GPIO17

Posted: Mon Dec 10, 2018 6:30 am
by ESP_houwenxiang
Digital gpio can not hold the state befor deep_sleep, their power domain will be turned off to reduce power consumption. But we will son support a API to enable digital gpio hold feature.
thanks !!

Re: What is the state of a digital IO in deep sleep. E.g. GPIO17

Posted: Mon Dec 10, 2018 9:46 am
by persan666
OK! Thanks!

By API you mean ESP-idf?
If it is a software change to support this feature, should it not be possible to set this settings even today by writing to some register in the processor?

When you say "their power domain will be turned off to reduce power consumption" but what are there state? Unknown, Pull-down, isolated?

/Per

Re: What is the state of a digital IO in deep sleep. E.g. GPIO17

Posted: Tue Dec 11, 2018 12:38 pm
by ESP_houwenxiang
persan666 wrote:
Mon Dec 10, 2018 9:46 am
OK! Thanks!

By API you mean ESP-idf?
If it is a software change to support this feature, should it not be possible to set this settings even today by writing to some register in the processor?

When you say "their power domain will be turned off to reduce power consumption" but what are there state? Unknown, Pull-down, isolated?

/Per
The GPIO can not keep high level, but can be pulled up by an external resistor.

Re: What is the state of a digital IO in deep sleep. E.g. GPIO17

Posted: Sat Dec 26, 2020 7:55 am
by andrewandroid
Hey ESP_houwenxiang / woohooko

I think this is exactly what I'm looking for!!

Holding a non-RTC, GPIO pin's state while in deep sleep.

I know these posts are two years ago now, but did this feature end up getting implemented? I couldn't find it in the documentation.

Thanks so much!
Andrew