• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Dual SPI on ESP32

Q&A Forum › Category: ESP32 › Dual SPI on ESP32
0 Vote Up Vote Down
James asked 5 years ago

Good evening,
I am having some trouble finding a good explanation on how to setup two SPI devices on an esp32.  Either with the MOSI, MISO, CLK in parallel with different SS pins or using the the VSPI and HSPI separately.  In my setup I have a W5500 ethernet shield and and SDcard reader both using SPI.  The SDcard logs actions and data while the ethernet needs to accept TCP request to send current data back to a nodeRED server.  Any help in pointing me in the correct direction would be appreciated.  

1 Answers
0 Vote Up Vote Down
Steve Mercer answered 5 years ago

SPI is a bus that can have many peripherals just by the master (ESP32) selecting the slave (SS) to talk to.
There are a number of articles out there on how to do what you want but not much with the ESP32. Try these:
https://learn.sparkfun.com/tutorials/serial-peripheral-interface-spi/all
https://cdn-learn.adafruit.com/downloads/pdf/arduino-ethernet-sd-card.pdf
https://stackoverflow.com/questions/57454066/how-to-use-2-spi-devices-lora-and-sd-card-on-esp32
 
 
 

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.