Other Parts Discussed in Thread: C2000WARE
Hi,
I'm having a big problem with the CCS20 on a TMS320F2837xS CLA.
Try to explain it:
I have a code that works well if I compile it on CCS12.8.1.00005 and compiler TIv22.6.3.LTS.
Simplifying as much as possible, the DSP code send an angle to the CLA and the CLA has to calculate a series of sine and cosine function.
Well using the CCS12.8.1 the CLA calculate the trigonometric functions correctly (CLAsincos(locTeta, &sinTeta, &cosTeta) or CLAsin(locTeta) or CLAcos(locTeta)) and the functions return the right value.
If I put the exact some code in CCS20.3.1 program is executed but all the trigonometric functions return 0 costantly.
I tried to follow the solution reported in other thread, but no chance.
I tried to compile the code on COFF and in EABI mode but the result is the same.
Somebody can give me an hint? Is 2 days that I'm stopped in this problem.
Thank you
Regards
Giuseppe