79563802

Date: 2025-04-09 08:15:42
Score: 0.5
Natty:
Report link

When using the HSI directly as the PLL input on STM32F303xE devices, you also have to configure the "PREDIV" correctly. Simply setting the PLLSRC bits to "01" (HSI) in CFGR is not enough, because on these parts the pre-divider (1..16) is controlled in a separate register (RCC_CFGR2). If you do not set PREDIV to 1 there, the clock tree can become invalid and your code will lock up waiting for the PLL to become stable.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
Posted by: Alon Alush