EmbDev.net

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


Author: Prashanth kumar (Guest)
Posted on:

Rate this post
0 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

Author: Clifford Slocombe (clifford)
Posted on:

Rate this post
0 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

Author: Prashanth Kumar (Guest)
Posted on:

Rate this post
0 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

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.