How does SPI work on these?

gregaryb
Posts: 2
Joined: Sat Mar 31, 2018 4:17 pm

How does SPI work on these?

Postby gregaryb » Sat Mar 31, 2018 4:37 pm

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.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: How does SPI work on these?

Postby WiFive » Sun Apr 01, 2018 3:47 pm


Who is online

Users browsing this forum: No registered users and 55 guests