SDMMC1 working in 4bits mode with FatFS STM32H743
Hello,
I am trying to use a µSD card with a nucleo-h743zi2card. I use SDMMC1 peripheral and FatFS middleware.
When I set SDMMC1 in 1 bit mode my program works perfectly, but when I set the peripheral in 4 bits mode the card is not mounted.
When I debug in step by step mode I see that I have the RX_OVERRUN flag on. I tryed to enable the hardware flow controle (as it is said in AN5200) to solve this but when I do it nothing is writen on the SD card (I use f_write() function). I also try to set a clock divider and I have the same error in step by step debugging or I have FR_NOFILESYSTEM result when I step over f_mount() function.
I saw on other post on the same topic that some people have a sdmmc.c file generated but I don't have it, thus I don't know where the SDMMC1 gpio are set.
According to CubeMx my Gpios are set like it :

SDMMC1 clock is set to 48 MHz.
I use CubeMx 5.6.1 (I can't use last version currently) to generate the project and I use ADC1 in the same code.
Do you have any idea to solve this matter ?
Thanks in advance :beaming_face_with_smiling_eyes:
