AnsweredAssumed Answered

Select System Clock SYSCLK in system_stm32f10x.c

Question asked by romain reicher Employee on Jul 5, 2011
Latest reply on Jul 6, 2011 by Clive One
Hi All,

I do not understandthe process offrequency selectionHSEin the following lines:

# if defined (
STM32F10X_LD_VL) | |(definedSTM32F10X_MD_VL)
/ * #Define SYSCLK_FREQ_HSE HSE_Value * /
#define SYSCLK_FREQ_24MHz 24000000
#else

I understand after reset, HSI clock source is selected but

#DefineSYSCLK_FREQ_HSEHSE_Value > will select external 8MHz crystal
and
#defineSYSCLK_FREQ_24MHz24000000 > will select wich system clock source HSI or HSE ?

Thank for help.

Romain

Outcomes