This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS / TMS320C6748: TMS320C6748 CCS6.2

Part Number: TMS320C6748
Other Parts Discussed in Thread: MATHLIB

Tool/software: Code Composer Studio

The software CCS6.2 we used encountered problems. The DSP uses TMS320C6748

There was a problem in calling the sin cos function and it was not successful.

What are the library files and header files? And how to add it. Thank you.

  • Sin and Cos functions are part of the RTS library which should be linked when you link to libc.a library in the compiler. Can you confirm that you have included math.h header in your code. We also provide a optimized version of trignometric functions in the MATHLIB here:

    http://www.ti.com/tool/MATHLIB

    Can you please also provide more details on "There was a problem in calling the sin cos function and it was not successful.". Does the function hang the DSP core or report exception or does it require NAN ?  Can you make sure that there is no divide by operation in calculation of the angle that could cause this issue. 

    Regards,

    Rahul