tmc2660: Do not enable SFILT by default
None of the other TMC driver enable SFILT by default and it seems enabling SFILT may not be ideal for sensorless homing. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
3f07b16b35
commit
3ea2e4fc58
|
@ -6,6 +6,9 @@ All dates in this document are approximate.
|
||||||
|
|
||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
|
20210310: The TMC2660 default for driver_SFILT has been changed from 1
|
||||||
|
to 0.
|
||||||
|
|
||||||
20210227: TMC stepper motor drivers in UART or SPI mode are now
|
20210227: TMC stepper motor drivers in UART or SPI mode are now
|
||||||
queried once per second whenever they are enabled - if the driver can
|
queried once per second whenever they are enabled - if the driver can
|
||||||
not be contacted or if the driver reports an error, then Klipper will
|
not be contacted or if the driver reports an error, then Klipper will
|
||||||
|
|
|
@ -2817,7 +2817,7 @@ run_current:
|
||||||
#driver_SEMAX: 0
|
#driver_SEMAX: 0
|
||||||
#driver_SEUP: 0
|
#driver_SEUP: 0
|
||||||
#driver_SEMIN: 0
|
#driver_SEMIN: 0
|
||||||
#driver_SFILT: 1
|
#driver_SFILT: 0
|
||||||
#driver_SGT: 0
|
#driver_SGT: 0
|
||||||
#driver_SLPH: 0
|
#driver_SLPH: 0
|
||||||
#driver_SLPL: 0
|
#driver_SLPL: 0
|
||||||
|
|
|
@ -100,7 +100,6 @@ FieldFormatters = dict(tmc2130.FieldFormatters)
|
||||||
FieldFormatters.update({
|
FieldFormatters.update({
|
||||||
"DEDGE": (lambda v: "1(Both Edges Active!)" if v else ""),
|
"DEDGE": (lambda v: "1(Both Edges Active!)" if v else ""),
|
||||||
"CHM": (lambda v: "1(constant toff)" if v else "0(spreadCycle)"),
|
"CHM": (lambda v: "1(constant toff)" if v else "0(spreadCycle)"),
|
||||||
"SFILT": (lambda v: "1(Filtered mode)" if v else "0(Standard mode)"),
|
|
||||||
"VSENSE": (lambda v: "%d(%dmV)" % (v, 165 if v else 305)),
|
"VSENSE": (lambda v: "%d(%dmV)" % (v, 165 if v else 305)),
|
||||||
"SDOFF": (lambda v: "1(Step/Dir disabled!)" if v else ""),
|
"SDOFF": (lambda v: "1(Step/Dir disabled!)" if v else ""),
|
||||||
"DISS2G": (lambda v: "%d(Short to GND disabled!)" if v else ""),
|
"DISS2G": (lambda v: "%d(Short to GND disabled!)" if v else ""),
|
||||||
|
@ -256,7 +255,7 @@ class TMC2660:
|
||||||
set_config_field(config, "SEMIN", 0)
|
set_config_field(config, "SEMIN", 0)
|
||||||
|
|
||||||
# SGSCONF
|
# SGSCONF
|
||||||
set_config_field(config, "SFILT", 1)
|
set_config_field(config, "SFILT", 0)
|
||||||
set_config_field(config, "SGT", 0)
|
set_config_field(config, "SGT", 0)
|
||||||
|
|
||||||
# DRVCONF
|
# DRVCONF
|
||||||
|
|
Loading…
Reference in New Issue