From 694d2ebec0ced38a0b8771cd5bb69d0139ab48ad Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 8 Feb 2018 18:49:05 -0600 Subject: [PATCH] TMC SW SPI pins in Configuration_adv.h Counterpart to #9632 --- Marlin/Configuration_adv.h | 9 +++++++-- Marlin/src/config/default/Configuration_adv.h | 9 +++++++-- .../examples/AlephObjects/TAZ4/Configuration_adv.h | 9 +++++++-- .../src/config/examples/Anet/A6/Configuration_adv.h | 9 +++++++-- .../src/config/examples/Anet/A8/Configuration_adv.h | 9 +++++++-- .../config/examples/Azteeg/X5GT/Configuration_adv.h | 9 +++++++-- .../examples/BQ/Hephestos/Configuration_adv.h | 9 +++++++-- .../examples/BQ/Hephestos_2/Configuration_adv.h | 9 +++++++-- .../config/examples/BQ/WITBOX/Configuration_adv.h | 9 +++++++-- .../config/examples/Cartesio/Configuration_adv.h | 9 +++++++-- .../examples/Creality/CR-10/Configuration_adv.h | 9 +++++++-- .../examples/Creality/CR-10S/Configuration_adv.h | 13 ++++++++++++- .../examples/Creality/Ender/Configuration_adv.h | 13 ++++++++++++- .../src/config/examples/Felix/Configuration_adv.h | 9 +++++++-- .../examples/FolgerTech/i3-2020/Configuration_adv.h | 9 +++++++-- .../examples/Infitary/i3-M508/Configuration_adv.h | 9 +++++++-- .../config/examples/JGAurora/A5/Configuration_adv.h | 13 ++++++++++++- .../config/examples/MakerParts/Configuration_adv.h | 9 +++++++-- .../config/examples/Malyan/M150/Configuration_adv.h | 9 +++++++-- .../config/examples/Malyan/M200/Configuration_adv.h | 9 +++++++-- .../Micromake/C1/enhanced/Configuration_adv.h | 9 +++++++-- .../config/examples/Mks/Sbase/Configuration_adv.h | 9 +++++++-- .../config/examples/RigidBot/Configuration_adv.h | 9 +++++++-- .../src/config/examples/SCARA/Configuration_adv.h | 9 +++++++-- .../examples/Sanguinololu/Configuration_adv.h | 9 +++++++-- .../src/config/examples/TheBorg/Configuration_adv.h | 13 ++++++++++++- .../config/examples/TinyBoy2/Configuration_adv.h | 9 +++++++-- .../UltiMachine/Archim2/Configuration_adv.h | 9 +++++++-- .../examples/Velleman/K8200/Configuration_adv.h | 9 +++++++-- .../examples/Velleman/K8400/Configuration_adv.h | 9 +++++++-- .../Wanhao/Duplicator 6/Configuration_adv.h | 9 +++++++-- .../delta/FLSUN/auto_calibrate/Configuration_adv.h | 9 +++++++-- .../examples/delta/FLSUN/kossel/Configuration_adv.h | 13 ++++++++++++- .../delta/FLSUN/kossel_mini/Configuration_adv.h | 9 +++++++-- .../examples/delta/generic/Configuration_adv.h | 9 +++++++-- .../examples/delta/kossel_mini/Configuration_adv.h | 9 +++++++-- .../examples/delta/kossel_pro/Configuration_adv.h | 9 +++++++-- .../examples/delta/kossel_xl/Configuration_adv.h | 9 +++++++-- .../examples/gCreate/gMax1.5+/Configuration_adv.h | 9 +++++++-- .../src/config/examples/makibox/Configuration_adv.h | 9 +++++++-- .../examples/tvrrug/Round2/Configuration_adv.h | 9 +++++++-- .../src/config/examples/wt150/Configuration_adv.h | 9 +++++++-- 42 files changed, 319 insertions(+), 79 deletions(-) diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index fab4236ba6..03690b51b5 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/default/Configuration_adv.h b/Marlin/src/config/default/Configuration_adv.h index fab4236ba6..03690b51b5 100644 --- a/Marlin/src/config/default/Configuration_adv.h +++ b/Marlin/src/config/default/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h b/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h index cdd488d801..c68f25311f 100644 --- a/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h +++ b/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/Anet/A6/Configuration_adv.h b/Marlin/src/config/examples/Anet/A6/Configuration_adv.h index e6af12e38d..7d77a5109c 100644 --- a/Marlin/src/config/examples/Anet/A6/Configuration_adv.h +++ b/Marlin/src/config/examples/Anet/A6/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/Anet/A8/Configuration_adv.h b/Marlin/src/config/examples/Anet/A8/Configuration_adv.h index 6aed5686dc..fe3111f1f6 100644 --- a/Marlin/src/config/examples/Anet/A8/Configuration_adv.h +++ b/Marlin/src/config/examples/Anet/A8/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h b/Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h index 0ff3026413..f79a4246c2 100644 --- a/Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h +++ b/Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h @@ -1000,9 +1000,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1088,9 +1089,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h b/Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h index 2fabd2df7a..043ac8bd31 100644 --- a/Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h +++ b/Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h b/Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h index d4ff484ab9..4d9c7f702c 100644 --- a/Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h +++ b/Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h b/Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h index 2fabd2df7a..043ac8bd31 100644 --- a/Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h +++ b/Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/Cartesio/Configuration_adv.h b/Marlin/src/config/examples/Cartesio/Configuration_adv.h index 1cf9bb4a86..4e82c79936 100644 --- a/Marlin/src/config/examples/Cartesio/Configuration_adv.h +++ b/Marlin/src/config/examples/Cartesio/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h b/Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h index 7ae777b3a6..7048b4a3e0 100755 --- a/Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h +++ b/Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h b/Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h index 6a6ed75b94..dd3e4afd49 100644 --- a/Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h +++ b/Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1085,6 +1086,16 @@ #define E4_CURRENT 800 #define E4_MICROSTEPS 16 + /** + * Use software SPI for TMC2130. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. + */ + //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 + /** * Use Trinamic's ultra quiet stepping mode. * When disabled, Marlin will use spreadCycle stepping mode. diff --git a/Marlin/src/config/examples/Creality/Ender/Configuration_adv.h b/Marlin/src/config/examples/Creality/Ender/Configuration_adv.h index 8672c4aa7d..d8b6f231ab 100644 --- a/Marlin/src/config/examples/Creality/Ender/Configuration_adv.h +++ b/Marlin/src/config/examples/Creality/Ender/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1085,6 +1086,16 @@ #define E4_CURRENT 800 #define E4_MICROSTEPS 16 + /** + * Use software SPI for TMC2130. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. + */ + //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 + /** * Use Trinamic's ultra quiet stepping mode. * When disabled, Marlin will use spreadCycle stepping mode. diff --git a/Marlin/src/config/examples/Felix/Configuration_adv.h b/Marlin/src/config/examples/Felix/Configuration_adv.h index 19b1a2249c..d71a9f77f6 100644 --- a/Marlin/src/config/examples/Felix/Configuration_adv.h +++ b/Marlin/src/config/examples/Felix/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h b/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h index 43bcd5f32b..9bd3dae95f 100644 --- a/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h +++ b/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h b/Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h index 055b2516ce..f3592dc740 100644 --- a/Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h +++ b/Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h b/Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h index 0a15d7af52..ad0ede72fa 100644 --- a/Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h +++ b/Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1085,6 +1086,16 @@ #define E4_CURRENT 800 #define E4_MICROSTEPS 16 + /** + * Use software SPI for TMC2130. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. + */ + //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 + /** * Use Trinamic's ultra quiet stepping mode. * When disabled, Marlin will use spreadCycle stepping mode. diff --git a/Marlin/src/config/examples/MakerParts/Configuration_adv.h b/Marlin/src/config/examples/MakerParts/Configuration_adv.h index 725b5bfc70..96d1cee990 100644 --- a/Marlin/src/config/examples/MakerParts/Configuration_adv.h +++ b/Marlin/src/config/examples/MakerParts/Configuration_adv.h @@ -1000,9 +1000,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1088,9 +1089,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/Malyan/M150/Configuration_adv.h b/Marlin/src/config/examples/Malyan/M150/Configuration_adv.h index 1e81d6fbb5..ea8603520e 100644 --- a/Marlin/src/config/examples/Malyan/M150/Configuration_adv.h +++ b/Marlin/src/config/examples/Malyan/M150/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/Malyan/M200/Configuration_adv.h b/Marlin/src/config/examples/Malyan/M200/Configuration_adv.h index cf040f5a48..96124faacb 100644 --- a/Marlin/src/config/examples/Malyan/M200/Configuration_adv.h +++ b/Marlin/src/config/examples/Malyan/M200/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h b/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h index 92139143cf..0535470c92 100644 --- a/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h +++ b/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h b/Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h index ff9ce83ad6..5083e8b811 100644 --- a/Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h +++ b/Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h @@ -1007,9 +1007,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1095,9 +1096,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/RigidBot/Configuration_adv.h b/Marlin/src/config/examples/RigidBot/Configuration_adv.h index cc692d35f4..24855847d9 100644 --- a/Marlin/src/config/examples/RigidBot/Configuration_adv.h +++ b/Marlin/src/config/examples/RigidBot/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/SCARA/Configuration_adv.h b/Marlin/src/config/examples/SCARA/Configuration_adv.h index 49f2d1ee68..39b1dda88f 100644 --- a/Marlin/src/config/examples/SCARA/Configuration_adv.h +++ b/Marlin/src/config/examples/SCARA/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/Sanguinololu/Configuration_adv.h b/Marlin/src/config/examples/Sanguinololu/Configuration_adv.h index c4246e8c79..64cde0b4bd 100644 --- a/Marlin/src/config/examples/Sanguinololu/Configuration_adv.h +++ b/Marlin/src/config/examples/Sanguinololu/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/TheBorg/Configuration_adv.h b/Marlin/src/config/examples/TheBorg/Configuration_adv.h index 0777756e09..7b195b47a6 100644 --- a/Marlin/src/config/examples/TheBorg/Configuration_adv.h +++ b/Marlin/src/config/examples/TheBorg/Configuration_adv.h @@ -996,9 +996,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1082,6 +1083,16 @@ #define E4_CURRENT 800 #define E4_MICROSTEPS 16 + /** + * Use software SPI for TMC2130. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. + */ + //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 + /** * Use Trinamic's ultra quiet stepping mode. * When disabled, Marlin will use spreadCycle stepping mode. diff --git a/Marlin/src/config/examples/TinyBoy2/Configuration_adv.h b/Marlin/src/config/examples/TinyBoy2/Configuration_adv.h index 39c18e22a6..f96f1d9bc2 100644 --- a/Marlin/src/config/examples/TinyBoy2/Configuration_adv.h +++ b/Marlin/src/config/examples/TinyBoy2/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h b/Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h index 6b7efc454c..879ab4a326 100644 --- a/Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h +++ b/Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h b/Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h index 19fcde8dad..5a9de6070b 100644 --- a/Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h +++ b/Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h @@ -1012,9 +1012,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1100,9 +1101,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h b/Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h index 53c72e4849..ac79e75a12 100644 --- a/Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h +++ b/Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h b/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h index ffc2a6ef80..e2991376c2 100644 --- a/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h +++ b/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h @@ -1001,9 +1001,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1089,9 +1090,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h b/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h index 59e62b6d1d..f1d7062448 100644 --- a/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h @@ -1001,9 +1001,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1089,9 +1090,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h b/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h index 03fd747437..8f111531b5 100644 --- a/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h @@ -1001,9 +1001,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,6 +1088,16 @@ #define E4_CURRENT 800 #define E4_MICROSTEPS 16 + /** + * Use software SPI for TMC2130. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. + */ + //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 + /** * Use Trinamic's ultra quiet stepping mode. * When disabled, Marlin will use spreadCycle stepping mode. diff --git a/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h b/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h index 8b632a9882..941036748b 100644 --- a/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h @@ -1001,9 +1001,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1089,9 +1090,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/delta/generic/Configuration_adv.h b/Marlin/src/config/examples/delta/generic/Configuration_adv.h index 8b632a9882..941036748b 100644 --- a/Marlin/src/config/examples/delta/generic/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/generic/Configuration_adv.h @@ -1001,9 +1001,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1089,9 +1090,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h b/Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h index 8b632a9882..941036748b 100644 --- a/Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h @@ -1001,9 +1001,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1089,9 +1090,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h b/Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h index ed8af1ea49..f7b4e535d0 100644 --- a/Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h @@ -1006,9 +1006,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1094,9 +1095,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h b/Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h index 35f6a5fb24..bff637b55b 100644 --- a/Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h @@ -1001,9 +1001,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1089,9 +1090,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h b/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h index ae221c3d1e..f5de9dca16 100644 --- a/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h +++ b/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/makibox/Configuration_adv.h b/Marlin/src/config/examples/makibox/Configuration_adv.h index 814112cf96..345b812324 100644 --- a/Marlin/src/config/examples/makibox/Configuration_adv.h +++ b/Marlin/src/config/examples/makibox/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h b/Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h index 0f1e7f7484..37144c3343 100644 --- a/Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h +++ b/Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h @@ -999,9 +999,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1087,9 +1088,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode. diff --git a/Marlin/src/config/examples/wt150/Configuration_adv.h b/Marlin/src/config/examples/wt150/Configuration_adv.h index c4d0f7ec64..5471455498 100644 --- a/Marlin/src/config/examples/wt150/Configuration_adv.h +++ b/Marlin/src/config/examples/wt150/Configuration_adv.h @@ -1000,9 +1000,10 @@ * You'll also need the TMC2130Stepper Arduino library * (https://github.com/teemuatlut/TMC2130Stepper). * - * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to + * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to * the hardware SPI interface on your board and define the required CS pins * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.). + * You may also use software SPI if you wish to use general purpose IO pins. */ //#define HAVE_TMC2130 @@ -1088,9 +1089,13 @@ /** * Use software SPI for TMC2130. - * SW SPI pins are defined the respective pins files. + * The default SW SPI pins are defined the respective pins files, + * but you can override or define them here. */ //#define TMC_USE_SW_SPI + //#define TMC_SW_MOSI -1 + //#define TMC_SW_MISO -1 + //#define TMC_SW_SCK -1 /** * Use Trinamic's ultra quiet stepping mode.