cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong value for RCC_CFGR_SWS_LSE

NPaqu.1
Associate II

Hello,

A set of new constants have been added to stm32g070xx.h by CubeMX v6.15.0, and one of them has the wrong value (at line 4200):

#define RCC_CFGR_SWS_LSE (0x00000100UL) /*!< LSE used as system clock */


According to the datasheet, the right value for LSE is 0x00000020UL.

 

Thanks.

2 REPLIES 2
Souhaib MAZHOUD
ST Employee

Hello @NPaqu.1 

Thank you for bringing this to my attention. 

I will check it internally and get back to you ASAP.

Could you please add your IOC to reproduce the issue?

KR,

Souhaib

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.

TDK
Super User