40 ms to decode one mp3 frame

#1171658
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
Guest #1171659
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

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.