cancel
Showing results for 
Search instead for 
Did you mean: 

Cube says STM32F411 clock configuration is invalid, but processor still runs correctly

Eqqman
Associate III

Hello-

Working with the STM32F411 on the ST F411 Discovery board, we have set the speed to 72MHz using the HSI as the PLL source.  The register values are as follows:

RCC->CR = 0x03005C83

RCC->PLLCFGR = 0x23001208

According to Cube, this configuration is invalid:

stm32_cube_clock.jpg

In fact, there seems to be NO clock speed we can find that won't flag the configuration as invalid if HSI is the PLL source.  Although the code appears to run correctly and there haven't been any timing issues experienced we want to check if there is some additional clock setting someplace that needs to be used to stop Cube from flagging this as an error.  Current version of cube is:

STM32CubeIDE

 

Version: 1.15.0

Build: 20695_20240315_1429 (UTC)

But this issue is not new, it has happened on older versions as well.

 

10 REPLIES 10
SofLit
ST Employee

I do agree. Escalated internally. Hope I'll get a feedback.

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.