Other Parts Discussed in Thread: TMS320F280039
Tool/software:
Dear TI Support team
I am running this reference design with TMS320F280039 LAUNCHPAD but in lab 1 error occurred. The error is stringINV_ADC_fault =1 in expression window and after clearing stringINV_clearPWMTrip =1 but fault remain and no PWM signal at GPIO pins.
After this I have changes in stringINV.h as below
void stringINV_Fault_Read()
{
//Overcurrent Protection
if((EPWM_getTripZoneFlagStatus(BOOST_BASE) & EPWM_TZ_FLAG_DCBEVT1)==EPWM_TZ_FLAG_DCBEVT1) {stringINV_ADC_fault=1; stringINV_FAULT_FLAGS.stringINV_ADC_fault_OC_Boost=1;}
// if((EPWM_getTripZoneFlagStatus(Bidirectional1_BASE) & EPWM_TZ_FLAG_DCBEVT1)==EPWM_TZ_FLAG_DCBEVT1) {stringINV_ADC_fault=1; stringINV_FAULT_FLAGS.stringINV_ADC_fault_OC_Bidirectional1=1;}
// if((EPWM_getTripZoneFlagStatus(Bidirectional2_BASE) & EPWM_TZ_FLAG_DCBEVT1)==EPWM_TZ_FLAG_DCBEVT1) {stringINV_ADC_fault=1; stringINV_FAULT_FLAGS.stringINV_ADC_fault_OC_Bidirectional2=1;}
// if((EPWM_getTripZoneFlagStatus(DCAC1_BASE) & EPWM_TZ_FLAG_DCBEVT1)==EPWM_TZ_FLAG_DCBEVT1) {stringINV_ADC_fault=1; stringINV_FAULT_FLAGS.stringINV_ADC_fault_OC_DCAC1=1;}
// if((EPWM_getTripZoneFlagStatus(DCAC2_BASE) & EPWM_TZ_FLAG_DCBEVT1)==EPWM_TZ_FLAG_DCBEVT1) {stringINV_ADC_fault=1; stringINV_FAULT_FLAGS.stringINV_ADC_fault_OC_DCAC2=1;}
After this I got the PWM for BOOST converter but not for others.
Suggest where I am doing the mistake to run this reference design or some changes required for run this reference in launchPad.
Regards