cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX Clock Configurator NOT Locking The Selected Values

Ricko
Senior III

Hi,

in CubeMX clock configuration, after inputting a desired value into one of the PLL outputs (like in the LTDC Clock box) you can lock it and it turns gray (see screenshot), you can then set another related PLL output (like the DSI) and it should reconfigure the PLL parameters so both outputs are as desired (or at least the second one - the DSI in this example - is as close as possible to the set value).

But it does not seem to work like that at all...

Once I lock the LTDC, and then change the DSI clock, it does change the locked LTDC clock and by a lot. I can find closer matching values manually by trying a few combinations.

Is it a bug in CubeMX?

How can I get it to work correctly (fix one value and get CubeMX to calculate the PLL settings of the second when I input it)?

Thank you

 

Ricko_0-1742744286828.png

 

2 REPLIES 2
ahsrabrifat
Associate III

Instead of relying on the automatic adjustment, manually input the PLL multiplier/divider values that should make both outputs close to your desired values.

mƎALLEm
ST Employee

Hello,

You need always to provide the part number of the MCU you are using. Also for CubeMx issues you need to shre your ioc file.

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.