STM32CubeH7 icon indicating copy to clipboard operation
STM32CubeH7 copied to clipboard

HAL_MMC_ReadBlocks CRC error in 8 bit mode SDMMC

Open JudicaelK opened this issue 3 years ago • 2 comments

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

JudicaelK avatar Apr 15 '22 15:04 JudicaelK

Hi @Judicaelkouadio,

You have mentioned in your comments that you are working on STM32U5 nucleo board. However, you have reported the issue on the STM32CubeH7 repository. Would you please clarify whether the issue is detected on the STM32U5Cube or SMT32H7Cube package ?

With regards,

ASELSTM avatar Apr 19 '22 11:04 ASELSTM

Hi @ASELSTM,

I use STM32U5Cube. I didn't find the STM32CubeU5 repository on github. This is why I posted it here.

But the issue is for STM32U5.

Any idea?

Thanks.

Best regards.

JudicaelK avatar Apr 19 '22 12:04 JudicaelK