Skip to main content
osama
Associate III
January 3, 2013
Question

Accessing SD card via SPI

  • January 3, 2013
  • 1 reply
  • 758 views
Posted on January 03, 2013 at 05:55

Hi,

I have an STM32F4 discovery board and I want to access SD card via SPI. The reason why I want to access Sd card via SPI is that the breakout module that I have has an SPI interface. I have looked on the internet but have only found examples which are accessing SD card using the SDIO interface.

Is there any way that I can get some example code for reading SD card via SPI or some wiring alternative to convert the SPI interface to SDIO interface so that I can use the available examples.

This is the module that I have

http://www.aliexpress.com/store/product/SD-Card-Reader-Module-for-Arduino-ARM-Read-and-Write-Free-shipping/316774_526750081.html

Regards

#duplicate-thread
    This topic has been closed for replies.

    1 reply

    Andrew Neil
    Super User
    January 3, 2013
    Posted on January 03, 2013 at 11:30

    [DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Accessing%20SD%20card%20via%20SPI%203604&currentviews=6]https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Accessing%20SD%20card%20via%20SPI%203604&currentviews=6

    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.