tmc2130: Configure stealthchop velocity limit

Change stealhchop config option to a stealthchop_threshold
configuration option.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2018-05-22 21:40:32 -04:00
parent 739d37feac
commit 3799f40f29
2 changed files with 27 additions and 9 deletions

View file

@ -424,9 +424,11 @@
# default is to not scale the 'channel_x' parameters.
# Configure a TMC2130 stepper motor driver (one may define any number
# of sections with a "tmc2130" prefix).
#[tmc2130 my_name]
# Configure a TMC2130 stepper motor driver via SPI bus. To use this
# feature, define a config section with a "tmc2130" prefix followed by
# the name of the corresponding stepper config section (for example,
# "[tmc2130 stepper_x]").
#[tmc2130 stepper_x]
#cs_pin:
# The pin corresponding to the TMC2130 chip select line. This pin
# will be set to low at the start of SPI messages and raised to high
@ -448,8 +450,11 @@
#sense_resistor: 0.110
# The resistance (in ohms) of the motor sense resistor. The default
# is 0.110 ohms.
#stealthchop: False
# Enable "stealthChop" mode. The default is False.
#stealthchop_threshold: 0
# The velocity (in mm/s) to set the "stealthChop" threshold to. When
# set, "stealthChop" mode will be enabled if the stepper motor
# velocity is below this value. The default is 0, which disables
# "stealthChop" mode.
#driver_IHOLDDELAY: 8
#driver_TPOWERDOWN: 0
#driver_BLANK_TIME_SELECT: 1