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.

CCS/LAUNCHXL-F28069M: Wrong results of math operations.

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: CONTROLSUITE, MOTORWARE

Tool/software: Code Composer Studio

Hi everyone,

Does anyone have idea about why i got wrong results of math operations?, I'm implementing an algorithm wich generates two angles, this algorithm performs math operation with a set of values wich i give to it, this have been compiled and tested on a pc with good results, but when i run this on lauchxl-f28069m i got other angles wich are wrong, other interesting thing is that when i implement it in motorware i got different results of when i run it in a simple project(based on controlSUITE example), but both are wrong.

These are the results with a motorware project

 These are the results with a simple project

Any idea would be very helpful.