Skip to main content
AFink
Associate III
August 20, 2023
Question

FatFS on SD card using SDIO in STM32F103

  • August 20, 2023
  • 1 reply
  • 3972 views

Hi,

I'm trying to configure CubeMX to create a FatFS on an SD card using SDIO interface in STM32F103.

I was reading https://community.st.com/t5/stm32-mcus/how-to-create-a-file-system-on-a-sd-card-using-stm32cubeide/ta-p/49830 but it's using SDMMC while I'd like SD card with SDIO.

Is there some tutorial or reading stuff for it?

 

Thanks for help,

Aviv

This topic has been closed for replies.

1 reply

TDK
Super User
August 20, 2023

The SDMMC peripheral supports both SDIO and MMC (hence the name SDMMC). That tutorial is using SDIO. That's what you want. Specifically, the "SD 4 bits Wide bus" setting selects SDIO, there are other selections for MMC.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Visitor II
August 20, 2023

Very Nice.