Skip to main content
Evgenii Shakhullin
Visitor II
April 3, 2018
Question

stm32 RCC

  • April 3, 2018
  • 1 reply
  • 711 views
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

    This topic has been closed for replies.

    1 reply

    Jack Peacock
    Visitor II
    April 3, 2018
    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