cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure sdmmc for SD card in stm32h7s7 with FATFS

ropodi17
Associate II

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

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,
Thanks Ill give it a try


View solution in original post

3 REPLIES 3
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Hi,
Thanks Ill give it a try


Saket_Om
ST Employee

Hello @ropodi17 

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

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om