EmbDev.net

Forum: ARM programming with GCC/GNU tools 40 ms to decode one mp3 frame


von Prashanth kumar (Guest)


Rate this post
useful
not useful
Hi,

   I am working with PXA270 processor. It takes nearly 40 ms to decode
one mp3 frame. I have enabled data cache as well as the instruction
cache. Please can you help me to reduce this decode time.

Regards,
 Prashanth kumar

von Clifford S. (clifford)


Rate this post
useful
not useful
Prashanth kumar wrote:
> Hi,
>
>    I am working with PXA270 processor. It takes nearly 40 ms to decode
> one mp3 frame. I have enabled data cache as well as the instruction
> cache. Please can you help me to reduce this decode time.
>
> Regards,
>  Prashanth kumar

Have you configured the system clock and SDRAM controller/memory timing
correctly? The chip will initialise at the crystal frequency (probably
as low as 12MHz!), with lowest common denominator 'safe' memory timings.
You configure and enable the clock multiplier and match the timings to
the memory parts on your board.

Clifford

von Prashanth Kumar (Guest)


Rate this post
useful
not useful
Clifford Slocombe wrote:
> Prashanth kumar wrote:
>> Hi,
>>
>>    I am working with PXA270 processor. It takes nearly 40 ms to decode
>> one mp3 frame. I have enabled data cache as well as the instruction
>> cache. Please can you help me to reduce this decode time.
>>
>> Regards,
>>  Prashanth kumar
>
> Have you configured the system clock and SDRAM controller/memory timing
> correctly? The chip will initialise at the crystal frequency (probably
> as low as 12MHz!), with lowest common denominator 'safe' memory timings.
> You configure and enable the clock multiplier and match the timings to
> the memory parts on your board.
>
> Clifford

Hi,
   The details regarding to the memory clock and run mode clock are ,

P15 C0 reg = 107c
ccsr = 3000030e,
cccr_a, = 2000000
clkcfg = 3
Run Mode clock: 182.0MHz (*14)
Turbo Mode clock: 546.0MHz (*3.0, active)
Memory clock: 91.0MHz (/2)

Thank you

Ragards,
Prashanth Kumar

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.