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.

TMS320F28035: BLDC Motor control

Part Number: TMS320F28035
Other Parts Discussed in Thread: CONTROLSUITE

Hi,

I am using the BLDC Sensored Motor control Example code(C:\ti\controlSUITE\development_kits\DRV8312-C2-KIT_v128) to control a motor from motor ControlSuite. 

I would like to know where exactly I need to modify the macro BLDCPWM_MACRO to have the High side invertor PWM wave forms comes similar to low side PWM with a phase shift. Currently, I see the high side PWM output consists of some small pulses within the PWM output.

Any help in this regard is appreciated.

regards

Ramjee V

  • You need to change the PWM configuration in the BLDCPWM_INIT_MACRO() in "f2803xbldcpwm.h" file. Please refer to the EPWM chapter of F2803x technical reference manual to set the AQCTLA, CMPCTL, and DBCTL to achieve the PWM output as you want.