I'm newbie with Arduino and need to do a short task: read data from SPI (sent by another microcontroller) and send to WiFi (by ESP32-WROOM-32).

I can't understand how to initialize and read data from SPI. I'm using VSPI. I need to use VSPI class? Or a SPI class?

Any idea will help me a lot.


  • can you use uart instead? it's a lot simpler... – dandavis Feb 21 '19 at 16:54
  • @dandavis unfortunately no – Tulio F. Polachini Feb 21 '19 at 17:00
  • 1
    ESP-32 is not an Arduino – Juraj Feb 21 '19 at 17:58
  • @Juraj you are correct, but ESP-32 can be programmed with Arduino IDE and arduino code – Tulio F. Polachini Feb 21 '19 at 18:08
  • do you use the Arduino IDE and the ESP32 Arduino package? – Juraj Feb 21 '19 at 18:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.