2020-04-24 08:38 AM
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?
2020-04-24 09:10 AM
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.
2020-04-24 10:06 AM
Forgot to mention the clock rate: MSI 2MHz