ESP8266 Developer Zone The Official ESP8266 Forum 2016-12-03T05:33:32+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=3132 2016-12-03T05:33:32+08:00 2016-12-03T05:33:32+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3132&p=10761#p10761 <![CDATA[Re: ESP8266 Reset because of gpio pin toggle?]]>
http://workupload.com/archive/USnQLLh

Statistics: Posted by Stational — Sat Dec 03, 2016 5:33 am


]]>
2016-11-27T13:23:02+08:00 2016-11-27T13:23:02+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3132&p=10681#p10681 <![CDATA[Re: ESP8266 Reset because of gpio pin toggle?]]> Statistics: Posted by Guest — Sun Nov 27, 2016 1:23 pm


]]>
2016-11-25T15:32:46+08:00 2016-11-25T15:32:46+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3132&p=10660#p10660 <![CDATA[Re: ESP8266 Reset because of gpio pin toggle?]]>
i don't know how this reset is called, it just stops working after ~4s and then i get this message on my serial monitor (74480 Baud):


SDK ver: 1.5.4(baaeaebb) compiled @ May 17 2016 19:23:54
phy ver: 972, pp ver: 10.1
mode : sta(5c:cf:7f:1c:0a:10)
¢@*r…Ä(±±Kít¥dmXK
nzAl
±#Nørf[112] : 03
rf[113] : 00
rf[114] : 01


Then it works again for 4 seconds...

Statistics: Posted by Stational — Fri Nov 25, 2016 3:32 pm


]]>
2016-11-25T14:04:29+08:00 2016-11-25T14:04:29+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3132&p=10659#p10659 <![CDATA[Re: ESP8266 Reset because of gpio pin toggle?]]> reset are you mentioning here? It would help to see the reset debug output log!

Statistics: Posted by Guest — Fri Nov 25, 2016 2:04 pm


]]>
2016-11-25T05:35:43+08:00 2016-11-25T05:35:43+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3132&p=10642#p10642 <![CDATA[ESP8266 Reset because of gpio pin toggle?]]>
my esp8266 resets (probably) because i toggle some pins quite fast with this function:

Code:

void pinHigh(uint32_t PIN){
   gpio_output_set(0,0,0,PIN);
}

void pinLow(uint32_t PIN){
   gpio_output_set(0,PIN,PIN,0);
}

void sendByte(uint8_t dataByte){
   uint8_t initBitCounter;
   for(initBitCounter = 7; initBitCounter >= 0; initBitCounter--){
      uint8_t bitToWrite = (dataByte >> initBitCounter) & 1;
      if(bitToWrite == 1){
         pinHigh(SDI);
      } else {
         pinLow(SDI);
      }
      pinHigh(SCK);
      os_delay_us(2);
      pinLow(SCK);
   }
}


I call the "sendByte" - function every second with a timer, the esp8266 resets every ~4 seconds. Why is that?

Statistics: Posted by Stational — Fri Nov 25, 2016 5:35 am


]]>