-->
Page 1 of 1

how to wire SPI ?

PostPosted: Sat Jul 13, 2019 9:30 am
by RicoBelo
Hello,

I'm new on this forum and quite incompetent in electronic design as you'll understand reading below...

So I'm using ESP8266 module (with no external components) for an hobbyist project. Currently I know how to handle GPIO pins 0 and 15 to boot the ESP8266 and run my arduino code on it : i managed to use a double commutator to drive GPIO pins to VCC or GND depending of if I wish to upload code or execute it... Probably not the "academic way to do it, but it work.

But now I need to use the SPI controller to drive a LCD screen, and this is were I get in trouble: the SPI driver is using GPIO0 and GPIO2 in "function 1" mode. So how should I handle the wiring to keep UART, SPI, upload mode and normal mode ???

All of this is totally unclear in my mind, so any help would be appreciated !

Thanks,

Eric