Trying to run a TMotor (Cubemars) R60 kv115 with 24V ODrive 3.6. Only one motor connected and using the ferrite ring on the phase wires. The Hall sensor is connected yellow H1 to A, blue H2 to B, green H3 to C. And the config is as follows:
odrv0.config.brake_resistance = 0
odrv0.axis0.motor.config.motor_type =MOTOR_TYPE_HIGH_CURRENT
odrv0.axis0.motor.config.pole_pairs=14
odrv0.axis0.motor.config.torque_constant = 0.083
odrv0.axis0.config.startup_motor_calibration = True
odrv0.axis0.config.startup_closed_loop_control = True
odrv0.axis0.encoder.config.mode = ENCODER_MODE_HALL
odrv0.config.gpio9_mode = GpioMode.DIGITAL
odrv0.config.gpio10_mode = GpioMode.DIGITAL
odrv0.config.gpio11_mode = GpioMode.DIGITAL
and the errors while trying any calibration is:
odrv0.config.brake_resistance = 0
odrv0.axis0.motor.config.motor_type =MOTOR_TYPE_HIGH_CURRENT
odrv0.axis0.motor.config.pole_pairs=14
odrv0.axis0.motor.config.torque_constant = 0.083
odrv0.axis0.config.startup_motor_calibration = True
odrv0.axis0.config.startup_closed_loop_control = True
odrv0.axis0.encoder.config.mode = ENCODER_MODE_HALL
odrv0.config.gpio9_mode = GpioMode.DIGITAL
odrv0.config.gpio10_mode = GpioMode.DIGITAL
odrv0.config.gpio11_mode = GpioMode.DIGITAL
the calibrations i use are:
odrv0.axis0.requested_state = AxisState.ENCODER_HALL_POLARITY_CALIBRATION
odrv0.axis0.requested_state = AxisState.ENCODER_OFFSET_CALIBRATION
odrv0.axis0.requested_state = AxisState.FULL_CALIBRATION_SEQUENCE
and i haven come close to run it since i get errors . So it wont move. But i does turn during calibrations.
Any ideas?