Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: Trig functions give wildly wrong results

$
0
0

[quote user="Igor Gorbachev"]Your DSP does not include FPU. You need to use IQMath library (Please visit the site to view this file).[/quote]While it is true that a TMS320F2812 doesn't include a FPU, the C2000 compiler should support software emulation of floating point in the run time library. Albeit that the software emulation will run slower than using a real FPU, and require more code space.

In CCS5.4 to use software emulation of floating point, under CCS Project Properties -> Build-> C2000 Compiler -> Processor Options set "Specify floating point support" to "softlib".

[I am not sure if the same option is in the older Code Composer Studio 3.1]


Viewing all articles
Browse latest Browse all 91752

Trending Articles