2019-10-21 06:35 AM
I want to configure the maximum clock rate for the timers of 240MHz so I need to use the PLL block. However the CubeMx clock configuration tool doesn't seem to work. It keeps resetting my PLL settings to /32, x129, /2. When I change these settings it doesn't seem to have any effect.
What am I doing wrong?
2019-10-21 06:41 AM
Select PLLCLK as your clock source? Hard to know, works for me.
2019-10-21 07:32 AM
I already had PLLCLK source set.
I tried entering the target CPU clock and it set the PLL accordingly. I was trying to set the PLL myself. Perhaps that was the problem.
Anyway, solution found.
2019-10-21 07:38 AM
2019-11-01 07:03 AM
Is there a switch for that? I've since had the situation where the solver can't set the PLL successfully but after closing and reopening the MX tool it works again (mostly). Seems a bit flaky. Now it is working again I don't dare touch the clock config page for fear it will break again.