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.

TMS320F28388D: Error while using SFO library

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Hi,

I want to use the SFO library so as to use High Resolution feature of ePWM.

I have the following error when I build my project while using SFO library (calibration for HR PWM).

"unresolved symbol _ePWM, first referenced in ..\SFO_v8_fpu_lib_build_c28_coff.lib<SFO_v8_fpu_lib_build_c28.obj>"

It happens when I call the SFO() function. If I comment this line, I can build the code sucessfully.

I'm using CCS 9.2.0, compiler version v21.6.0.LTS, C2000Ware version SDK_2_00_01_00, COFF format

To use the library, I added the following files in my project as it were C file:

  • SFO_v8_fpu_lib_build_c28_coff.lib
  • SFO_v8_fpu_lib_build_c28.lib

And I followed the steps described in the readme.txt which goes with the .lib in C2000Ware library.

Any idea of the problem ? Maybe, I do it wrong when I import the library ?

Thanks,

Adrien