Replies: 7
Views: 114
Part Number: CCSTUDIO-C2000
Tool/software: Code Composer Studio
I need to give filtered signal to my pid1 controller as my reference rk. AdcBufFiltered is my filtered signal.i'm using CCSv6.LPF.c
In reply to John Westmoreland43:
In reply to Ananda Hange:
In reply to Richard Poley:
Filter.cLPF2.cLPF2.cIQmathLib.hwhen i use this line rk = _IQtoF(AdcBufFilter[index]); i got errors as follows,
Description Resource Path Location Type
unresolved symbol __IQ24toF, first referenced in ./LPF1.obj EV1 C/C++ Problem
<a href="file:/c:/ti/ccsv7/tools/compiler/dmed/HTML/10234.html">#10234-D</a> unresolved symbols remain EV1 C/C++ Problem
#10010 errors encountered during linking; "EV1.out" not built EV1 C/C++ Problem
I attached file LPF2.c which is main file and filter.c and IQmathlib.h file .
Yeah I hadn't link that IQmath.lib .Even if i link that I got some new error as follows,
Description Resource Path Location Type<a href="file:/c:/ti/ccsv7/tools/compiler/dmed/HTML/16008.html">#16008-D</a> file "../IQmath.lib<IQ24toF.obj>" specifies ISA revision "C2800", which is not compatible with ISA revision "C28FPU32" specified in a previous file or on the command line EV1 C/C++ Problem.
I'm using Delfino f28335 of c2000 famiy.
I think this is because you've built for the FPU32 but are linking the fixed point version of IQmath. Try linking "IQmath_fpu32.lib" instead of "IQmath.lib". Both are in the \lib sub-directory in C2000Ware.
Regards,
Richard