Page 1 of 1

SAMA5D27 clock speed

Posted: Mon Jun 10, 2019 3:03 pm
by sat123
Hello everyone !!

I am using sama5d27 sip that is my custom board , My board is booting fine but clock speed is very slow . I mean when I am typing on it it prints very slowly on my screen . Please anyone suggest me what is going wrong with me .

Thanks !!

Re: SAMA5D27 clock speed

Posted: Tue Jun 11, 2019 3:07 am
by blue_z
sat123 wrote: ... clock speed is very slow . I mean when I am typing on it it prints very slowly on my screen .
That's a subjective (and vague) description.
Provide a qualitative description by using a (calibrated) oscilloscope or frequency counter.

Read and apply "How To Ask Questions The Smart Way" before posting again.

Regards

Re: SAMA5D27 clock speed

Posted: Wed Jun 12, 2019 2:21 pm
by nferre
Hi,

You can give us some clues by printing the clock summary in debugfs:

## first, if not already mounted in your rootfs, mount the debugfs
# mount -t debugfs debugfs /sys/kernel/debug/

## then, print the summary:
# cat /sys/kernel/debug/clk/clk_summary
clock enable_cnt prepare_cnt rate accuracy phase
----------------------------------------------------------------------------------------
slow_rc_osc 0 0 32768 250000000 0
main_rc_osc 0 0 12000000 100000000 0
main_xtal 1 1 24000000 0 0
main_osc 1 1 24000000 0 0
mainck 2 2 24000000 0 0
utmick 2 2 480000000 0 0
sdmmc1_gclk 0 0 480000000 0 0

[..]