2019-06-06 00:33:15 +03:00
|
|
|
# Test config for tmc drivers
|
|
|
|
|
|
|
|
[stepper_x]
|
|
|
|
step_pin: PC0
|
|
|
|
dir_pin: PL0
|
|
|
|
enable_pin: !PA7
|
|
|
|
step_distance: .005
|
|
|
|
endstop_pin: tmc2130_stepper_x:virtual_endstop
|
|
|
|
position_endstop: 0
|
|
|
|
position_max: 250
|
|
|
|
|
|
|
|
[tmc2130 stepper_x]
|
|
|
|
cs_pin: PG0
|
|
|
|
microsteps: 16
|
|
|
|
run_current: .5
|
|
|
|
sense_resistor: 0.220
|
|
|
|
diag1_pin: !PK2
|
|
|
|
|
|
|
|
[stepper_x1]
|
|
|
|
step_pin: PC3
|
|
|
|
dir_pin: PL6
|
|
|
|
step_distance: .005
|
|
|
|
endstop_pin: ^PB6
|
|
|
|
|
|
|
|
[tmc2130 stepper_x1]
|
|
|
|
cs_pin: PG1
|
|
|
|
microsteps: 16
|
|
|
|
run_current: .5
|
|
|
|
sense_resistor: 0.220
|
|
|
|
diag1_pin: !PK2
|
|
|
|
|
|
|
|
[stepper_y]
|
|
|
|
step_pin: PC1
|
|
|
|
dir_pin: !PL1
|
|
|
|
step_distance: .005
|
|
|
|
endstop_pin: tmc5160_stepper_y:virtual_endstop
|
|
|
|
position_endstop: 0
|
|
|
|
position_max: 210
|
|
|
|
|
|
|
|
[tmc5160 stepper_y]
|
|
|
|
cs_pin: PG2
|
|
|
|
microsteps: 16
|
|
|
|
run_current: .5
|
|
|
|
sense_resistor: 0.220
|
|
|
|
diag1_pin: !PK7
|
|
|
|
|
2019-06-18 22:43:18 +03:00
|
|
|
[stepper_y1]
|
|
|
|
step_pin: PA4
|
|
|
|
dir_pin: PA6
|
|
|
|
step_distance: .005
|
|
|
|
|
|
|
|
[tmc2209 stepper_y1]
|
|
|
|
uart_pin: PA5
|
|
|
|
microsteps: 16
|
|
|
|
run_current: .5
|
|
|
|
sense_resistor: 0.075
|
|
|
|
|
2019-06-06 00:33:15 +03:00
|
|
|
[stepper_z]
|
|
|
|
step_pin: PC2
|
|
|
|
dir_pin: PL2
|
|
|
|
step_distance: .0025
|
|
|
|
endstop_pin: ^PB4
|
|
|
|
position_endstop: 0.5
|
|
|
|
position_max: 200
|
|
|
|
|
|
|
|
[tmc2208 stepper_z]
|
|
|
|
uart_pin: PK5
|
|
|
|
microsteps: 16
|
|
|
|
run_current: .5
|
|
|
|
sense_resistor: 0.220
|
|
|
|
|
|
|
|
[stepper_z1]
|
|
|
|
step_pin: PB5
|
|
|
|
dir_pin: PK6
|
|
|
|
enable_pin: !PH5
|
|
|
|
step_distance: .0025
|
|
|
|
endstop_pin: ^PH3
|
|
|
|
|
|
|
|
[tmc2660 stepper_z1]
|
|
|
|
cs_pin: PK1
|
|
|
|
microsteps: 16
|
|
|
|
run_current: .5
|
|
|
|
sense_resistor: 0.220
|
|
|
|
|
|
|
|
[mcu]
|
|
|
|
serial: /dev/ttyACM0
|
|
|
|
|
|
|
|
[printer]
|
|
|
|
kinematics: cartesian
|
|
|
|
max_velocity: 300
|
|
|
|
max_accel: 3000
|
|
|
|
max_z_velocity: 5
|
|
|
|
max_z_accel: 100
|
2019-06-18 22:43:18 +03:00
|
|
|
|
|
|
|
[endstop_phase]
|