Closed FlowBo closed 6 years ago
Try using some simple example from the AccelStepper library and add the TMC2130 configuration parameters into that. As long as the driver has been configured and gets step pulses and enable is low the motor should move.
Hej i figured it out. Kinda my mistake. I forgot to set the micro stepping parameter. So it operated correctly but it had no information about stepping. Isn't it possible to have a default setting to prevent this from happening?
The default is 0, which means 256 microsteps.
@FlowBo I understand you got Accelstepper to work with 2130? Would you share some code, i am about to try it... Did you got it working in SPI mode and with multiple steppers?
Thanks Daniel
I'm trying to run a Stepper with TMC2130 in combination with the AccelStepper Library. The Stepper is making the correct sound (i can hear the acceleration and velocity etc) but the shaft is not turning. If I step it manually with digitalWrite() HIGH - LOW it is moving.