Part Number: TMS320F280041C
Hi,
We have a project using InstaSPIN ROM on TMS320F280041C for a sensorless FOC PMSM
It is originally based on MotorControl SDK v3.00.01.00
Now we want to use a CPU without ROM code (supply chain problems…)
In MotorControl SDK v4.00.00.00 there is a linkable library to replace the ROM functions: libraries\observers\est_lib\lib\fast_full_lib.lib
We used this library instead of libraries\observers\fast\lib\f28004x\f28004x_fast_rom_symbols_fpu32.lib
Small changes in application code were necessary due to differences in structs, namely USER_Params in userParams.h, _FULL_FAST_LIB predefined
However, the following two functions are missing in the software lib vs. ROM lib:
void EST_setupTraj(EST_Handle handle, CTRL_Handle ctrlHandle, const float32_t targetValue_spd_Hz, const float32_t targetValue_Id_A);
void EST_configureCtrl(EST_Handle handle,CTRL_Handle ctrlHandle);
Notably, these are the only functions in est/include/est.h that need CTRL_Handle. They are missing in est_lib/include/est.h
They are needed for motor ID only, so we replaced them with dummies, the motor is now running fine with the software lib, but motor ID is not yet working properly.
We looked at example universal_motorcontrol_lab_f28002x:
EST_setupTrajState() seems to be used in a similar way to EST_setupTraj()
For EST_configureCtrl() there is no similar function.
Q1: Is there a migration guide from ROM to linked libraries?
Q2: How to replace the missing EST_ functions?
Q3: Is there a description of the differences or characteristics of the different FAST libs?
fast_flash_lib.lib
fast_full_lib.lib
fast_pmsm_lib.lib
fast_simple_lib.lib
Regards,
Wolfgang