Posted on April 02, 2017 at 14:43Hi.Maybe it help you.If you use STM32CubeMX it's bug of STM32Cube code generator. When you don't use HSI new code don't have full initialization RCC_OscInintStruct for HAL_RCC_OscConfig() in main.c of created project...