cancel
Showing results for 
Search instead for 
Did you mean: 

Fractional mode register changes need a delay?

AlbertoGarlassi
Associate III

I'm trying to change the PLLxFRACR on-the fly. Per the reference manual something like this should work:

__HAL_RCC_PLL2FRACN_DISABLE();

__HAL_RCC_PLL2FRACN_CONFIG(8191);

__HAL_RCC_PLL2FRACN_ENABLE();

On a STM32H750 this code seems to have no effect. But works OK wihen a delay between the disable and the config lines is inserted. Some microseconds is enough.

Is it really this way or am I missing something?

Regards

Alberto

11 REPLIES 11

Ok, it makes sense, thanks. Only thing I can add is that it seems that the delay needed is not fixed, sometimes the register is updated even without any delay. So we need a worst-case value.

Hello @Piranha ,

The RCC_PLL3FRACR register bit field typo is fixed in RM0433 Rev 8.

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.