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.

TMS320F28386D: ePWM Motor control

Expert 2380 points
Part Number: TMS320F28386D
Other Parts Discussed in Thread: DRV8316, C2000WARE-MOTORCONTROL-SDK, C2000WARE

Does TI provide the example code for application of F2838X with DRV8316 driver to control the BLDC motor?

Or any similar application example.

I want to compare the ePWM setting of the example.

  • Does TI provide the example code for application of F2838X with DRV8316 driver to control the BLDC motor?

    What control algorithm you want to use for the BLDC? Trapezoidal control or sinusoidal FOC?

    You may refer to the lab for the C2000 devices in motor control SDK. The universal motor control lab is available in the current MCSDK, which can support a set of hardware kits and control algorithms for BLDC/PMSM drive. The kits include LAUNCHXL-F280025C, LAUNCHXL-F280039CLAUNCHXL-F2800137 with DRV8316REVM inverter board for low voltage motor.  The control algorithms include sensorless InstaSPIN-FOC with FAST, Sensorless-FOC with eSMO, Sensored-FOC with incremental encoder, Sensored-FOC with hall sensor.  You can refer to the device peripherals (ePWM, ADC, eQEP, or eCAP) configuration for motor control with the other C2000 devices including F2838x.

    C2000WARE-MOTORCONTROL-SDK: https://www.ti.com/tool/C2000WARE-MOTORCONTROL-SDK

    Universal Project and Lab User’s Guide: https://www.ti.com/lit/spruj26

    Example lab project at the folder: C:\ti\c2000\C2000Ware_MotorControl_SDK_<version>\solutions\universal_motorcontrol_lab\f28002x

    or                                                         C:\ti\c2000\C2000Ware_MotorControl_SDK_<version>\solutions\universal_motorcontrol_lab\f28003x

    or                                                         C:\ti\c2000\C2000Ware_MotorControl_SDK_<version>\solutions\universal_motorcontrol_lab\f280013x