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.

TMS320F28075: EPWM register programming for 3 phase PMSM FOC

Part Number: TMS320F28075
Other Parts Discussed in Thread: C2000WARE, CONTROLSUITE

Hi,

I am looking for hints how to program the EPWM registers (initialisation and PWM control output) for a FOC of a 3 phase PMSM motor.

Just downloaded the C2000Ware_MotorControl_SDK_2_01_00_00 in the hope to find something appropriate, but I did not. It ends with SVGEN, but no register programming example, no CCS project etc. Got lost in documentation.

Background: I want to migrate my old F2407 FOC algorithms to the new F28075 Hardware, and I am looking for an example code together with some theortical background how to do the somehow completely different programming of the C2000 EPWMs.

Any other package available?

Thanks,

Frank

  • You may take a look at the following link and refer to the example project for 3-phase PMSM in the folders of controlSUITE after you installed it.

    Getting Started with C2000 MCUs for Motor Control

    ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1

    or 

    \ti\controlSUITE\development_kits\TMDSIDDK_v2.0

  • Hi Yanming Luo,

    thank you for the reply. In both packages you suggested I found some macros that seem to do what I want. This will help me to go on.

    Shouldn't there be something similar in the C2000Ware_MotorControl_SDK_2_01_00_00 / c2000ware I tried first? Or is this an InstaSpin internal or so?

    Thanks & regards,

    Frank