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.

TMS320F280037C: How to use sine and cossine in my code

Part Number: TMS320F280037C
Other Parts Discussed in Thread: TMS320F280037

Hi,
 
I'm trying to calculate sine and cossine in radians using a TMS320F280037 and bitfied programming.

I included <math.h> at beggining of my code and tried these lines:

V_a_PLL = 311.126983722 * sin(theta);
feedback_PLL = (V_a/311.126983722) * cos(theta);

But, I received the following warnings:


#2614-D (Performance) Use --fp_mode=relaxed to enable TMU hardware support for sin.                          main.c /F280037 T Type 4 line 235

#2614-D (Performance) Use --fp_mode=relaxed to enable TMU hardware support for cos.                         main.c /F280037 T Type 4 line 240

#2614-D (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.             f28003x_sysctrl.c /F280037 T Type 4 line 833

At this moment I would not like use CLA or driverlib functions. How could I proceed to solve these warning?

Thanks for you attention,

Jonas Menon da Rosa

Electrical Engineer