STSPIN220 tiny stepper motor 1/256 steps don't work but perfectly find on nema17
So I have some tiny stepper motors I've been working with. Very small 8mm tall x 7mm diameter and coil resistance is 40 ohm. We're designing some tiny digitally controlled dial gages around these and wanted to direct drive the needles instead of tiny gear trains. Tested with common stepper driver (non-st part) in 1/32 and was fine - too high current, too high voltage, but worked fine. I figured the STSPIN220 with it's 1/256 microsteps would provide the boost in accuracy and be designed for low voltage battery operation. However in 1/256 mode or any of the higher res (1/128 or 1/64th) it's operation is smooth then jumps, smooth then jumps. It's like it's cogging. So after hours I pulled out a NEMA17... and immediately perfect in 1/256. So I probe the coil and the voltage looks pwm'd sine-wave with the nema 17 but on the tiny motor it's sine-wave like for maybe 1/10th the time and full on. Is there some way to get the STSPIN220 to work with these small motors? Or is this something this driver isn't capable of? Attached waveform
Tiny stepper waveform
Nema 17 Waveform. (acceleration using accelstepper library finishing at the beginning, so you can see it stretched out)
