STM32F030CC 48MHz PLL and SysTick...What am I missing?
Hi,
I'm trying to set the PLL output to 48MHz on a STM32F030CC:
HSI = 8MHz
RCC->CFGR PLLSRC = 0 (PLL input = HSI/2),
PREDIV = not divided.
PLLMUL = 12;
should give (8MHz/2) * 12 = 48MHz but instead I get no clock output on MCO.
Using the MCO output I have confirm the HSI is running, other multiplier factors work fine - I've tried PLLMUL = 10 for example - I would expect (8MHz/2)*10 = 40MHz then MCO divides this by 2 onto the output and I read 20MHz using my scope...works perfectly but not PLLMUL = 12 just a flat line on my scope and no code runs.
If I run the code with the debugger (ST-Link V2, SWDIO/SWCLK connections) it seems to run fine unless I have SysTick interrupt enabled...
Something odd going on, hopefully someone can point me in the right direction?
Thanks,
Tim