cancel
Showing results for 
Search instead for 
Did you mean: 

Configure SDMMC2 for H743VIT6

ksale.1
Senior

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

1 ACCEPTED SOLUTION

Accepted Solutions
Bouraoui Chemli
ST Employee

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

View solution in original post

4 REPLIES 4
Bouraoui Chemli
ST Employee

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

SofLit
ST Employee

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 on "Accept as Solution" on the reply which solved your issue or answered your question.

Thank you @Bouraoui Chemli​ ,

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

0693W00000KbJifQAF.jpgBR

Thank you @Community member​ ,

Very helpful.

BR