Skip to main content
Tesla DeLorean
Guru
Dec 5, 2018 6:13 PM UTC
Solved

Comments wrong in L4+ include file

STM32Cube_FW_L4_V1.13.0\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l4r5xx.h

#define SDMMC_CLKCR_WIDBUS_Pos     (14U)

#define SDMMC_CLKCR_WIDBUS_Msk     (0x3UL << SDMMC_CLKCR_WIDBUS_Pos)   /*!< 0x0000C000 */

#define SDMMC_CLKCR_WIDBUS       SDMMC_CLKCR_WIDBUS_Msk         /*!<WIDBUS[1:0] bits (Wide bus mode enable bit) */

#define SDMMC_CLKCR_WIDBUS_0      (0x1UL << SDMMC_CLKCR_WIDBUS_Pos)   /*!< 0x00000800 */

#define SDMMC_CLKCR_WIDBUS_1      (0x2UL << SDMMC_CLKCR_WIDBUS_Pos)   /*!< 0x00001000 */

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Dec 5, 2018 6:16 PM UTC

Should be 0x4000 and 0x8000

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

5 replies

Tesla DeLorean
Tesla DeLoreanAuthorBest answer
Guru
Dec 5, 2018 6:16 PM UTC

Should be 0x4000 and 0x8000

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
ST Technical Moderator
Apr 15, 2019 3:36 PM UTC

Hi Clive,

The update is done in the new release of STM32CubeL4 V1.14.0

Thanks,

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Tesla DeLorean
Guru
Apr 15, 2019 8:26 PM UTC

Thanks

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
ST Technical Moderator
Dec 6, 2018 9:14 AM UTC

Hello @Community member​ ,

Thank you for sharing this typo. This issue is raised internally for correction.

Kind Regards,

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Tesla DeLorean
Guru
Dec 6, 2018 1:46 PM UTC

Thanks, nothing dire but stumbled over it the other day trying to make a simple decoder for the SDIO/SDMMC bit width decoder.

Not sure if this is all manually generated, or if there is a script, or combination of things.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..