ESP8266 Developer Zone The Official ESP8266 Forum 2018-11-03T19:29:16+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=632 2018-11-03T19:29:16+08:00 2018-11-03T19:29:16+08:00 https://bbs.espressif.com:443/viewtopic.php?t=632&p=35274#p35274 <![CDATA[Re: GPIO16 WOES]]>
"GPIO16 has been connected to the nRESET pin"

Statistics: Posted by Guest — Sat Nov 03, 2018 7:29 pm


]]>
2015-07-04T15:03:58+08:00 2015-07-04T15:03:58+08:00 https://bbs.espressif.com:443/viewtopic.php?t=632&p=2490#p2490 <![CDATA[Re: GPIO16 WOES]]> Statistics: Posted by scargill — Sat Jul 04, 2015 3:03 pm


]]>
2015-07-04T04:38:24+08:00 2015-07-04T04:38:24+08:00 https://bbs.espressif.com:443/viewtopic.php?t=632&p=2489#p2489 <![CDATA[Re: GPIO16 WOES]]>
scargill wrote:
Hi

Well, I just wanted to be able to use GPIO16 as an additional output - I have a flashing indicator on the board which indicates "all is well" and it seems a waste of an otherwise useful output. However, things are as they are and it does seem that at least some ESP-12 and ESP-12e have GPIO16 attached to RESET so short of taking the cans off we're stuck with it. It was a nice thought.

IO expanders... yes, something using no more than 2 pins - and cheap. Suggestions?

tve wrote:What were you hoping to use GPIO16 for? It's not really as general-purpose as the other ones. At some point if you need more inputs or outputs an i2c expander is probably the easiest way to go...

(You're right that leaving gpio16-reset disconnected would have been the right way to go given that the esp-12 has both brought out, I've not worked with that module so I hadn't realized.)


If you don't need the feature of waking up from deep sleep(if you have a control on CHIP_EN pin, wakeup from deep sleep seems not much of de facto usage), you may cut the interconnect between the nReset pin of the chipset and Gpio16 with a knife but keep the connection between Gpio16 pin of the chipset and nRESET pin of the connector. Possiblly you may find a cutting point near the chipset nReset Pin. In this way, you will let the chipset nReset pin float (don't worry, it will be pulled up internally), and the nRESET pin of Connector will de facto be the GPIO16.

Not an expertised suggestion, but possible a practical one :)

Statistics: Posted by Guest — Sat Jul 04, 2015 4:38 am


]]>
2015-06-23T18:47:24+08:00 2015-06-23T18:47:24+08:00 https://bbs.espressif.com:443/viewtopic.php?t=632&p=2371#p2371 <![CDATA[Re: GPIO16 WOES]]>
For example search for :
PCF8574 IO Expansion Board Expander I2C-Bus Evaluation Development module

on your favorite modules supplier site.

Or get a PCF8574 chip on your board.


Regards,
zaxl

Statistics: Posted by zaxl — Tue Jun 23, 2015 6:47 pm


]]>
2015-06-23T17:59:56+08:00 2015-06-23T17:59:56+08:00 https://bbs.espressif.com:443/viewtopic.php?t=632&p=2369#p2369 <![CDATA[Re: GPIO16 WOES]]>
Well, I just wanted to be able to use GPIO16 as an additional output - I have a flashing indicator on the board which indicates "all is well" and it seems a waste of an otherwise useful output. However, things are as they are and it does seem that at least some ESP-12 and ESP-12e have GPIO16 attached to RESET so short of taking the cans off we're stuck with it. It was a nice thought.

IO expanders... yes, something using no more than 2 pins - and cheap. Suggestions?

tve wrote:
What were you hoping to use GPIO16 for? It's not really as general-purpose as the other ones. At some point if you need more inputs or outputs an i2c expander is probably the easiest way to go...

(You're right that leaving gpio16-reset disconnected would have been the right way to go given that the esp-12 has both brought out, I've not worked with that module so I hadn't realized.)

Statistics: Posted by scargill — Tue Jun 23, 2015 5:59 pm


]]>
2015-06-23T02:58:16+08:00 2015-06-23T02:58:16+08:00 https://bbs.espressif.com:443/viewtopic.php?t=632&p=2346#p2346 <![CDATA[Re: GPIO16 WOES]]>
(You're right that leaving gpio16-reset disconnected would have been the right way to go given that the esp-12 has both brought out, I've not worked with that module so I hadn't realized.)

Statistics: Posted by tve — Tue Jun 23, 2015 2:58 am


]]>
2015-06-22T16:08:44+08:00 2015-06-22T16:08:44+08:00 https://bbs.espressif.com:443/viewtopic.php?t=632&p=2341#p2341 <![CDATA[Re: GPIO16 WOES]]> http://tech.scargill.net) suggesting this varies from manufacturers as there are some ESP-12s which are NOT shorted. Still - at least now we know.

Statistics: Posted by scargill — Mon Jun 22, 2015 4:08 pm


]]>
2015-06-22T10:28:59+08:00 2015-06-22T10:28:59+08:00 https://bbs.espressif.com:443/viewtopic.php?t=632&p=2339#p2339 <![CDATA[Re: GPIO16 WOES]]> On the esp-03 module there is a tiny jumper to connect GPIO16 to reset so one can connect/disconnect it. On the esp-12, since everything is under a shield that jumper is evidently not available, so they had to decide one way or the other...

Statistics: Posted by tve — Mon Jun 22, 2015 10:28 am


]]>
2015-06-22T08:02:47+08:00 2015-06-22T08:02:47+08:00 https://bbs.espressif.com:443/viewtopic.php?t=632&p=2338#p2338 <![CDATA[Re: GPIO16 WOES]]> Statistics: Posted by scargill — Mon Jun 22, 2015 8:02 am


]]>
2015-06-20T21:25:36+08:00 2015-06-20T21:25:36+08:00 https://bbs.espressif.com:443/viewtopic.php?t=632&p=2329#p2329 <![CDATA[Re: GPIO16 WOES]]>
I wonder whether your GPIO16 has been connected to the nRESET pin.

If so, I am afraid you may have to call gpio16_output_set(1) "before" a call to gpio16_output_conf(), to make sure the corresponding bit in the output register is 1 upon you set the pin as output. Or it might output a low level from GPIO16 to nReset pin and reset the esp8266 just upon the call to gpio16_output_conf().

FYI I verified it on my platform in this point as well.

Hope it will be helpful.

Statistics: Posted by Guest — Sat Jun 20, 2015 9:25 pm


]]>
2015-06-20T16:48:00+08:00 2015-06-20T16:48:00+08:00 https://bbs.espressif.com:443/viewtopic.php?t=632&p=2325#p2325 <![CDATA[GPIO16 WOES]]> https://github.com/willemwouters/ESP826 ... r/gpio16.c

Using SDK 1.1.2

I called gpio_output_conf();

and

gpio_output_set(1);

and IMMEDIATELY the ESP-12 REBOOTED.

What's wrong? I notice there is no GPIO16 setup in the IOT Demo of the new SDK - has something changed?

Statistics: Posted by scargill — Sat Jun 20, 2015 4:48 pm


]]>