cancel
Showing results for 
Search instead for 
Did you mean: 

[BUG] HAL SDMMC Driver v1.15.0-1.15.1 for STM32L4xxx is buggy

DKapu
Associate II

MCU: STM32L431RCTx

MMC: IS21-22ES08G

DMA read/write mode.

SDMMC clock: MSI 2MHz

HAL SDMMC Driver v1.14 - initialization, read and write work well.

HAL SDMMC Driver v1.15.0 - initialization fails.

HAL SDMMC Driver v1.15.1 - initialization and read work, write fails with DCRCFAIL bit set.

Hence we stay with 1.14.0.

Does anybody else have similar observations?

2 REPLIES 2
TDK
Guru

I don't have anything too concrete to add, but I also got a DCRCFAIL on certain operations when increasing the clock speed to 48MHz. This is with STM32F4, probably the same code. I had assumed this was due to signal integrity issues, even though it's only triggered by certain operations, but it's possible there is a HAL code issue causing it. I'll have to investigate more.

If you feel a post has answered your question, please click "Accept as Solution".
DKapu
Associate II

Forgot to mention the clock rate: MSI 2MHz