Skip to main content
j.kouadio
Associate II
Apr 12, 2022 9:15 AM UTC
Question

Have you ever met a problem with HAL_MMC_ReadBlocks?

Hi,

I'm working on SDMMC on STM32U5 nucleo board.

Everything works fine for 1 and 4 bit mode.

But, in 8 bit mode I can write data with HAL_MMC_WriteBlocks but when I try to read back with HAL_MMC_ReadBlocks, it always gets SDMMC_FLAG_DCRCFAIL.

Have you ever met the same error? If yes, how did you solve it.

Thanks in advance

This topic has been closed for replies.

1 reply

RMora.4
Associate III
May 14, 2022 7:27 AM UTC

I have met this same error SDMMC_FLAG_DCRCFAIL with HAL_SD_ReadBlocks. Using 4-bit wide data bus.

Do you have advice?