I have been using an STM32F030C6 and configuring it with STM32CubeMX and have had success running the chip using the 8MHz HSI and an external 16MHz crystal. I would like to run at 48MHz but I have not had any luck enabling the PLL, at any multiplier.
If I enable the PLL in CubeMX, select any multiplier, and upload the unmodified generated code I can only get as far as "__HAL_RCC_PLL_ENABLE();" in the debugger (using Atollic TrueStudio free version) before the target stops responding. I get the same result using an internal or external clock source. I have attached a screenshot of my CubeMX clock settings below along with the generated project.
Using CubeMX 4.22.0 and STM32F0 1.8.0 firmware package.
Are there some other settings that I'm missing somewhere or chip limitations that I am not aware of?