cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX support for SD+FatFS+SPI

John Craven
Senior
Posted on October 10, 2017 at 21:22

I would like to see CubeMX support for SD cards + FatFS using an SPI driver option. Both for MCUs that don't don't support SDIO and also on MCUs that have SDIO but where SPI fits the project better.

FatFS is there as 'user defined' forall.

SDIO option is there where supported.

Why not add SPI option under FatFS?

Seems like would be pretty minor to the follow the templates used in SDIOfor SPI.

Certainly would make it easier to get an stm32 project doing FatFS on SD!

#cubemx #sdio #spi #sd-card

Note: this post was migrated and contained many threaded conversations, some content may be missing.
23 REPLIES 23
Posted on March 01, 2018 at 12:38

Can you please post the code here ?

Posted on March 01, 2018 at 12:42

Can you please post the code here for Nucleo L476RG interface with SD card

Taylor Welsh
Associate II

i found kiwih's drivers very useful, it's an easy drop in implementation for existing CubeMX projects.

https://github.com/kiwih/cubemx-mmc-sd-card

Taylor Welsh
Associate II

i found kiwih's drivers very useful, it's an easy drop in implementation for existing CubeMX projects.

https://github.com/kiwih/cubemx-mmc-sd-card