[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:28:53 CEST 2016


Hello Uwe,

here are the messages:

#pragma message: SYSCLK_SOURCE = 2
#pragma message: SYSCLK_FREQ   = 72000000
#pragma message: PLLCLK_IN     = 25000000
#pragma message: PLL2CLK_PREDIV= (25000000 / 5000000)
#pragma message: PLL2CLK_MULT  = 8
#pragma message: PLLCLK_PREDIV = 1
#pragma message: PLLCLK_MULT   = (72000000 / 8000000)
#pragma message: PLLCLK_DIV    = 5
#pragma message: SYSCLK_MAX    = 72000000
#pragma message: SYSCLK_RES    = (((25000000 / (25000000 / 5000000)) * 8) * 
(72000000 / 8000000) / 5)
#pragma message: AHB_DIV       = 1
#pragma message: APB1_DIV      = 2
#pragma message: APB1_MAX      = 36000000
#pragma message: APB2_DIV      = 1
#pragma message: APB2_MAX      = 72000000

Best regards,
Michael


More information about the En-Nut-Discussion mailing list