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.

Performance of C5502?

Guru 15580 points
Other Parts Discussed in Thread: OMAP-L138

I have been evaluating the C5502 for an application that requires the use of an audio compression algorithm. The algorithm is too large to fit in the internal DARAM memory of the C5502, so I mapped it to the external SDRAM that is part of the ezdsp5502 eval board. The variables used by the algorithm also consume too much space for internal DRAM, so they are also placed in external SDRAM. Unfortunately, the performance of the 300MHz C5502 is an order of magnitude slower than the same algorithm running on a C5515 which has enough internal memory to accomodate both the algorithm code and the variables. I have enabled the instruction cache on the C5502, which helps to some degree. But the performance is still far below what is acceptable for my project. 

Question: Is the lack of a data cache on the C5502 a major bottleneck for this device? It appears that if your data variable space is too large to fit in the internal memory of the C5502, you are out of luck. Can someone from TI weigh in this? I need a 300MHz DSP solution for my application and the C5502 appeared to be a cost effective solution (about half the price of the OMAP-L138). However, after tinkering with it for a while, it now appears to have a major achilles heel (no data cache).

  • I've ported an audio compression algorithm from the C5515 to C5502 (both ezdsp boards). I managed to stuff all the data in DARAM on the C5502 but had to map the code in the external SDRAM. I did enable I-cache but turns out I get the exact same performance on the C5502 @ 200Mhz than on the C5515 @ 120MHz !!??!!

    I turned on all optimizations for both processors. The C5502's clock is set to 200Mhz so I could set the EMIF to 100mhz clock rate which is the maximum clock rate.

    I guess if you can't stuff the data AND code in the internal memory of the C5502 that processor is just no better than a C5515.

    This is very disappointing. I was hoping the C5502 would be fast enough to deal with a stereo signal (I could only get to encode mono audio on the C5515) but I guess I will have to use the C5505 or even another DSP brand (sorry TI).

    BTW does any one know if it is possible to run a C5505 at 200MHZ with an external clock ?