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.

Unable to determine DSP speed

Hello,

I am using custom board DM6467 (HW-6467-CORE-Z729), as per the document ARM runs at 365MHz and DSP runs at 729MHz. Unfortunately, am unable to determine DSP speed. I just used the following code to check,

-----------------------------------------------------------------

 

#define DM6467_DSP_CLOCKS_PER_SEC (1/729000000.0) /* 729 MHz */

long long tsc_start  = 0; 

 

 

long long tsc_end    = 0;

long long tsc_diff    = 0;

unsigned int dsp_profile = 0;

 

TSCL = 0;

tsc_start = _itoll(TSCH, TSCL);

 

for(i=0; i<(640*480); i++)

{

        *dst++ = *src++;

}

tsc_end = _itoll(TSCH, TSCL);

tsc_diff = (tsc_end -tsc_start);

 

dsp_profile  =  (unsigned int)( tsc_diff * DM6467_DSP_CLOCKS_PER_SEC * 1000); // msec
-----------------------------------------------------------------
Note: am using the following tools
1. DSPLink ver1.65
2. BIOS   5.33.03
3. I have enabled the cache and used restrict also..
with the above code, profile number is 8msec and it seems to be very high with the DSP running at 729MHz.
Could anyone help me in determining the DSP speed?