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.

LAUNCHXL-F280049C: Hardware Over Current Fault Flag being set by trip zones on MotorControl SDK instaspin lab2 Offset gain calibration

Part Number: LAUNCHXL-F280049C
Other Parts Discussed in Thread: BOOSTXL-DRV8320RS

I have a LaunchXL-F280049C evaluation board with a boostXL-DRV8320x evaluation board mounted on top of it via the J1,j3 and j2,j4 headers. Connected to this boostXL-DRV8320x is a 3 phase BLDC motor. I have supplied the boostXL-DRV8320x with 24v via its power in connectors. I am running through the labs in MotorControl SDK instaspin lab guide and am trying to get the lab 2 "23is02_offset_gain_cal–Current and Voltage Offsets Calibration" to work.

When I download and run this code I am getting the fault condition being generated at line 558 of is02_oofset_gain_cal.c (section of code shown below)

if(HAL_getPwmEnableStatus(halHandle) == true)
{
            if(HAL_getTripFaults(halHandle) != 0)
            {
                motorVars.faultNow.bit.moduleOverCurrent = 1;
            }
}

This is due to the fact that the trip fault is being detected in the call to HAL_getTripFaults(halHandle) . I am trying to understand what this is indicating and why it is happening as it is stopping me running the main section of this lab exercise.

Does anyone have any helpful tips or experience with this exercise ?

Any info or guidance would be gratefully appreciated.

Cheers

Phil