cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a file system on a SD card using SPI

HDaji.1
Senior

Moved to main forum from How to create a file system on a SD card using STM32CubeIDE for better visibility & discussion.


Hi @ST AME Support NF ,

Is there any guide on using SPI to create a file system on SD card?

2 REPLIES 2

The question is really, "how to configure FatFs to use SPI" ?

Once you have done that, higher-level functions - like creating a filesystem - are oblivious to the underlying interface.

See: http://elm-chan.org/fsw/ff/doc/appnote.html#port 

 

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
HDaji.1
Senior

@Andrew Neil  thanks for your reply.
Maybe this link, http://elm-chan.org/docs/mmc/mmc_e.html, is more relevant.