Skip to main content
Associate
Oct 10, 2025 1:12 PM UTC
Solved

Unable to find SDIO Driver

Could you provide me a repo link to the SDIO driver so that I can read through it and implement my custom code. I need something generic to FreeRTOS SDK.

This topic has been closed for replies.
Saket_OmBest answer
ST Technical Moderator
Oct 10, 2025 1:59 PM UTC

Hello @Yashraj 

Please find the link to the SD driver for the STM32F4 series below:

stm32f4xx-hal-driver/Src/stm32f4xx_hal_sd.c at b6f0ed3829f3829eb358a2e7417d80bba1a42db7 · STMicroelectronics/stm32f4xx-hal-driver

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om

6 replies

Saket_OmBest answer
ST Technical Moderator
Oct 10, 2025 1:59 PM UTC
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
YashrajAuthor
Associate
Oct 14, 2025 9:18 AM UTC

Hi Saket!

 

Thank you!

Could you also share how to build an example with this? I wanted to see the pin configurations required.

 

Thanking you

Yashraj

ST Technical Moderator
Oct 14, 2025 9:21 AM UTC

Hello @Yashraj 

On the link below you find the list of examples using SDIO driver:

STM32CubeF4/Projects/STM324x9I_EVAL/Examples/SDIO at master · STMicroelectronics/STM32CubeF4

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
YashrajAuthor
Associate
Oct 14, 2025 9:46 AM UTC

Hi Saket,

 

This does not seem to have any example for FreeRTOS. Is there any example for it? Or is FatFs_uSD_RTOS example using FreeRTOS?

 

Thanking you

Yashraj

ST Technical Moderator
Oct 14, 2025 9:55 AM UTC

Hello @Yashraj 


@Yashraj wrote:

Or is FatFs_uSD_RTOS example using FreeRTOS?


Yes, indeed.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
YashrajAuthor
Associate
Oct 15, 2025 1:27 PM UTC

Okay, thank you!