system_deep_sleep() and XPD

dkinzer
Posts: 52
Joined: Fri Jul 31, 2015 7:37 am

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

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

Who is online

Users browsing this forum: No registered users and 28 guests