Skip to main content
ksale.1
Senior II
March 3, 2022
Solved

Configure SDMMC2 for H743VIT6

Hi,

1- How do I let CubeMX know the SD pin detect, I've set pin PC13 as card_detect, GPIO input, pull-up, but then what?

2- Should I use the open source FATFS "https://elm-chan.org/fsw/ff/00index_e.html"? How?

Thank you

This topic has been closed for replies.
Bowman32
Bowman32Best answer
ST Employee
March 3, 2022

Hi,

Please refer to AN5200 Getting started with STM32H7 Series SDMMC host controller.

Also, you can refer to the provided example which perform some write and read transfers to SD Card with SDMMC. Available in STM32CubeH7 firmware via this link

STM32Cube\Repository\STM32Cube_FW_H7_V1.xx\Projects\STM32H743I-EVAL\Examples\SD\SD_ReadWrite_IT

Bouraoui

4 replies

Bowman32
Bowman32Best answer
ST Employee
March 3, 2022

Hi,

Please refer to AN5200 Getting started with STM32H7 Series SDMMC host controller.

Also, you can refer to the provided example which perform some write and read transfers to SD Card with SDMMC. Available in STM32CubeH7 firmware via this link

STM32Cube\Repository\STM32Cube_FW_H7_V1.xx\Projects\STM32H743I-EVAL\Examples\SD\SD_ReadWrite_IT

Bouraoui

ksale.1
ksale.1Author
Senior II
March 3, 2022

Thank you @Bouraoui Chemli​ ,

Please note the slight difference between AN5200 MDMA config and my CubeMX MDMA, as shown in figure below:

0693W00000KbJifQAF.jpgBR

mƎALLEm
ST Technical Moderator
March 3, 2022

Hello,

Please refer to this video from Youtube: https://www.youtube.com/watch?v=I9KDN1o6924

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
ksale.1
ksale.1Author
Senior II
March 3, 2022

Thank you @Community member​ ,

Very helpful.

BR