Hi Everyone,
We are using k2h EVM with processor sdk linux 06_01_00_08, we want to know at which speed DSP is operating?
Regards,
Snehal
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Everyone,
We are using k2h EVM with processor sdk linux 06_01_00_08, we want to know at which speed DSP is operating?
Regards,
Snehal
Hi Rex,
Its gives the following,
-Boot
=> getclk
getclk - get clock rate
Usage:
getclk <clk index>
The indexes for clocks:
0 - core_pll_clk
1 - pass_pll_clk
2 - tetris_pll_clk
3 - ddr3a_pll_clk
4 - ddr3b_pll_clk
5 - sys_clk0_clk
6 - sys_clk0_1_clk
7 - sys_clk0_2_clk
8 - sys_clk0_3_clk
9 - sys_clk0_4_clk
10 - sys_clk0_6_clk
11 - sys_clk0_8_clk
12 - sys_clk0_12_clk
13 - sys_clk0_24_clk
14 - sys_clk1_clk
15 - sys_clk1_3_clk
16 - sys_clk1_4_clk
17 - sys_clk1_6_clk
18 - sys_clk1_12_clk
19 - sys_clk2_clk
20 - sys_clk3_clk
21 - uart_pll_clk
is core_pll_clk is DSP operating frequency?
its gives following
=> getclk 0
clock index [0] - frequency 1200000000
=>
From the board file in u-boot board_k2hk.c
What is the significance of alt_core_clk ?
[u-boot code]
unsigned int get_external_clk(u32 clk)
{
unsigned int clk_freq;
switch (clk) {
case sys_clk:
clk_freq = 122880000;
break;
case alt_core_clk:
clk_freq = 125000000;
break;
...
Regards,
Snehal
Hi, Snehal,
Yes, the core_pll_clk is the one. type "getclk 0" you should see the frequency for DSP.. I don't know what alt_core_clk is for on top of my head. I'll let you trace the code to see what that is used for. I will have to trace it myself too.
Rex