-->
Page 1 of 1

GPIO speed - How to get the most out of Adafruit's 8266?

PostPosted: Mon Dec 14, 2015 10:41 am
by Csulok
80MHz vs. 1MHz : I did a quick, minimalist, and somewhat naive speed check with the Arduino IDE on the cool Adafruit Feather HUZZAH ESP8266 <https://learn.adafruit.com/adafruit-feather-huzzah-esp8266/overview>. I got about 0.6-0.8 microseconds for GPIO read/write access per bit (using FOR loop and digitalRead/Write, no interrupts used). Considering the 80MHz clock for the chip, I would expect a bit more speed out of this. I was wondering whether it is releted to code overhead?

Can you please share your experience with alternative and significantly faster GPIO access on the 8266 platform? Hardware interrupt based methods would be preferred of course. Thanks a lot!