mirror of https://github.com/Desuuuu/klipper.git
config: Update tmc5160 block in example-extras.cfg
List all the configurable parameters in the tmc5160 example block and use similar wording as the other tmc drivers. Also, don't allow DEDGE to be configured as it would just break the current code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
494a5b732d
commit
20d0bb8354
|
@ -1125,12 +1125,6 @@
|
|||
# feature, define a config section with a "tmc5160" prefix followed by
|
||||
# the name of the corresponding stepper config section (for example,
|
||||
# "[tmc5160 stepper_x]").
|
||||
# This block is an example with values that may be intersting.
|
||||
# If you want to turn further, see trinamics documentation.
|
||||
# Following registers are implemented with theyre fields:
|
||||
# COOLCONF, CHOPCONF, DRV_STATUS, FACTORY_CONF, GCONF, GSTAT, IHOLD_IRUN, IOIN
|
||||
# LOST_STEPS, MSCNT, MSCURACT, OTP_READ, PWM_AUTO, PWMCONF, PWM_SCALE, TPOWERDOWN,
|
||||
# TPWMTHRS, TSTEP
|
||||
#[tmc5160 stepper_x]
|
||||
#cs_pin:
|
||||
# The pin corresponding to the TMC5160 chip select line. This pin
|
||||
|
@ -1169,18 +1163,31 @@
|
|||
#driver_IHOLDDELAY: 6
|
||||
#driver_TPOWERDOWN: 10
|
||||
#driver_TBL: 2
|
||||
#driver_TOFF: 0
|
||||
#driver_TOFF: 3
|
||||
#driver_HEND: 2
|
||||
#driver_HSTRT: 5
|
||||
#driver_tpfd: 4
|
||||
#driver_pwm_autoscale: True
|
||||
#driver_pwm_autograd: True
|
||||
#driver_pwm_freq: 1
|
||||
#driver_FD3: 0
|
||||
#driver_TPFD: 4
|
||||
#driver_CHM: 0
|
||||
#driver_VHIGHFS: 0
|
||||
#driver_VHIGHCHM: 0
|
||||
#driver_DISS2G: 0
|
||||
#driver_DISS2VS: 0
|
||||
#driver_PWM_AUTOSCALE: True
|
||||
#driver_PWM_AUTOGRAD: True
|
||||
#driver_PWM_FREQ: 1
|
||||
#driver_FREEWHEEL: 0
|
||||
#driver_PWM_GRAD: 0
|
||||
#driver_PWM_OFS: 30
|
||||
#driver_PWM_REG: 4
|
||||
#driver_PWM_LIM: 12
|
||||
#driver_SGT: 0
|
||||
#driver_SEMIN: 0
|
||||
#driver_SEUP: 0
|
||||
#driver_SEMAX: 0
|
||||
#driver_SEDN: 0
|
||||
#driver_SEIMIN: 0
|
||||
#driver_SFILT: 0
|
||||
# Set the given register during the configuration of the TMC5160
|
||||
# chip. This may be used to set custom motor parameters. The
|
||||
# defaults for each parameter are next to the parameter name in the
|
||||
|
@ -1193,12 +1200,6 @@
|
|||
# to an appropriate sensitivity value.) The default is to not enable
|
||||
# sensorless homing. See docs/Sensorless_Homing.md for details on how
|
||||
# to configure this.
|
||||
#driver_semin: 0
|
||||
#driver_seup: 0
|
||||
#driver_semax: 0
|
||||
#driver_sedn: 0
|
||||
#driver_seimin: 0
|
||||
#driver_sfilt: 0
|
||||
|
||||
# Homing override. One may use this mechanism to run a series of
|
||||
# g-code commands in place of a G28 found in the normal g-code input.
|
||||
|
|
|
@ -315,7 +315,6 @@ class TMC5160:
|
|||
set_config_field(config, "vhighchm", 0)
|
||||
set_config_field(config, "tpfd", 4)
|
||||
set_config_field(config, "intpol", True, "interpolate")
|
||||
set_config_field(config, "dedge", 0)
|
||||
set_config_field(config, "diss2g", 0)
|
||||
set_config_field(config, "diss2vs", 0)
|
||||
# COOLCONF
|
||||
|
|
Loading…
Reference in New Issue