-->
Page 1 of 2

Beware about GPIO16 and deepSleep

PostPosted: Sat Feb 20, 2016 11:01 am
by martinayotte
Redge76 and PaulRG discovery is simply amazing !

External Reset is not working properly during a deepSleep because GPIO16 is helding the RES pin to HIGH too strongly !
(viewtopic.php?f=13&t=7918&start=8#p41510)

I though originally that GPIO16 was acting as OpenDrain, but it doesn't seem too : I've put my scope on GPIO16 and it is turning HIGH when deepSleep() command is issued ! :o

But I've discovered a workaround : instead of placing only a wire, I've put a 1K resistor, that way the deepSleep is working and external reset too ! :)

EDIT: I've forgot to mention, this is true for any ESP8266 ! :evil:

Re: Beware about GPIO16 and deepSleep

PostPosted: Sat Feb 20, 2016 1:26 pm
by giraffe81
That explains a lot! I noticed that external reset didn't work when in sleep mode. I just thought it was just the nature of being in a deep sleep.

Re: Beware about GPIO16 and deepSleep

PostPosted: Sat Feb 20, 2016 2:51 pm
by Mario Mikočević
Heya,

I'm using 220R on all my PCBs and external reset works fine. Even had soldered 22R on some due to my mind being fooled by resistor notation :) .

Nice discovery though, appreciated.


--
Mozz

Re: Beware about GPIO16 and deepSleep

PostPosted: Sun Feb 21, 2016 11:20 am
by eduperez
Thanks for the heads up!