Overclocking STM32F103

What could be included in further releases, or for the forum.
User avatar
mrburnette
Posts: 1783
Joined: Mon Apr 27, 2015 12:50 pm
Location: Greater Atlanta
Contact:

Overclocking STM32F103

Post by mrburnette » Thu Jul 16, 2015 8:34 pm

This post is actually a continuation of one begun back on the old Arduino.cc forum:
http://forum.arduino.cc/index.php?PHPSE ... msg2188003

Relevant posts that I have found via trickle-down links: message to message to message...

Leaflabs, 5+ years old
http://forums.leaflabs.com/topic.php?id=31

TKJ Electronics, 5+ years old
http://blog.tkjelectronics.dk/2010/02/s ... rclocking/

bnewbold, gist, 2.5 years ago:
https://gist.github.com/bnewbold/407140

This is the first time this subject has been listed on the new forum, mainly I just wanted to capture the older references in the event anyone decided to bring up the topic again; TKJ's URL was incorrect, I was able to track down his main site and do a search off that site to the blog post. One day if I'm feeling particularly radical, I may give this a go :twisted:


Ray

User avatar
martinayotte
Posts: 1171
Joined: Mon Apr 27, 2015 1:45 pm

Re: Overclocking STM32F103

Post by martinayotte » Thu Jul 16, 2015 8:51 pm

Interesting ! ;)

User avatar
RogerClark
Posts: 5923
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Overclocking STM32F103

Post by RogerClark » Thu Jul 16, 2015 10:30 pm

AFIK

The big problem with overclocking is that USB doesnt work if you overclock, because there doesnt appear to be a way to configure the 48Mhz clock signal for USB if the main clock is anything other than 72mhz or 48mhz

So it seems possible to underclock and run USB but not overclock.

This is because the USB clock prescaler only has 2 possible values, no division or divide by 1.5


I suppose some people may be happy with a small amount of extra performance and live without USB.
I dont know if it would be possible to have a short term "Nirto boost" type mode, where the USB went off for a while without the host system noticing ?

Underclocking may be potentially more useful in power power applications, as 48mhz is still a lot faster then AVR devices, an you still get the benefit of the extra RAM and flash.

(i note in another thread someone thinking of building a watch using a STM32, so low power may be beneficial to stuff like that)

if we can swicth to SloMo at any time then back again with no side effects, it seems a usefull addition.

madias
Posts: 813
Joined: Mon Apr 27, 2015 11:26 am
Location: Vienna, Austria

Re: Overclocking STM32F103

Post by madias » Thu Jul 16, 2015 10:33 pm

THIS COULD BRICK YOUR BOARD! OVERCLOCKING IS A HACK NOT A FEATURE!
---> found here: https://gist.github.com/bnewbold/407140
blablabla :) --> only overVOLTAGE can harm your board ;)
I do overclock my pic32mx250 every time from 40mhz to 48mhz, because I'm lazy :) ---> 48mhz = USB clock and a odd audio frequency for I2s.
So 128MHZ should be possible. Here at Vienna we have about 38 centigrade, perfect temperature to stress overclocked board in the sun.
don't forget to change the system clock define (720000) in stm32.h or somewhere else (can't remember) or your peripherals run mad.

edit: an yes, Roger warned about USB ;)

strawberrymaker
Posts: 266
Joined: Wed Apr 29, 2015 4:04 pm
Location: Hamm, Germany
Contact:

Re: Overclocking STM32F103

Post by strawberrymaker » Fri Jul 17, 2015 3:08 pm

Wouldnt overvoltage be dumb as they would die with more than 3.6V? :D

~Straw
Twitter : @maker_berry

madias
Posts: 813
Joined: Mon Apr 27, 2015 11:26 am
Location: Vienna, Austria

Re: Overclocking STM32F103

Post by madias » Fri Jul 17, 2015 4:52 pm

Wouldnt overvoltage be dumb as they would die with more than 3.6V?
No, not really, you only need some coolings with liquid nitrogen or similar :)

strawberrymaker
Posts: 266
Joined: Wed Apr 29, 2015 4:04 pm
Location: Hamm, Germany
Contact:

Re: Overclocking STM32F103

Post by strawberrymaker » Fri Jul 17, 2015 4:56 pm

Next big thing : water cooling Blocks for MCUs. In a kit With 360mm Rads :D

~Straw
Twitter : @maker_berry

madias
Posts: 813
Joined: Mon Apr 27, 2015 11:26 am
Location: Vienna, Austria

Re: Overclocking STM32F103

Post by madias » Fri Jul 17, 2015 9:59 pm

I guess ahull has a passive solution with very hot cold glue for it :)

User avatar
ahull
Posts: 1510
Joined: Mon Apr 27, 2015 11:04 pm
Location: Sunny Scotland
Contact:

Re: Overclocking STM32F103

Post by ahull » Fri Jul 17, 2015 10:04 pm

madias wrote:I guess ahull has a passive solution with very hot cold glue for it :)
Cold glue gun.. dispenses liquid nitrogen based adhesive.. now there's an idea, failing that there's always the low tech solution.

Image
- Andy Hull -

strawberrymaker
Posts: 266
Joined: Wed Apr 29, 2015 4:04 pm
Location: Hamm, Germany
Contact:

Re: Overclocking STM32F103

Post by strawberrymaker » Fri Jul 17, 2015 10:08 pm

Only 10 Heatpipes? Way too less :D

~Straw
Twitter : @maker_berry

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest