SD-Card mount with FATFS and SDMMC is stuck at following HAL-Routine. STM32H750ZB, custom Board.
I hope someone can help me,
I'm trying to mount my SD-Card and following that writing data on it. While trying to mount the SD-Card to the Microcontroller the mounting process gets stuck in the while-loop mentioned in the picture attached to the post. Before developing the custom board I tried the SD-Card (FATFS and SDMMC) with an STMF746-Discovery board. Everything worked there as intended. My code is generated by the STM32CubeIDE V1.5.1. The FATFS-Version is R0.12c. I use a 4 Bit wide BUS with 4096 MAX_SS and LFN enabled. The SDMMC is running at a clock of 48MHz. I used different prescalers in order to find the mistake because I think is clockrelated. In the working STM32F746-Dicovery Programm I used 48MHz with a prescaler of 32. No success with this setting on the custom board and the STM32H750ZB.
I hope someone is able to help me with my problem or has some more suggestions what I can try. I now trying to fix this issue for 2 days straight.
Kind Regards
N. Ziegler
