cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube Clock Configuration and external crystal

niels
Associate II
Posted on April 22, 2015 at 09:30

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
0 REPLIES 0