mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-04 12:34:08 -06:00
tmc: add missing freewheel config options
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
This commit is contained in:
parent
a9b04e8536
commit
b9757c9b69
4 changed files with 6 additions and 0 deletions
|
@ -3533,6 +3533,7 @@ run_current:
|
|||
#driver_PWM_FREQ: 1
|
||||
#driver_PWM_GRAD: 4
|
||||
#driver_PWM_AMPL: 128
|
||||
#driver_FREEWHEEL: 0
|
||||
#driver_SGT: 0
|
||||
#driver_SEMIN: 0
|
||||
#driver_SEUP: 0
|
||||
|
@ -3613,6 +3614,7 @@ run_current:
|
|||
#driver_PWM_FREQ: 1
|
||||
#driver_PWM_GRAD: 14
|
||||
#driver_PWM_OFS: 36
|
||||
#driver_FREEWHEEL: 0
|
||||
# Set the given register during the configuration of the TMC2208
|
||||
# chip. This may be used to set custom motor parameters. The
|
||||
# defaults for each parameter are next to the parameter name in the
|
||||
|
@ -3662,6 +3664,7 @@ run_current:
|
|||
#driver_PWM_FREQ: 1
|
||||
#driver_PWM_GRAD: 14
|
||||
#driver_PWM_OFS: 36
|
||||
#driver_FREEWHEEL: 0
|
||||
#driver_SGTHRS: 0
|
||||
#driver_SEMIN: 0
|
||||
#driver_SEUP: 0
|
||||
|
|
|
@ -323,6 +323,7 @@ class TMC2130:
|
|||
set_config_field(config, "pwm_grad", 4)
|
||||
set_config_field(config, "pwm_freq", 1)
|
||||
set_config_field(config, "pwm_autoscale", True)
|
||||
set_config_field(config, "freewheel", 0)
|
||||
# TPOWERDOWN
|
||||
set_config_field(config, "tpowerdown", 0)
|
||||
|
||||
|
|
|
@ -215,6 +215,7 @@ class TMC2208:
|
|||
set_config_field(config, "pwm_freq", 1)
|
||||
set_config_field(config, "pwm_autoscale", True)
|
||||
set_config_field(config, "pwm_autograd", True)
|
||||
set_config_field(config, "freewheel", 0)
|
||||
set_config_field(config, "pwm_reg", 8)
|
||||
set_config_field(config, "pwm_lim", 12)
|
||||
# TPOWERDOWN
|
||||
|
|
|
@ -98,6 +98,7 @@ class TMC2209:
|
|||
set_config_field(config, "pwm_freq", 1)
|
||||
set_config_field(config, "pwm_autoscale", True)
|
||||
set_config_field(config, "pwm_autograd", True)
|
||||
set_config_field(config, "freewheel", 0)
|
||||
set_config_field(config, "pwm_reg", 8)
|
||||
set_config_field(config, "pwm_lim", 12)
|
||||
# TPOWERDOWN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue