Skip to main content
Graduate
March 3, 2022
Solved

Configure SDMMC2 for H743VIT6

  • March 3, 2022
  • 2 replies
  • 1179 views

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.
    Best answer by Bouraoui Chemli

    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

    2 replies

    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.1Author
    Graduate
    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

    Technical Moderator
    March 3, 2022

    Hello,

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

    ksale.1Author
    Graduate
    March 3, 2022

    Thank you @Community member​ ,

    Very helpful.

    BR