AnsweredAssumed Answered

Problem with STM32F105VC using 8MHz crystal

Question asked by fristedt.jan on Jul 15, 2011
Latest reply on Aug 6, 2011 by Donald Becker

I have spent the better part of the day trying to get code that run perfectly on an STM32F107VC using a 25MHz crystal to run on an STM32F105VC with an 8 MHz crystal. We are using v3.5.0 of the library from ST.

Changing the HSE_VALUE either directly in the header file or via a definition get the UARTs (or at least the one I have tested) to run at the correct speed. The problem is the timers that run a factor 25/8 slow. The value of the SystemCoreClock variable is set to 72MHz by SystemInit(), as expected.

Any help available?