Go Down

Topic: Clock switch from 48MHz to 96 MHz (Read 903 times) previous topic - next topic

Zeus_39

Hello,

i very new in Ardunio programming. I would like switch the clock fom 48 MHz to 96 MHz.
I need a higher CPU speed.
Could you help me?

Thanks so lot

ballscrewbob

#1
Oct 30, 2018, 01:41 pm Last Edit: Oct 30, 2018, 01:41 pm by ballscrewbob
Getting to the SAMD clock freq is done via REGISTERS and at a low level.

A topic covering the aspect here

Waay above my skill level but there are other sources too.
Simply google SAMD clock frequency

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

Zeus_39


MartinL

Hi Zeus_39,

The SAMD21 microcontroller used on the MKRZero has a maximum CPU core frequency of 48MHz. The 96MHz Franctional Digital Phase Locked Loop (FDPLL96M) can only be used to clock some of its on-board timers, namely: TCC0, TCC1, TCC2 and TC3.

If you're looking for a faster Arduino compatible microcontroller, there's the Adafruit Metro M4, Feather M4 and Itsy Bitsy M4 boards. These are ARM Cortex M4F devices running at 120MHz, but with loads more memory and other features. If you're familiar with programming the SAMD21, the SAMD51 isn't too dissimilar.

Go Up