AnsweredAssumed Answered

STM32F103 Clock Configuration

Question asked by ott.simon on Apr 28, 2015
Latest reply on Apr 29, 2015 by ott.simon

I have a question concerning the clock configuration of an STM32F103RBT6. I used several STM32F4 chips before and generated the system_stm32f4xx.c file with the STM32F4 Clock Configuration Tool. It seems that there is no equivalent tool for the STM32F103? 

However, as the system_stm32f10x.c file contains functions to set the SysClock like "SetSysClockTo36" I thought the clock configuration should work by just setting the define to use the correct "SetSysClockTo..." function and defining the HSE Value in stm32f10x.c (as the SetSysClockTo functions are dependent on the HSE Value).

This works for STM32F103 Boards with the standard 8MHz HSE oscillator. For my boards with a 16MHz HSE oscillator, it does not work. So my question is, if it is possible to use the SetSysClockTo functions with different HSE Values and if there are any further steps to perform, despite defining the correct functions and the HSE Value. 

My goal is to set the CPU Speed to 72MHz with an 16MHz HSE. 

Thanks in advance!