cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in CRS register definition of STM32U585xx

SOfne.1
Associate III

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)

1 ACCEPTED SOLUTION

Accepted Solutions
KDJEM.1
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
KDJEM.1
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.

KDJEM.1
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.