Other Parts Discussed in Thread: CONTROLSUITE, HALCOGEN, EK-TM4C123GXL, SW-EK-TM4C123GXL
Hi,
I can't seem to get the CLA math library to work properly.
I have started my project by using an IIR filter example in the CLA F2803x v126 folder as a template.
Later on I realised that you have to include the CLA math library if you want trigonometric functions.
So I followed the instructions on the CLA math v400 and added the include options and search paths for linker. (Also did a #include CLAmath.h in the CLA file)
But the issue is, if I use CLA divide function, it works fine but if I do any of the trigonometric functions, the code doesn't seem to execute at all.
I suspected that it was CLA math table issue and I have copied the "F28035_CLA_C.cmd" file to "C:\ti\ccsv5\ccs_base\c2000\include" and set the linker command file as "F28035_CLA_C.cmd" (If I didn't copy it over, I get loads of errors on compile)
Also, my main code has the following 2 lines as well. (was also present in the CLA IIR example)
memcpy(&Cla1funcsRunStart, &Cla1funcsLoadStart, (Uint32)&Cla1funcsLoadSize);
memcpy(&Cla1mathTablesRunStart, &Cla1mathTablesLoadStart, (Uint32)&Cla1mathTablesLoadSize);
But still it's not working.
Please help!

