SDSPI driver

SD card with SD SPI driver

(Image by tash78 @ devianart)

theCore SDPSI driver allows to communicate with SD cards using platforms that support SPI.

Specification

Simplified specification can be downloaded for free from SD card association website.

Source code

SDSPI driver implementation is located under dev/sdspi/ directory, relative to theCore root.

SDSPI usage example

See SD-card demo using FATFS and SDSPI.

Known limitations

SDSPI driver does not support SPI dynamic clock changing after initialization. SDSPI driver, by definition, works only in SPI mode, not SDIO.

Verified hardware

SDSPI driver is tested with Catalex micro-SD card adapter/module and high-capacity, class 10 micro SD card. For the sake of fair testing, FAT filesystem were used on top of SDSPI driver.