AnsweredAssumed Answered

clock configuration in STM32F107Rc

Question asked by gharib.yasamin on May 17, 2015
Latest reply on May 18, 2015 by gharib.yasamin


I want to use the dSPIN family firmware library for my board. The STM32F107RC and a 8MHz crystal are integrated on my board. I have problem with this library (system clock configuration) and I confused.

I want to have a 72MHz system clock of a HSE 8MHz.

Do I change SetSysClock() function in two source files, system_stm32f10x.c and Clock.c ?

I corrected the SetSysClock() to configure SetSysClockTo72() to have a system clock 72 MHz of my 8MHz at system_stm32f10x.c. But in SetSysClock() calling of Clock.c, the system clock configuration is switched to SetSysClockTo24().

I see this function (SetSysClock()) is defined at two different source files in firmware library and called two times. One time in system_stm32f10x.c and another at Clock.c!!

Thank you in advance for your help in this matter.

Yasamin Gharib