Metro ESP32-S3 - Multiple SPI

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Post Reply
User avatar
pgeremia
 
Posts: 12
Joined: Sun Jan 06, 2013 10:45 pm

Metro ESP32-S3 - Multiple SPI

Post 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

User avatar
dastels
 
Posts: 15492
Joined: Tue Oct 20, 2015 3:22 pm

Re: Metro ESP32-S3 - Multiple SPI

Post 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

Post Reply
Please be positive and constructive with your questions and comments.

Return to “Metro, Metro Express, and Grand Central Boards”