Hello all,
I am trying to run my custom pcb almost identical to odrive v3.6-56v and it detects the drv8301 ok.
But as soon as I put it in AXIS_STATE_MOTOR_CALIBRATION state, it goes into MOTOR_ERROR_DRV_FAULT state.
No beep, no sound from the motor.
In [23]: dump_errors(odrv0)
system: no error
axis0
axis: Error(s):
UNKNOWN ERROR: 0x00000040
motor: Error(s):
MOTOR_ERROR_DRV_FAULT
sensorless_estimator: no error
encoder: no error
controller: no error
If I request for error it gives 64
In [24]: odrv0.axis0.error
Out[24]: 64
Which I guess there is overcurrent erorr on FETLA as below code describes.
FaultType_FETLA_OC = (1 << 4), //!< FET Low side, Phase A Over Current fault
It seem like the sensor is working though.
In [1]: odrv0.axis0.motor.current_meas_phA
Out[1]: -2.9245057106018066In [2]: odrv0.axis0.motor.current_meas_phB
Out[2]: 1.5957646369934082In [3]: odrv0.axis0.motor.current_meas_phC
Out[3]: 1.3259443044662476
Can anybody can help me solving this error?
Thanks,
Kyu