Noise or improper grounding. Make sure all of the logic grounds are grounded on J3. You may have trouble with communication anyway if you’re powering everything off the same battery…
thanks for the reply.
the arduino and odrive have a common ground.
the arduino is powered from a seperate sorce to the odrive. (separate battery or pc)
i cant do much more about noise unless your recommending a shielded cable for the ~100mm between boards?
how reliable is the step/dir input method?
does anyone have code i can work off of that’s more feature complete than the example code?
replaced the serial line with shielded cable and grounded the heat-sink. seems to have solved the issue.
thanks for pointing it out, wouldn’t have thought it would be that noisy at such low speeds/power on such a short cable.
its all happy running from a common battery now too.