-
-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for TMC5160 on Z Axis (#469)
- Loading branch information
1 parent
45a447d
commit e350d0c
Showing
4 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Z TMC5160 definition | ||
|
||
# User variable only needed here as they are called recursively | ||
[gcode_macro _USER_VARIABLES] | ||
variable_z_driver: "tmc5160" | ||
gcode: | ||
|
||
|
||
[tmc5160 stepper_z] | ||
cs_pin: Z_TMCUART | ||
spi_speed: 500000 | ||
spi_software_sclk_pin: DRIVER_SPI_SCK | ||
spi_software_mosi_pin: DRIVER_SPI_MOSI | ||
spi_software_miso_pin: DRIVER_SPI_MISO | ||
interpolate: True | ||
run_current: 0.8 | ||
sense_resistor: 0.110 | ||
stealthchop_threshold: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[include TMC5160_1-Motor.cfg] | ||
|
||
[tmc5160 stepper_z1] | ||
cs_pin: Z1_TMCUART | ||
spi_speed: 500000 | ||
spi_software_sclk_pin: DRIVER_SPI_SCK | ||
spi_software_mosi_pin: DRIVER_SPI_MOSI | ||
spi_software_miso_pin: DRIVER_SPI_MISO | ||
interpolate: True | ||
run_current: 0.8 | ||
sense_resistor: 0.110 | ||
stealthchop_threshold: 0 | ||
|
||
[tmc5160 stepper_z2] | ||
cs_pin: Z2_TMCUART | ||
spi_speed: 500000 | ||
spi_software_sclk_pin: DRIVER_SPI_SCK | ||
spi_software_mosi_pin: DRIVER_SPI_MOSI | ||
spi_software_miso_pin: DRIVER_SPI_MISO | ||
interpolate: True | ||
run_current: 0.8 | ||
sense_resistor: 0.110 | ||
stealthchop_threshold: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[include TMC5160_3-Motors.cfg] | ||
|
||
[tmc5160 stepper_z3] | ||
cs_pin: Z3_TMCUART | ||
spi_speed: 500000 | ||
spi_software_sclk_pin: DRIVER_SPI_SCK | ||
spi_software_mosi_pin: DRIVER_SPI_MOSI | ||
spi_software_miso_pin: DRIVER_SPI_MISO | ||
interpolate: True | ||
run_current: 0.8 | ||
sense_resistor: 0.110 | ||
stealthchop_threshold: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters