GitHunt
AF

afinello/stm32f4xx-sdio-dma-driver

STM32F4xx DMA-capable SDIO SD-card driver compatible with FatFs library

stm32f4xx-sdio-dma-driver

STM32F4xx DMA-capable SDIO SD-card driver compatible with FatFs library

This is a modified version of the original STMicroelectronics SDIO driver with DMA-mode working out-of-the-box on STM32F4xx family chips.

Some boards do not have a CD-pin (Card Detect), so you should comment out the following definition in sdio_sd.c file to turn off the SD-card presense validation.

#define SD_USE_DETECT_PIN

Add the following definition to your code to enable the Polling mode instead of DMA

#define SD_POLLING_MODE ((uint32_t)0x00000002)

Languages

C100.0%

Contributors

GNU General Public License v3.0
Created June 10, 2018
Updated September 10, 2025
afinello/stm32f4xx-sdio-dma-driver | GitHunt