cancel
Showing results for 
Search instead for 
Did you mean: 

Whre can I found for SDcard SPI example on Stm32f103c8 by CubeMX

quick09
Associate
Posted on December 05, 2015 at 04:47

I'm the new bee and string to use CubeMX on my simple board.

And want to use Fatfs on Stm32F103c8 board.

Due to non exist of SDIO on the MPU,

I have to use SPI to control memory card.

In fact, when I configure the CubeMX for fatfs, I could have configuration.

But, there are still need to add user code for SD card IO.

Anyone could share your own codes? please.

I'm using the uVision 4.60.

Please help me to access SDcard on my stm32f103c8 board.

Thanks;

Ian

#cuebmx-spi-sdcard
1 REPLY 1
Nesrine M_O
Lead II
Posted on December 07, 2015 at 15:13

Hi Ian,

I recommended you to have a look to the FatFs_Usd project under the STM32Cube F1 package. This example provides a description on how to use STM32Cube firmware with FatFs middleware component as a generic FAT file system module.

STM32Cube_FW_F1_V1.2.0\Projects\STM3210E_EVAL\Applications\FatFs\FatFs_uSD

-Syrine-