From 61bcb6b47f79e518e8609da5d09001f5fc0ff938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Wei=C3=9F?= Date: Wed, 18 Dec 2019 21:54:56 +0100 Subject: [PATCH] config: Update generic-fysetc-s6.cfg (#2293) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SPI communication with TMC drivers is possible with hardware SPI using the "spi1" bus. Signed-off-by: Tobias Weiß --- config/generic-fysetc-s6.cfg | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/config/generic-fysetc-s6.cfg b/config/generic-fysetc-s6.cfg index 6483d425..9a2fc26b 100644 --- a/config/generic-fysetc-s6.cfg +++ b/config/generic-fysetc-s6.cfg @@ -170,9 +170,7 @@ max_z_accel: 100 # MOSI PA7 #[tmc2130 stepper_x] -#spi_software_sclk_pin: PA5 -#spi_software_mosi_pin: PA7 -#spi_software_miso_pin: PA6 +#spi_bus: spi1 #cs_pin: PE7 #diag1_pin: PB14 #microsteps: 16 @@ -181,9 +179,7 @@ max_z_accel: 100 #stealthchop_threshold: 250 #[tmc2130 stepper_y] -#spi_software_sclk_pin: PA5 -#spi_software_mosi_pin: PA7 -#spi_software_miso_pin: PA6 +#spi_bus: spi1 #cs_pin: PE15 #diag1_pin: PB13 #microsteps: 16 @@ -192,9 +188,7 @@ max_z_accel: 100 #stealthchop_threshold: 250 #[tmc2130 stepper_z] -#spi_software_sclk_pin: PA5 -#spi_software_mosi_pin: PA7 -#spi_software_miso_pin: PA6 +#spi_bus: spi1 #cs_pin: PD10 #diag1_pin: PA0 #microsteps: 16 @@ -203,9 +197,7 @@ max_z_accel: 100 #stealthchop_threshold: 250 #[tmc2130 extruder] -#spi_software_sclk_pin: PA5 -#spi_software_mosi_pin: PA7 -#spi_software_miso_pin: PA6 +#spi_bus: spi1 #cs_pin: PD7 #diag1_pin: PA3 #microsteps: 16 @@ -214,9 +206,7 @@ max_z_accel: 100 #stealthchop_threshold: 250 #[tmc2130 extruder1] -#spi_software_sclk_pin: PA5 -#spi_software_mosi_pin: PA7 -#spi_software_miso_pin: PA6 +#spi_bus: spi1 #cs_pin: PC14 #diag1_pin: PA2 #microsteps: 16 @@ -225,9 +215,7 @@ max_z_accel: 100 #stealthchop_threshold: 250 #[tmc2130 extruder2] -#spi_software_sclk_pin: PA5 -#spi_software_mosi_pin: PA7 -#spi_software_miso_pin: PA6 +#spi_bus: spi1 #cs_pin: PC15 #diag1_pin: PA1 #microsteps: 16