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.

TMS320F28379D: Cannot Use CLAMATH library

Part Number: TMS320F28379D

Hi Champs,

This is a question from my customer. They are working at a motor drive project trying to enable FPU in CLA.

Following CLA Math Library User's Guide, we integrated "cla1_math_library_datarom_fpu32.lib" into the project. The project can be successfully build with no error. However, when they single step the code in CLA, the follow warning shows:

It seems the compiler is looking for CLAsin() in a source file rather than execute from the library.

However, after the execution, the result seems right:

 

Could you please help to explain the principles behind this?

Regards,

Brian

  • This has nothing to do with the compiler, especially since the functionality is correct.

    CCS is trying to fund the source code from the symbols in the library without the actual source being part of the project. If you include the assembly file in your project I believe CCS will find the source code and step through the code and pull up the assembly file in the CCS edit window.

    Hope this helps,
    sal