{RESOLVED] STM32F0, why my PLL makes trouble?
STM32F070RB stepping Y, with a 24MHz crystal as HSE. No LSE.
In the Cube, enabled PLL sourced from the HSE; SYSCLK goes to 48 MHz.
Then, as soon as I run thru HAL_RCC_OscConfig, debugger loses connection and I don't know what the chip does.
So I've switched the sysclk mux to HSE without PLL (24 Mhz), and then whole SystemClock_Config() passes well and everything looks good.
So I thought, 48 MHz is too much for this board. Enabled PLL again, with pre-div 1/2, to get the same 24 MHz. It fails again.
What can be the problem with the PLL? The board runs well at 24 MHz from the HSE, so the oscillator is good?