2025-03-23 8:43 AM - edited 2025-03-23 10:31 AM
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
2025-03-23 11:31 AM
Instead of relying on the automatic adjustment, manually input the PLL multiplier/divider values that should make both outputs close to your desired values.
2025-03-23 12:48 PM
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.