Hello,
I am using SD_sdFat_Bench.ino as a reference, and it works fine on my board. However, while analyzing its code, I encountered two questions:
- The code uses SPI for communication with the SD card, whereas the board’s hardware overview mentions: “We chose to connect the SD card to the SDIO interface instead of the dedicated SPI bus.”
Does this mean that both interfaces (SPI and SDIO) are connected to the SD card, or is SPI being used exclusively? - The reference code uses the following SPI pin settings:
// ESP32-S3 Thing Plus
int pin_spiSCK = 38;
int pin_spiPICO = 34; // microSD SDI
int pin_spiPOCI = 39; // microSD SDO
int pin_spiCS = 33;
If I were to implement SPI functionality from scratch, how could I determine which GPIOs are dedicated to SPI on this board?
Thanks in advance.