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 : 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 : odrv0.axis0.error Out: 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 : odrv0.axis0.motor.current_meas_phA
In : odrv0.axis0.motor.current_meas_phB
In : odrv0.axis0.motor.current_meas_phC
Can anybody can help me solving this error?