cancel
Showing results for 
Search instead for 
Did you mean: 

SPI and SDcard ?

antonius
Senior
Posted on March 09, 2014 at 12:38

Hello Guys,

Is it possible for me using SPI on STM32F103 for SDCard interfacing ?

Any library I can use as a reference ?

Thank you
1 REPLY 1
Posted on March 09, 2014 at 14:24

There is support in the firmware library for several STM32xxX-EVAL boards and SPI SD Card support. Additional effort may be required for SDHC (>2GB) type cards

STM32F10x_StdPeriph_Lib_V3.5.0\Utilities\STM32_EVAL\Common\stm32_eval_spi_sd.c

There are other open solutions too, Martin Thomas has long been active in that regard.

http://siwawi.bauing.uni-kl.de/avr_projects/arm_projects/arm_memcards/

A quick Google will no doubt pull up a lot more avenues.

I've done SPI + SDHC implementations for the STM3210E-EVAL (F103) and STM32CMICOS (F107), I'd observe that using SPI is hideously SLOW.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..