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.

TMS320F280037: _PMSM_FAST_LIB_ not working in C2000Ware_MotorControl_SDK_4_02_00_00

Part Number: TMS320F280037

After defining _PMSM_FAST_LIB_, in DMC_LEVEL3, the EST_OutputData is not longer correct.  All the _rps values toggle between pi and -pi, oneOverDcBus_invV is incorrect.  The motorVars_M1.speed_Hz toggles between pi and -pi. Even though I can get the motor to run, the StartupFailed bit gets set due to the incorrect speed_Hz feedback.  If I mask this bit the motor will continue to run at the correct speed reference, but the feedback from the EST is not correct.  There must be an issue with the EST setup. 

All the EST feedback is correct when using _FULL_FAST_LIB_.  

  • Did you exclude the "fast_full_lib.lib" and include "fast_pmsm_lib.lib" from build? Right-click on the "fast_full_lib.lib" or  "fast_pmsm_lib.lib" file in the "src_lib" folder to exclude or cancel exclude from build.

    BTW, the "fast_full_lib.lib" includes all functions of the "fast_pmsm_lib.lib". You don't need to use the "fast_pmsm_lib.lib" on F28003x for a PMSM.

  • Thanks, Yanming.  That was the answer.  Just needed to include the correct file.