Hi,
I have tested some basic audio data input and output routine using McASP transmit interrupt method on OMAPL137. For my application, I want to get audio data and output them after some filtering algorithm. The algorithm is simple just like some multiplication and addition operations. I have tried to get the calculation time using break point and CCS software. But after the test, I found that just the simple operation like below would cost about 31742 clocks. So the time for this procedure is about 31742/300MHz = 0.106ms and larger than the sampling time(1/48000Hz*1000 = 0.021ms), so the routine can't work well. But I'm wondering why such power DSP need so much time to work on this simple operation or there is something wrong with my understanding? So I'm looking forward for your reference and thanks for help!
for (i=0; i<length; i++)
{
yn += s[i] * x[i];
}
Best regards,
Wang Yu