Changing the clock frequency

Hi,

Sorry, I am new to all this so please excuse any stupid questions. I am up and running with the standard dhrystone example code from Github. Is there any way I can vary the clock frequency so i can see how my results vary as I change the clock freq? I realise that the calculation is score/MHz so it shouldnt really matter, but this thought this would be an easy way for a h/w guy to gain some programming/makefile skills!

Be sure to read Chapter 4 of the E300 platform reference manual as there are a few different ways to experiment with this.

There’s also an applied, and well-commented, example in init.c which demonstrates how to set oscillator sources and set the PLL.

Have fun!

Ahh, makes sense, thank you

1 Like