2017-06-09 12:26 AM
I am using cube 4.21 with a STM32F205 CPU.
I configured the clock to run at 120 Mhz (25Mhz crystal M=20, N 192, P 2) in the file system_stm32f2xx.c generated by cube, I have the following:
uint32_t SystemCoreClock = 16000000;
instead of
uint32_t SystemCoreClock = 12000000;
2017-06-09 02:46 AM
Hi
Castrignano.Adalgiso
,SystemCoreClockvariable takes first theHSIvalue then is updated depending on user clock configuration
souint32_t SystemCoreClock = 16000000; is right.
-Nesrine-
2017-07-06 01:35 AM
Hi,
You are right,
SystemCoreClock = 16000000 is correct.
2017-07-06 05:50 AM
You are right,
SystemCoreClock = 16000000 is correct.