Skip to main content
Ellaine
Associate II
September 9, 2020
Question

How should I configure SDMMC1 for STM32H747I-DISCO?

  • September 9, 2020
  • 1 reply
  • 1292 views

I try a lot of clock configurations but it always response command timeout error at the following line of the generated MX_SDMMC1_SD_Init function.

if (HAL_SD_Init(&hsd1) != HAL_OK)

 {

  Error_Handler();

 }

How should I set the SDMMC1 configuration for STM32H747I-DISCO?

This topic has been closed for replies.

1 reply

Technical Moderator
September 15, 2020

Hello @Ellaine​ ,

Please refer to this AN5200 "Getting started with STM32H7 Series SDMMC host controller" , which presents typical examples that highlight the SDMMC host interface features and will help you on SDMMC configuration using STM32CubeMx.

Best Regards

Imen

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
Ellaine
EllaineAuthor
Associate II
September 23, 2020

Ok, thank you vey much.​