Part Number: TMS320F28379S
Other Parts Discussed in Thread: C2000WARE
Hello all,
I am working on migrating the legacy project based on the TMS320F28335 family to the TMS320F28379S. The project is FOC-based control of two motors (one sensorless and the other encoder based) in a 50kHz loop. During migration, I encounter an issue with esmo_float.lib. I believe the library is obtained from this thread https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/434527/controlsuite-s-esmo-and-f28335/1578710#1578710. My issue is that the call to eSMO_MODULE((ESMOPOS *)&gSlidingModeObserver) is taking over 15us to execute while the rest of the FOC algorithm is around 5us. This presents an issue since my loop is 20us. I am assuming that the call inside the library is not taking advantage of TMU or FPU hardware accelerator. Would I be able to obtain the source code for this library? I know that C2000Ware_MotorControl_SDK_4_02_00_00 has a newer version of the sliding observer but the object seems to be different and because of the tight time deadline I would prefer not to have to modify the code and tune the parameters.