[En-Nut-Discussion] Trunk, STM32F107VC, how set a CPU frequency of 72MHz with HSE of 25MHz

Michael Fischer fischermi at t-online.de
Sun Apr 17 14:55:11 CEST 2016


If I debug the original STM32 source I come to the following line:

   SystemCoreClock = (((HSE_VALUE / prediv2factor) * pll2mull) / prediv1factor) 
* pllmull;

With the values:

HSE_VALUE     = 25MHz
prediv2factor = 5
pll2mull      = 8
prediv1factor = 5
pllmull       = 9


More information about the En-Nut-Discussion mailing list