tmc2130: Initial support for sensorless homing

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2018-05-22 23:39:06 -04:00
parent 26246b1f28
commit 1e6fa5722a
3 changed files with 80 additions and 5 deletions

View File

@@ -461,10 +461,18 @@
#driver_TOFF: 4
#driver_HEND: 7
#driver_HSTRT: 0
#driver_SGT: 0
# Set the given register during the configuration of the TMC2130
# chip. This may be used to set custom motor parameters. The
# defaults for each parameter are next to the parameter name in the
# above list.
#diag1_pin:
# The micro-controller pin attached to the DIAG1 line of the TMC2130
# chip. Setting this creates a "tmc2130_stepper_x:virtual_endstop"
# virtual pin which may be used as the stepper's endstop_pin. Doing
# this enables "sensorless homing". (Be sure to also set driver_SGT
# to an appropriate sensitivity value.) The default is to not enable
# sensorless homing.
# Homing override. One may use this mechanism to run a series of