cancel
Showing results for 
Search instead for 
Did you mean: 

BUG Report on L4+ Headers : SDMMC_STA_DPS/CPSMACT

Julien FAUCHER
Associate III
Posted on March 01, 2018 at 10:22

Hello !

I found something which is probably a bug on the L4+ series stm32l4wwxx.h files (in example stm32l4r5xx.h)

There is the following code : (lines 14359 to 14364 in stm32l4r5xx.h )

&sharpdefine SDMMC_STA_DPSMACT_Pos (12U)

&sharpdefine SDMMC_STA_DPSMACT_Msk (0x1U << SDMMC_STA_CPSMACT_Pos) /*!< 0x00001000 */

&sharpdefine SDMMC_STA_DPSMACT SDMMC_STA_CPSMACT_Msk /*!<Data path state machine active */

&sharpdefine SDMMC_STA_CPSMACT_Pos (13U)

&sharpdefine SDMMC_STA_CPSMACT_Msk (0x1U << SDMMC_STA_DPSMACT_Pos) /*!< 0x00002000 */

&sharpdefine SDMMC_STA_CPSMACT SDMMC_STA_DPSMACT_Msk /*!<Command path state machine active */

You may see that DPSMACT and CPSMACT are inverted between macros names and values.

This is present for all STM32L4+ headers available in en.stm32l4.zip (CubeL4 software, available on ST.com on March 1st 2018)

By the way, is there a more 'official' way to report such error or is posting on the forum is the right way to proceed ?

Best regards,

Julien FAUCHER

#stm32l4+ #header-file #bug-report
1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

Hello,

The CMSIS files have been modified in the release STM32Cube_FW_L4_V1.12.0.

Best Regards,

Imen.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

2 REPLIES 2
Imen.D
ST Employee
Posted on March 01, 2018 at 14:22

Hello

FAUCHER.Julien

,

You are right, I will raise this issue internally for update.

Thanks for bringing this to our attention.

Best Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Imen.D
ST Employee

Hello,

The CMSIS files have been modified in the release STM32Cube_FW_L4_V1.12.0.

Best Regards,

Imen.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen