Hello,
I am trying to change the core frequency of the core clock to run some performance tests at different frequencies. I am using devmem2.c[1] to access the PMC_MCKR and CKGR_PLLAR registers. Every time I make a change to these registers, the terminal freezes and the board must be restarted. I've tried using a serial connection and an ssh connection.
Is there a sequence of steps I have to follow in order to change the core frequency while the OS is running? Is it possible to change the frequency during the booting phase?
Cheers.
[1] http://www.lartmaker.nl/lartware/port/devmem2.c
SAMA5D35-EK - Changing Core Frequency on the Fly
Moderator: nferre
- blue_z
- Location: USA
Post
E.g. search the SoC datasheet for "MCK" to get an idea of the ramifications of modifying the Master Clock.
You may have also mucked up DRAM controller timing.
Regards
Re: SAMA5D35-EK - Changing Core Frequency on the Fly
You should have performed some research/analysis before you experimented with those HW registers.dbravo wrote:I am trying to change the core frequency of the core clock to run some performance tests at different frequencies. I am using devmem2.c[1] to access the PMC_MCKR and CKGR_PLLAR registers.
E.g. search the SoC datasheet for "MCK" to get an idea of the ramifications of modifying the Master Clock.
That's not surprising, given that the baud rate generator is dependent on MCK.dbravo wrote:Every time I make a change to these registers, the terminal freezes and the board must be restarted.
You may have also mucked up DRAM controller timing.
Regards
Return to “SAMA5D Cortex-A5 MPU”
Who is online
Users browsing this forum: No registered users and 0 guests