2025-04-16 3:12 AM - last edited on 2025-04-16 3:37 AM by Andrew Neil
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?
2025-04-16 3:39 AM - edited 2025-04-16 3:41 AM
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
2025-04-21 5:50 PM
@Andrew Neil thanks for your reply.
Maybe this link, http://elm-chan.org/docs/mmc/mmc_e.html, is more relevant.