AnsweredAssumed Answered

[BUG Report STM32Cube_FW_L4_V1.5.0] Wrong Values of SDMMC registers

Question asked by cobain.yura on Jun 17, 2016
Latest reply on Jun 17, 2016 by FTITI.Walid
 STM32Cube_FW_L4 version of 1.5.0 has wrong values of  SDMMC register:

Old ones(Version 1.4)
SDMMC_DCTRL_DBLOCKSIZE_2=40
SDMMC_DCTRL_DBLOCKSIZE_3=80

New ones(Version 1.5.0)
SDMMC_DCTRL_DBLOCKSIZE_2=30
SDMMC_DCTRL_DBLOCKSIZE_3=40

the issue was introduced after  the following changes:

V1.1.1 / 29-April-2016

Main Changes

       
  • All device register description files enriched with _Pos and _Msk defines to be used with _VAL2FLD(field, value) and _FLD2VAL(field, value) from CMSIS Core (previous defines are kept for compatibility)
This leads to  SD_DATA_CRC_FAIL error during writing on SD card.

Outcomes