tmc2660: Use helper functions for register access and simplify TMC2660 parameters
sense_resistor is now a mandatory parameter for tmc2660 blocks. Duet2 users should use a value of 0.051 Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
This commit is contained in:
committed by
KevinOConnor
parent
4541f16cd9
commit
e96b71a9a3
@@ -98,6 +98,7 @@ spi_bus: 1 # All TMC2660 drivers are connected to USART1, which is bus 1 on the
|
||||
microsteps: 16
|
||||
interpolate: True # 1/16 micro-steps interpolated to 1/256
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
idle_current_percent: 20
|
||||
|
||||
[stepper_y]
|
||||
@@ -115,6 +116,7 @@ spi_bus: 1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
idle_current_percent: 20
|
||||
|
||||
[stepper_z]
|
||||
@@ -132,6 +134,7 @@ spi_bus: 1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
|
||||
#On drive E4
|
||||
[stepper_z1]
|
||||
@@ -146,6 +149,7 @@ spi_bus: 1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
|
||||
#On drive E5
|
||||
[stepper_z2]
|
||||
@@ -160,6 +164,7 @@ spi_bus: 1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
|
||||
#On drive E6
|
||||
[stepper_z3]
|
||||
@@ -174,6 +179,7 @@ spi_bus: 1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
|
||||
#On drive E0
|
||||
[extruder0]
|
||||
@@ -199,6 +205,7 @@ spi_bus: 1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
|
||||
#On drive E1
|
||||
[extruder1]
|
||||
@@ -224,6 +231,7 @@ spi_bus: 1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
|
||||
# On drive E2
|
||||
[extruder2]
|
||||
@@ -249,6 +257,7 @@ spi_bus: 1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
|
||||
# On drive E3
|
||||
[extruder3]
|
||||
@@ -274,6 +283,7 @@ spi_bus: 1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
|
||||
[heater_bed]
|
||||
heater_pin: !PA19
|
||||
|
||||
Reference in New Issue
Block a user