Other Parts Discussed in Thread: C2000WARE, BOOSTXL-3PHGANINV
Hello,
In the dual axis motor using FCL reference software which comes with C2000WARE motor control SDK,Could you please explain the overcurrent setup..
I have disconnected the inverter PCB(BOOSTXL-3PhGaNInv) and manually given some values at the relevant pins to simulate a stable condition(motorVars[1].tripFlagDMC is 0)
- I have for now manually given a little over 1.65v to each of the ADC inputs responsible for the current feedback
- Around 2v on the ADC input responsible for the VDC bus.
- GPIO14 , i.e the OT pin in the inverter schematic to pulled to VCC,3v3.
In the HAL_setupMotorFaultProtection() function I see that for MTR_2, I see that xbar input is setup with GPIO14 and the various pwm trip zones are set w.r.t to this pin
Now when I disconnect one of the current feedback inputs to the ADC , the system immediately trips (motorVars[1].tripFlagDMC = 1)
Also when I disconnect the VDC bus feedback going to the ADC, it trips with motorVars[1].tripFlagDMC = 2
But when I Ground the GPIO pin(i.e GPIO14 = 0) nothing seems to happen???, isn't the system supposed to trip with motorVars[1].tripFlagDMC = 1?
The error logic is in "runMotorControl(MOTOR_Vars_t *pMotor, HAL_MTR_Handle mtrHandle)".
Yanming Luo Could you kindly help with the above.
Thanks
Arun