Other Parts Discussed in Thread: C2000WARE, BOOSTXL-3PHGANINV
Tool/software: Code Composer Studio
Good day everyone,
I am new to TI platform, I am trying to run the dual_axis_servo_drive_fcl_qep_f2837x project under the C2000Ware_MotorControl SDK. I am still in Build Level 1 and I am stuck because it will not
produce PWM output. It always hit the PWM Trip due to over current this part:
// Check for PWM trip due to over current if((EPWM_getTripZoneFlagStatus(obj->pwmHandle[0]) & EPWM_TZ_FLAG_OST) || (EPWM_getTripZoneFlagStatus(obj->pwmHandle[1]) & EPWM_TZ_FLAG_OST) || (EPWM_getTripZoneFlagStatus(obj->pwmHandle[2]) & EPWM_TZ_FLAG_OST)) { // if any EPwm's OST is set, force OST on all three to DISABLE inverter EPWM_forceTripZoneEvent(obj->pwmHandle[0], EPWM_TZ_FORCE_EVENT_OST); EPWM_forceTripZoneEvent(obj->pwmHandle[1], EPWM_TZ_FORCE_EVENT_OST); EPWM_forceTripZoneEvent(obj->pwmHandle[2], EPWM_TZ_FORCE_EVENT_OST); pMotor->tripFlagDMC = 1; // Trip on DMC (halt and IPM fault trip ) pMotor->runMotor = MOTOR_STOP; GPIO_writePin(enableDriveGPIO, 1); }
Is it a hardware issue? or software?
The Launchpad has also BOOSTXL-3PhGaNInv on top of it.
Hopefully, someone can help me.
Best Regards,
Lester