Skip to main content
SOfne.1
Associate II
July 17, 2023
Solved

Bug in CRS register definition of STM32U585xx

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.
KDJEM.1
KDJEM.1Best answer
ST 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

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.

2 replies

KDJEM.1
ST 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 

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
KDJEM.1
KDJEM.1Best answer
ST 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

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.