cancel
Showing results for 
Search instead for 
Did you mean: 

stm32 RCC

Evgenii Shakhullin
Associate
Posted on April 03, 2018 at 08:43

I want to ask about RCC registers.  Can I change the divider values PLLMUL and HPRE in Runtime?

The program code is then executed to reduce the frequency (decrease in consumption), then increasing the frequency and executable code, then again reduce the frequency.

Use the STM32F6P6

1 REPLY 1
Jack Peacock
Associate II
Posted on April 03, 2018 at 09:31

You can modify the VCO parameters but the PLL has to be stopped and not selected as SYSCLK.  I haven't done it on an F7 yet but I do change the PLL during runtime on L0, L1, L4, F1 and F4 parts.  You also have to be careful if you're calculating settings to not exceed max VCO frequency.

  Jack Peacock