Page 1 of 1

How does SPI work on these?

Posted: Sat Mar 31, 2018 4:37 pm
by gregaryb
With Arduino there is only one SPI interface and when using the SPI library you don't have to specify which pins as the library is hard coded to use the only SPI pins there are.

But ESP32 has 4 SPI interfaces, one of which is used to flash the chip, but there are two other SPI interfaces that are exposed on my particular board:

SPI2 - 12,13,14,15
SPI3 - 19,23,18,5

So how do I use the SPI library in Arduino IDE when developing for an ESP32?

There are no example sketches provided to see how it is done.

Re: How does SPI work on these?

Posted: Sun Apr 01, 2018 3:47 pm
by WiFive