Skip to main content
IDANI.1
Visitor II
April 6, 2020
Question

Hello Is it possible to run stm32f103c8t6 with 128MHz (overclock)? If it is possible , how can we adjust cubemx?

  • April 6, 2020
  • 2 replies
  • 1342 views

..

This topic has been closed for replies.

2 replies

Nesrine.JLASSI
Visitor II
April 30, 2020

Hi @IDANI.1​ 

It is not possible to run STM32f103c8T6 with 128MHz because as shown by STM32CubeMX the maximum is 72MHz max.

0693W000000WhitQAC.png

Best regards,

Nesrine

berendi
Principal
April 30, 2020

If your board has an external 8 MHz or faster crystal, it is possible to set PLL source to HSE, and PLLMul to x16. After clicking away some warnings, CubeMX generates some code that looks right at the first glance. You can as well enter 4 in the Input frequency box, pretending that you have a 4 MHz crystal, then CubeMX would just believe that you are in the green zone with 64 MHz system clock, and happily generate code without warnings.

There is of course no guarantee at all that the MCU will work above 72 MHz, and won't blow up immediately or after a few days.