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.

IQ math lib IQ1mag Function Timing

Hello

Im using the IQ1mag Function, running on the 28232, using 100Mhz clk, acording to the docmentation, it suppose to execute in 86 cycles.

But i have timed it to about 10 uSec instead of around 1uSec. i am alsow using the IQmpy function that is executed in correct timing.

I have tried to use the IQsqrt  function and it uses around 6uSec so around ten time longer then it takes.

 

Any one has any ideas how to deal with it? Its a huge prolem as i am running real time interup at 16 Khz and use magnitude calculation twice that costs me 1/3 of the time i have.

 

Adi