Hi I've created an overclocking library for the arduino due !
You can find it here: GitHub - AlexandreRouma/DueOverclock: Overclocking library for the Arduino Due
It can:
-
Set the Due's CPU Frequency
-
Set the Due's CPU Multiplier
-
Get the Due's CPU Frequency
-
Get the Due's CPU Multiplier
-
Get the corrected value of millis()
-
Get the corrected version of micros()
-
Delay with a corrected value so the delay you entre the the real delay (microseconds also available)
-
Convert real delay to Overclocked delay
-
Convert Overclocked delay to real delay
Hope it will be usefull to someone ^^