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.

libraries and sample code for controlling one BLDC motor using TMS320F28335 Delfino.

Other Parts Discussed in Thread: TMS320F2812, TMS320F28335, CONTROLSUITE

Dear all,

                 Due to some reason, I couldn't buy TMS320F2812 controller. Instead of that TMS320F28335 Delfino controller control card is available in my college. I want to control one BLDC motor(SENSORED)  with TMS320F28335 controller. I searched for libraries and sample codes for TMS320F28335 but I couldnt find it for BLDC motor.

Can anyone help me in this.

With Regards
Josepin raj

  • Hi Josepin,

    Yes, F2812 is more than a decade old kit and procuring it is tough. Anyways, its a very good decision to switch to delfino F28335. For drivers and other sources you can refer this directory in controlSuite:
    C:\ti\controlSUITE\libs\app_libs\motor_control\

    Drivers can be found here: C:\ti\controlSUITE\libs\app_libs\motor_control\drivers\f2833x_v2.0

    Regards,
    Gautam
  • Dear Gautam,

                       Thank you for your support. 

                       I have seen the folder you mentioned [C:\ti\controlSUITE\libs\app_libs\motor_control\drivers\f2833x_v2.0], but it does not have hall sensor driver file which is present in F280xx folders. In f2833x_v2.0 folder, only drivers used for controlling sensorless PMSM (sinusoidal) motor is present.

    How Can I use that Hall sensor driver here? Is there any other method available to program for TMS320F28335?

    In TMS320F2812, Action Control register (ACTRL) used for controlling commutational switching of PWMs for three phase inverter in BLDC motor control is available in event manager module. This register is not present in TMS320F28335.

    Regards,

    Josepin raj

  • Dear Gautam,

    Thank you for your support.

    I have seen the folder you mentioned [C:\ti\controlSUITE\libs\app_libs\motor_control\drivers\f2833x_v2.0], but it does not have hall sensor driver file which is present in F280xx folders. In f2833x_v2.0 folder, only drivers used for controlling sensorless PMSM (sinusoidal) motor is present.

    How Can I use that Hall sensor driver here? Is there any other method available to program for TMS320F28335?

    In TMS320F2812, Action Control register (ACTRL) used for controlling commutational switching of PWMs for three phase inverter in BLDC motor control is available in event manager module. This register is not present in TMS320F28335.

    Regards,

    Josepin raj
  • Yes, you're correct. Hall driver is not available for F28335 but I believe you should be able to port the driver available for F2803x device to F28335. These are the available drivers:

    Regards,

    Gautam