When the motor is running some edgeds of signals are no longer aligned properly. And then, removing a resistor fixes that? For me, this sounds like AC-Noise that in the end was a software issue. But i know, i was wrong back then.
Did you made measurements with a scope yet? The shift of the...