cancel
Showing results for 
Search instead for 
Did you mean: 

How to use SDIO interface for SD Card in STM32F4 ?

kadir ustun1
Senior

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

9 REPLIES 9

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
Up vote any posts that you find helpful, it shows what's working..
kadir ustun1
Senior

I see thank you. I am try it.

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
Up vote any posts that you find helpful, it shows what's working..
kadir ustun1
Senior

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

STM32Cube_FW_F4_V1.21.0\Projects\STM324xG_EVAL\Examples\SDIO

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

Thank you for answered. I found this example now.

kadir ustun1
Senior

Hello, How to read certain line in the text ?

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
Up vote any posts that you find helpful, it shows what's working..
kadir ustun1
Senior

Thank you for your answered. I willl read