2015-04-22 12:30 AM
I am trying to configure the clock system on a STM32F405 with STM32Cube. It should run with an external crystal and the PLL. But the generated code doesn't generate the correct code. After execution of SystemClock_Config the CPU still runs on HSI since the call to HAL_RCC_OscConfig returns with an error before completion. Please see the pdf-file describing the problem.
I have done several experiments, but it see that STM32Cube cannot generate correct code when using external crystal. #crystal #clock #stm32cube