Skip to main content
kadir ustun1
Associate III
July 30, 2018
Question

How to use SDIO interface for SD Card in STM32F4 ?

  • July 30, 2018
  • 9 replies
  • 2372 views

Hello, I use SDIO interface to SD Card. I use FATs library. But I want to use SDIO interface. How do I do ?

    This topic has been closed for replies.

    9 replies

    Tesla DeLorean
    Guru
    July 30, 2018

    Interface to what?

    You should perhaps look at the SDIO library code, and associated reference manual documentation, and familiarize yourself with the command/response model, and data transfer phases.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    kadir ustun1
    Associate III
    July 30, 2018

    I see thank you. I am try it.

    Tesla DeLorean
    Guru
    July 30, 2018

    What are you trying to actually do? Interface to a WiFi modules or some not-card device?

    There might be some other examples of that.

    The sector reading level is exposed in the FatFs DISKIO layers, and the F4 should also have SDIO examples, again reading/writing sectors directly to the media.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    kadir ustun1
    Associate III
    July 30, 2018

    now I use FatFs library to write/read SD card. I did not find SDIO examples

    Tesla DeLorean
    Guru
    July 30, 2018

    STM32Cube_FW_F4_V1.21.0\Projects\STM324xG_EVAL\Examples\SDIO

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    kadir ustun1
    Associate III
    July 31, 2018

    Thank you for answered. I found this example now.

    kadir ustun1
    Associate III
    August 1, 2018

    Hello, How to read certain line in the text ?

    Tesla DeLorean
    Guru
    August 1, 2018

    Not sure I understand the question.

    If you want to understand how file data is stored in the blocks, and managed at a file/cluster level, you should read some documentation on the FAT File System, probably some MSDOS era manuals and the like which cover the mechanics.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    kadir ustun1
    Associate III
    August 1, 2018

    Thank you for your answered. I willl read