Problem with MX_SDMMC1_MMC_Init(); on the STM32F769I-EVAL board
Hello,
I'm trying to run software on a STM32F769I-EVAL board, generating initialisation code with STM32CubeMX.
I use the default template for the board in CubeMX. The code is generated with no problem. But when debugging, it never goes to the main loop. The problem seem to be in the SDMMC init.
There is no SD card on the board.
In the MX_SDMMC1_MMC_Init();
- HAL_MMC_Init() return
- HAL_MMC_ConfigWideBusOperation never return (it return, but after a very long time)
In this function, there is a loop:
- /* While card is not ready for data and trial number for sending CMD13 is not exceeded */
- The counter is set count = SDMMC_DATATIMEOUT; which is 0xFFFFFFFFU
If I change the value to 100, it return. But why is the value set so high?
is there something to do to return when there is no SD?
Thank you
Antoine