system_deep_sleep() and XPD
system_deep_sleep() and XPD
Postby dkinzer » Wed Aug 12, 2015 8:18 am
What configuration, if any, needs to be done or avoided in order to use the XPD pin to reset the device after the sleep period. In my app I currently configure GPIO16 to be an input (using the example code in gpio16.c) but I can rearrange things if necessary. Will this configuration prevent the XPD signal from making it to the pin?
Don Kinzer
Beaverton, OR, USA
Beaverton, OR, USA
-
- Posts: 140
- Joined: Mon Oct 27, 2014 10:40 am
Re: system_deep_sleep() and XPD
Postby Espressif_Kelly » Fri Aug 14, 2015 8:00 pm
Dear Sir,
In deep sleep mode, except XPD_DCDC, other GPIO port are in high impedance state and no current in IO, but it can keep the level when the GPIO is connected to a MOS.
In deep sleep mode, you don't need to configure XPD_DCDC, but you need to connect XPD_DCDC to EXT_RSTB to wake up deep sleep in hardware.
If you want to use XPD_DCDC as GPIO16, you can just configure it but make sure that it won't be connected to EXT_RSTB.
Thanks.
In deep sleep mode, except XPD_DCDC, other GPIO port are in high impedance state and no current in IO, but it can keep the level when the GPIO is connected to a MOS.
In deep sleep mode, you don't need to configure XPD_DCDC, but you need to connect XPD_DCDC to EXT_RSTB to wake up deep sleep in hardware.
If you want to use XPD_DCDC as GPIO16, you can just configure it but make sure that it won't be connected to EXT_RSTB.
Thanks.
Who is online
Users browsing this forum: No registered users and 58 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.