SPI on ESP8266?

Posted on
  • I DID try searching first, and came up with nothing.

    Are the SPI pins supported? HSPI? Is the latter "hardware" SPI? But aren't the SPI pins also hardware controlled/managed? Surely not bit-banged?

    Supported through the core SPI object? If so, what's the built-in var?

    Sorry for the rapid-fire questions, I'm a little frustrated 'cause I can't piece it together from what I can find on the forum. Forgive my crankiness :-)

  • One of the sets of spi pins are used for the flash.

    Other pair is usable. This code works - you can see how I set it up http://forum.espruino.com/conversations/­280762/

  • Thanks, Dr!

  • Having said that, the implementation of hardware SPI is a bit rough, and although you might feel better using it, it's probably not much more efficient than just using software SPI - because for hardware SPI it's still waiting for each byte to be sent.

  • This is using SPI to drive a nokia display on an ESP8266:

    http://forum.espruino.com/conversations/­287196/#comment12997920

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

SPI on ESP8266?

Posted by Avatar for dwallersv @dwallersv

Actions