Skip to main content
Visitor II
July 17, 2023
Solved

Bug in CRS register definition of STM32U585xx

  • July 17, 2023
  • 2 replies
  • 1520 views

Affected driver library: STM32Cube_FW_U5_V1.2.0

File: stm32u585xx.h

The definition of CRS_CR_TRIM_Msk is wrong.

Currently it is:

#define CRS_CR_TRIM_Msk (0x3FUL << CRS_CR_TRIM_Pos) /*!< 0x00003F00 */

But instead it should be:

#define CRS_CR_TRIM_Msk (0x7FUL << CRS_CR_TRIM_Pos) /*!< 0x00007F00 */

(The TRIM field has seven bits, not six)

    This topic has been closed for replies.
    Best answer by KDJEM.1

    Hello @SOfne.1 ,

    The issue is fixed in STM32CubeU5 V1.5.0.

    Thank you for your contribution in STCommunity.

    Kaouthar

    2 replies

    Technical Moderator
    July 17, 2023

    Hello @SOfne.1 ,

    Thank you for bringing this issue to our attention.

    I confirm the issue and I reported internally.

    ticket number: 156801 (This is an internal tracking number and is not accessible or usable by customers).

    Kaouthar 

    KDJEM.1Answer
    Technical Moderator
    March 22, 2024

    Hello @SOfne.1 ,

    The issue is fixed in STM32CubeU5 V1.5.0.

    Thank you for your contribution in STCommunity.

    Kaouthar