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.
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: