ODrive Micro Calibration Troubles: Overheating Motor and Inverter

Howdy Fellow ODrivers,

I got some micro boards a couple of days ago and have been trying out different motors. Some of them had very small phase inductances and didn’t calibrate properly which is to be expected.

My set up:
I am using a motor I thought would be pretty plug and play but am having difficulties getting it to calibrate properly. The motor in question is the 724-401: 24mm Brushless Motor - Store

I am using the motor’s hall sensors as my encoder. I know that I wont get good position control but I just want to get the motor configured for now so I am not too concerned. I’ve got the motors Hu, Hv, and Hw connected to Hall A, B, and C on J1, respectively. The motor’s GND and VCC are connected to pins 7 and 8 on the ODrive (GND and 5V).

Power is coming from an M12 Milwaukee battery pack.

I am configuring the ODrive through the web GUI using USB along with a USB isolator to be safe. Google Chrome is what I am using as the browser

What I am seeing:

When the calibration sequence finished (which oddly takes like 20-30 seconds and spins the motor back and forth about 5-10 revs), I see this behavior in the plotter. The motor doesn’t move and gets fairly warm. When I try to control it via the GUI, it gives me a velocity violated error as it believes it is moving (quickly at that). One time it threw an overheated inverter error as well.

My Config:

odrv = odrv0
odrv.config.dc_bus_overvoltage_trip_level = 15
odrv.config.dc_bus_undervoltage_trip_level = 7
odrv.config.dc_max_positive_current = 15
odrv.config.dc_max_negative_current = -2
odrv.axis0.config.motor.motor_type = MotorType.PMSM_CURRENT_CONTROL
odrv.axis0.config.motor.pole_pairs = 1
odrv.axis0.config.motor.torque_constant = 0.006834710743801652
odrv.axis0.config.motor.current_soft_max = 18
odrv.axis0.config.motor.current_hard_max = 20
odrv.axis0.config.motor.calibration_current = 7
odrv.axis0.config.motor.resistance_calib_max_voltage = 5
odrv.axis0.config.calibration_lockin.current = 10.5
odrv.axis0.motor.motor_thermistor.config.enabled = False
odrv.axis0.controller.config.control_mode = ControlMode.VELOCITY_CONTROL
odrv.axis0.controller.config.input_mode = InputMode.PASSTHROUGH
odrv.axis0.controller.config.vel_limit = 10
odrv.axis0.controller.config.vel_limit_tolerance = 1.2
odrv.axis0.config.torque_soft_min = -math.inf
odrv.axis0.config.torque_soft_max = math.inf
odrv.can.config.protocol = Protocol.SIMPLE
odrv.can.config.baud_rate = 0
odrv.axis0.config.can.node_id = 63
odrv.axis0.config.can.heartbeat_msg_rate_ms = 100
odrv.axis0.config.can.encoder_msg_rate_ms = 10
odrv.axis0.config.can.iq_msg_rate_ms = 0
odrv.axis0.config.can.torques_msg_rate_ms = 0
odrv.axis0.config.can.error_msg_rate_ms = 0
odrv.axis0.config.can.temperature_msg_rate_ms = 1000
odrv.axis0.config.can.bus_voltage_msg_rate_ms = 1000
odrv.axis0.config.enable_watchdog = False
odrv.axis0.config.encoder_bandwidth = 100
odrv.hall_encoder0.config.enabled = True
odrv.axis0.config.load_encoder = EncoderId.HALL_ENCODER0
odrv.axis0.config.commutation_encoder = EncoderId.HALL_ENCODER0

I double checked my connections to the ODrive and they seem good. Battery voltage is hanging around 12V.

My feeling is that I am messing up something in the configuration process or the motor I chose just wont play nice for some reason beyond my knowledge.

Hope to hear back soon,

Emi