Skip to main content
Associate
July 2, 2025
Solved

How to configure sdmmc for SD card in stm32h7s7 with FATFS

  • July 2, 2025
  • 2 replies
  • 546 views

Hi,

Im trying to configure SDMMC 4 wide bus with FATFS for SD card.

Im not able to see any DMA options or Platform setting to set SD detect GPIO pin.

am I missing something? I have refered through most of the documentation and tutorials online but with this MCU there is no options for DMA or Platform settings menu in .ioc configuration.
Could you please help me with a procedure to setup SDMMC and FATFS for this MCU?
Thanks

 

ropodi17_0-1751492589249.png


ropodi17_1-1751492609570.png

 

Best answer by ropodi17

Hi,
Thanks Ill give it a try


2 replies

Technical Moderator
July 3, 2025

Hello @ropodi17 ,

You can adapt and update the available example according to your needs:

STM32CubeH7RS/Projects/STM32H7S78-DK/Applications/FatFs at main · STMicroelectronics/STM32CubeH7RS · GitHub

This article helps you : How to create a file system on a SD card using STM32CubeIDE

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. Thanks
ropodi17AuthorBest answer
Associate
July 3, 2025

Hi,
Thanks Ill give it a try


Technical Moderator
July 4, 2025

Hello @ropodi17 

The SDMMC peripheral on the STM32H7 series have its own internal DMA controller.

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