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.

TMS320F280039C: floating-point

Part Number: TMS320F280039C
Other Parts Discussed in Thread: C2000WARE

Hi experts,

I am trying to migrate from F28035 to F280039C.In order to use the FPU function, do I need to call any functions other than the settings in the picture?

  • Hello Anka,

    The FPU is a hardware accelerator, all you need to do is configure the correct settings via the compiler so that it knows to use those specific assembly instructions for floating point. Besides setting the option, there's nothing additional you have to do besides using floating point functions/datatypes.

    Best regards,

    Omer Amir

  • Hi expert,

    Does the project's use of fixed-point and floating-point conflict with both?

    How do I set IQmath.lib after changing as shown in the image above?

    After setting FPU, my customer reports the following error:

    error #16008-D: file "../IQmath.lib<IQ16div.obj>" specifies ISA revision "C2800", which is not compatible with ISA revision "C28FPU32" specified in a previous file or on the command line
    error #16008-D: file "../IQmath.lib<IQ20cosPU.obj>" specifies ISA revision "C2800", which is not compatible with ISA revision "C2700" specified in a previous file or on the command line

  • Hello Anka,

    Does the project's use of fixed-point and floating-point conflict with both?

    No, it should not.

    How do I set IQmath.lib after changing as shown in the image above?

    To use the IQmath library, you need to include the IQmath header file located in the C2000Ware directory: C2000Ware_5_00_00_00\libraries\math\IQmath\c28\include. Verify your include paths include this directory somewhere.

    After setting FPU, my customer reports the following error

    It looks like they may be using an old example project, I recommend using a newer project with the correct configuration options for the project properties (the customer should be able to use the same file paths as the original).

    Best regards,

    Omer Amir