cancel
Showing results for 
Search instead for 
Did you mean: 

probelm with dSPIN family firmware library

yasamin
Associate II
Posted on May 18, 2015 at 06:22

Hi

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

#setsysclock-&clock-configuration
0 REPLIES 0