tmc: Save and restore thigh during sensorless homing

Make sure thigh is set to zero during sensorless homing, as it would
not make sense for it to be enabled.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2024-05-14 21:27:01 -04:00
parent faee2c0e52
commit 2efde0111e
2 changed files with 23 additions and 17 deletions

View File

@@ -3327,11 +3327,8 @@ run_current:
#high_velocity_threshold:
# The velocity (in mm/s) to set the TMC driver internal "high
# velocity" threshold (THIGH) to. This is typically used to disable
# the "CoolStep" feature at high speeds. Important - if
# high_velocity_threshold is set and "sensorless homing" is used,
# then one must ensure that the homing speed is below the high
# velocity threshold! The default is to not set a TMC "high
# velocity" threshold.
# the "CoolStep" feature at high speeds. The default is to not set a
# TMC "high velocity" threshold.
#driver_MSLUT0: 2863314260
#driver_MSLUT1: 1251300522
#driver_MSLUT2: 608774441
@@ -3646,11 +3643,8 @@ run_current:
#high_velocity_threshold:
# The velocity (in mm/s) to set the TMC driver internal "high
# velocity" threshold (THIGH) to. This is typically used to disable
# the "CoolStep" feature at high speeds. Important - if
# high_velocity_threshold is set and "sensorless homing" is used,
# then one must ensure that the homing speed is below the high
# velocity threshold! The default is to not set a TMC "high
# velocity" threshold.
# the "CoolStep" feature at high speeds. The default is to not set a
# TMC "high velocity" threshold.
#driver_MSLUT0: 2863314260
#driver_MSLUT1: 1251300522
#driver_MSLUT2: 608774441
@@ -3782,11 +3776,8 @@ run_current:
#high_velocity_threshold:
# The velocity (in mm/s) to set the TMC driver internal "high
# velocity" threshold (THIGH) to. This is typically used to disable
# the "CoolStep" feature at high speeds. Important - if
# high_velocity_threshold is set and "sensorless homing" is used,
# then one must ensure that the homing speed is below the high
# velocity threshold! The default is to not set a TMC "high
# velocity" threshold.
# the "CoolStep" feature at high speeds. The default is to not set a
# TMC "high velocity" threshold.
#driver_MSLUT0: 2863314260
#driver_MSLUT1: 1251300522
#driver_MSLUT2: 608774441