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

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

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

Postby persan666 » Fri Dec 07, 2018 12:45 pm

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

ESP_houwenxiang
Posts: 118
Joined: Tue Jun 26, 2018 3:09 am

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

Postby ESP_houwenxiang » Mon Dec 10, 2018 6:30 am

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 !!
wookooho

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

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

Postby persan666 » 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

ESP_houwenxiang
Posts: 118
Joined: Tue Jun 26, 2018 3:09 am

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

Postby ESP_houwenxiang » Tue Dec 11, 2018 12:38 pm

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.
wookooho

andrewandroid
Posts: 7
Joined: Sat Dec 26, 2020 7:33 am

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

Postby andrewandroid » Sat Dec 26, 2020 7:55 am

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

Who is online

Users browsing this forum: jtroncin21, MicroController and 103 guests