Page 1 of 1

Metro ESP32-S3 - Multiple SPI

Posted: Mon Feb 12, 2024 10:09 am
by pgeremia
Hello,

I am using the Metro ESP32-S3 with a nixie clock. The clock originally used an UNO and uses SPI to drive the Nixie tubes. I am using the Metro and it works for the Nixie. But I also need to use the SD card. I have not found a way to use both at the same time. Most ESP32 devices allow you to use HSPI and VSPI as totally separate SPI bus interfaces. But when settings this up in VSCODE/PlatformIO I cant seem to use VSPI. Can the Metro ESP32-S3 support this? If so is there some example code showing this usage etc?

Thank you!

Pete

Re: Metro ESP32-S3 - Multiple SPI

Posted: Mon Feb 12, 2024 11:35 am
by dastels
The SPI bus is designed to support multiple devices. Give each device a separate CS signal. The interface classes should allow you to specify that pin.

Dave