AnsweredAssumed Answered

STM32Cube Clock Configuration and external crystal

Question asked by andersen.niels.001 on Apr 22, 2015
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.

Outcomes