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.

Compiler/CC2650: Fixed Point Multiply is taking 400 Clock cycles

Part Number: CC2650
Other Parts Discussed in Thread: TEST2

Tool/software: TI C/C++ Compiler

Hello,

I'm trying to build a biquad filter but I can't get past a multiply?

I'm meassuring 700 clock cycles. The first copy only takes 52 of that.

q31_t test1,test2,test4;

stampy[stampTick].wordCount1 = HWREG(I2S0_BASE + I2S_O_STMPWCNT);
stampy[stampTick].bClocks1 = HWREG(I2S0_BASE + I2S_O_STMPXCNT);


test1 = ((HannahStereoFrame *)i2sBlockActiveIn->buf)->Fixed32[0];
test3 = test1 * (test2 + 0.5);                                                                   //THIS TAKES 700 CYCLES


stampy[stampTick].wordCount2 = HWREG(I2S0_BASE + I2S_O_STMPWCNT);
stampy[stampTick].bClocks2 = HWREG(I2S0_BASE + I2S_O_STMPXCNT);

Any help regarding a fast fixed point multiply and sum would be appreciated.

Thank you,

Ken Koch