TMCStepper
TMCStepper copied to clipboard
shaft() does not always work?
Iw been testing using UART to replace the DIR pin, but I have noticed this issue that the shaft()
does not always seem to trigger.
Im keeping track of the IFCNT()
, and it registers an UART command but the shaft()
does not change.
Any ideas about this?
Did you find the solution, I am having same problem, shaft is not changing direction.
Depending on which driver you are using, you can use the TMC2208/TMC2209 internal pulse generator and change the VACTUAL value from positive to negative to change direction. I think you should only set up the shaft direction once during setup
You can’t replace the DIR
input. Your shaft
register is working normally. The problem is that your DIR
(direction) pin is floating.