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.

IQ library not working in FPU32 example proj_lab2d in FOC

Other Parts Discussed in Thread: TMS320F28069F, MOTORWARE

Dear All/ Chris,

I am using TMS320F28069F controller and motorware13 example proj_lab2a as reference in my code . Every thing working Ok with this. Now I just want to use FPU32 as per proj_lab2d example.

I added 2806xRevB_FastSpinROMSymbols_fpu32 and Iqmath_fpu32 library in my code with old library and also changed project setting.

CCS general->RUN time support library , CCS build->processor option->specify floating point support.

But when I build the code and downloaded in device, I observed that IQ library function not working in my code.

Any one have idea about this.? Or still I am missing something.

I use CCS6 and CGT 6.2.5

-Suprit

  • Amtech,

    This may have to do with the order of linking with the libraries.  Why did you add the symbols yourself?  proj_lab02d is already set-up for FPU32. Why not just use that one?

  • Dear Chris,

    Thank you for your reply. It's work now.

    "Why not just use that one?"

    I have other files (.C & .H) related my code. so i have to make new project who have complete projects files.

    Where in your example code all header files are linked.

    I refer proj_lab02d example where updateGlobalVariables_motor() function updated for FPU32. Is there any other change in this?

    -Suprit

  • Amtech said:
    Where in your example code all header files are linked.

    for example:

    C:\ti\motorware\motorware_1_01_00_13\sw\solutions\instaspin_foc\boards\drv8301kit_revD\f28x\f2806xF\projects\ccs5\proj_lab02d\.project

    look for 

    <linkedResources>

    Amtech said:
    Is there any other change in this?

    yes. Use a "diff" type of tool to compare proj_lab02b.c to proj_lab02d.c