tmc2209: Initial support for tmc2209 stepper driver

Signed-off-by: Stephan Oelze <stephan.oelze@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Stephan Oelze 2019-06-18 19:43:18 +00:00 committed by Kevin O'Connor
parent c3467f5b35
commit ec9fad758a
3 changed files with 113 additions and 3 deletions

View file

@ -19,7 +19,6 @@ diag1_pin: !PK2
[stepper_x1]
step_pin: PC3
dir_pin: PL6
enable_pin: !PA4
step_distance: .005
endstop_pin: ^PB6
@ -33,7 +32,6 @@ diag1_pin: !PK2
[stepper_y]
step_pin: PC1
dir_pin: !PL1
enable_pin: !PA6
step_distance: .005
endstop_pin: tmc5160_stepper_y:virtual_endstop
position_endstop: 0
@ -46,10 +44,20 @@ run_current: .5
sense_resistor: 0.220
diag1_pin: !PK7
[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
[stepper_z]
step_pin: PC2
dir_pin: PL2
enable_pin: !PA5
step_distance: .0025
endstop_pin: ^PB4
position_endstop: 0.5
@ -83,3 +91,5 @@ max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100
[endstop_phase]