cancel
Showing results for 
Search instead for 
Did you mean: 

SystemClock_Config() crashing on discovery

AGaru
Associate III

Hi everyone,

SystemClock_Config() works on Nucleo-144 board but not on Discovery even though they both have a F746 mcu on them.

3 REPLIES 3

Different HSE clock speeds? 8 MHz vs 25 MHz, check PLL-M setting, and the define for HSE_VALUE

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
AGaru
Associate III

Thank you i will investigate on it

AGaru
Associate III

Hi! the problem was due to the different flash latencies on the boards. I had to change the latency value given to this function.

HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_7);