CCSTUDIO-THEIA: Problem with CCS20.3.1 Compiler TIv22.6.2.LTS and CLA

Part Number: CCSTUDIO-THEIA
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

  • Hi Giuseppe,

    Can you confirm if you are able to get one of the CLA examples with the trig functions to run successfully in CCS20. The examples are available in C2000Ware. Can you also confirm what compiler you are using on CCS20. As well as the version of C2000Ware.

    Regards,

    Ozino

  • Thank you Ozino for your attention.

    Finally, this morning, I've found a silly error in the Theia project properties.

    It was the only different file between CCS12 and CCS20 projects. 

    Now all seems to work well.

    Regards

    Giuseppe