2025-04-04 11:14 AM
HI All,
I am using STM32F769 DISCO board.
I have configured SD card in 1 bit moe and it works fine.
But it doesn't work in 4 bit mode.
The problem is in SD_FindSCR function.
if(__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_RXDAVL))
is never executed.
Cube MX version is 6.8.1
I see there are many similar post's on the forum but
none of the solution worked.
I have set the clock to 12Mhz and I see that
HAL initialize sd card with 1 bit line then trying to read SCR
register to check if 4 bit data line is supported.
And can't read SCR register.
Maybe there are fixes to this HAL library?
Thanks,
2025-04-04 2:01 PM
Hello @load2005
Could you please try using the STM32CubeMX V6.14.0 and the STM32CubeF7 V1.17.2.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.