TMC2209 uart direction

Hello, I am using the TMC2209 in UART mode (Only serial, no step/dir/en pins) to drive a stepper motor.
i am trying to use the following library (https://github.com/janelia-arduino/TMC2209) to move the stepper right or left until it stals.

I have two questions :

  1. there is commande to inverse the dir stepper_driver.enableInverseMotorDirection()) but is there a way to know the direction (like the dirPin : 0 for one direction and 1 for the other)

  2. can we use the dirPin/stepPin at the same time as the UART mode.

Thank you

  1. See the Settings.inverse_motor_direction_enabled.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.