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 fab4236ba..03690b51b 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 fab4236ba..03690b51b 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 cdd488d80..c68f25311 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 e6af12e38..7d77a5109 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 6aed5686d..fe3111f1f 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 0ff302641..f79a4246c 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 2fabd2df7..043ac8bd3 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 d4ff484ab..4d9c7f702 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 2fabd2df7..043ac8bd3 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 1cf9bb4a8..4e82c7993 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 7ae777b3a..7048b4a3e 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 6a6ed75b9..dd3e4afd4 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 8672c4aa7..d8b6f231a 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 19b1a2249..d71a9f77f 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 43bcd5f32..9bd3dae95 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 055b2516c..f3592dc74 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 0a15d7af5..ad0ede72f 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 725b5bfc7..96d1cee99 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 1e81d6fbb..ea8603520 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 cf040f5a4..96124faac 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 92139143c..0535470c9 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 ff9ce83ad..5083e8b81 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 cc692d35f..24855847d 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 49f2d1ee6..39b1dda88 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 c4246e8c7..64cde0b4b 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 0777756e0..7b195b47a 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 39c18e22a..f96f1d9bc 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 6b7efc454..879ab4a32 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 19fcde8da..5a9de6070 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 53c72e484..ac79e75a1 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 ffc2a6ef8..e2991376c 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 59e62b6d1..f1d706244 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 03fd74743..8f111531b 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 8b632a988..941036748 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 8b632a988..941036748 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 8b632a988..941036748 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 ed8af1ea4..f7b4e535d 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 35f6a5fb2..bff637b55 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 ae221c3d1..f5de9dca1 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 814112cf9..345b81232 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 0f1e7f748..37144c334 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 c4d0f7ec6..547145549 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.