Browse Source

TMC SW SPI pins in Configuration_adv.h

Counterpart to #9632
Scott Lahteine 6 years ago
parent
commit
694d2ebec0
42 changed files with 319 additions and 79 deletions
  1. 7
    2
      Marlin/Configuration_adv.h
  2. 7
    2
      Marlin/src/config/default/Configuration_adv.h
  3. 7
    2
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  4. 7
    2
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  5. 7
    2
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  6. 7
    2
      Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h
  7. 7
    2
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  8. 7
    2
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  9. 7
    2
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  10. 7
    2
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  11. 7
    2
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  12. 12
    1
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  13. 12
    1
      Marlin/src/config/examples/Creality/Ender/Configuration_adv.h
  14. 7
    2
      Marlin/src/config/examples/Felix/Configuration_adv.h
  15. 7
    2
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  16. 7
    2
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  17. 12
    1
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  18. 7
    2
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  19. 7
    2
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  20. 7
    2
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  21. 7
    2
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  22. 7
    2
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  23. 7
    2
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  24. 7
    2
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  25. 7
    2
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  26. 12
    1
      Marlin/src/config/examples/TheBorg/Configuration_adv.h
  27. 7
    2
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  28. 7
    2
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  29. 7
    2
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  30. 7
    2
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  31. 7
    2
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  32. 7
    2
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  33. 12
    1
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
  34. 7
    2
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  35. 7
    2
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  36. 7
    2
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  37. 7
    2
      Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h
  38. 7
    2
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  39. 7
    2
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  40. 7
    2
      Marlin/src/config/examples/makibox/Configuration_adv.h
  41. 7
    2
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  42. 7
    2
      Marlin/src/config/examples/wt150/Configuration_adv.h

+ 7
- 2
Marlin/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/default/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/Anet/A6/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/Anet/A8/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h View File

@@ -1000,9 +1000,10 @@
1000 1000
  * You'll also need the TMC2130Stepper Arduino library
1001 1001
  * (https://github.com/teemuatlut/TMC2130Stepper).
1002 1002
  *
1003
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1003
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1004 1004
  * the hardware SPI interface on your board and define the required CS pins
1005 1005
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1006
+ * You may also use software SPI if you wish to use general purpose IO pins.
1006 1007
  */
1007 1008
 //#define HAVE_TMC2130
1008 1009
 
@@ -1088,9 +1089,13 @@
1088 1089
 
1089 1090
   /**
1090 1091
    * Use software SPI for TMC2130.
1091
-   * SW SPI pins are defined the respective pins files.
1092
+   * The default SW SPI pins are defined the respective pins files,
1093
+   * but you can override or define them here.
1092 1094
    */
1093 1095
   //#define TMC_USE_SW_SPI
1096
+  //#define TMC_SW_MOSI       -1
1097
+  //#define TMC_SW_MISO       -1
1098
+  //#define TMC_SW_SCK        -1
1094 1099
 
1095 1100
   /**
1096 1101
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/Cartesio/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 12
- 1
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1086,6 +1087,16 @@
1086 1087
   #define E4_MICROSTEPS       16
1087 1088
 
1088 1089
   /**
1090
+   * Use software SPI for TMC2130.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1093
+   */
1094
+  //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1098
+
1099
+  /**
1089 1100
    * Use Trinamic's ultra quiet stepping mode.
1090 1101
    * When disabled, Marlin will use spreadCycle stepping mode.
1091 1102
    */

+ 12
- 1
Marlin/src/config/examples/Creality/Ender/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1086,6 +1087,16 @@
1086 1087
   #define E4_MICROSTEPS       16
1087 1088
 
1088 1089
   /**
1090
+   * Use software SPI for TMC2130.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1093
+   */
1094
+  //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1098
+
1099
+  /**
1089 1100
    * Use Trinamic's ultra quiet stepping mode.
1090 1101
    * When disabled, Marlin will use spreadCycle stepping mode.
1091 1102
    */

+ 7
- 2
Marlin/src/config/examples/Felix/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 12
- 1
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1086,6 +1087,16 @@
1086 1087
   #define E4_MICROSTEPS       16
1087 1088
 
1088 1089
   /**
1090
+   * Use software SPI for TMC2130.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1093
+   */
1094
+  //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1098
+
1099
+  /**
1089 1100
    * Use Trinamic's ultra quiet stepping mode.
1090 1101
    * When disabled, Marlin will use spreadCycle stepping mode.
1091 1102
    */

+ 7
- 2
Marlin/src/config/examples/MakerParts/Configuration_adv.h View File

@@ -1000,9 +1000,10 @@
1000 1000
  * You'll also need the TMC2130Stepper Arduino library
1001 1001
  * (https://github.com/teemuatlut/TMC2130Stepper).
1002 1002
  *
1003
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1003
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1004 1004
  * the hardware SPI interface on your board and define the required CS pins
1005 1005
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1006
+ * You may also use software SPI if you wish to use general purpose IO pins.
1006 1007
  */
1007 1008
 //#define HAVE_TMC2130
1008 1009
 
@@ -1088,9 +1089,13 @@
1088 1089
 
1089 1090
   /**
1090 1091
    * Use software SPI for TMC2130.
1091
-   * SW SPI pins are defined the respective pins files.
1092
+   * The default SW SPI pins are defined the respective pins files,
1093
+   * but you can override or define them here.
1092 1094
    */
1093 1095
   //#define TMC_USE_SW_SPI
1096
+  //#define TMC_SW_MOSI       -1
1097
+  //#define TMC_SW_MISO       -1
1098
+  //#define TMC_SW_SCK        -1
1094 1099
 
1095 1100
   /**
1096 1101
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h View File

@@ -1007,9 +1007,10 @@
1007 1007
  * You'll also need the TMC2130Stepper Arduino library
1008 1008
  * (https://github.com/teemuatlut/TMC2130Stepper).
1009 1009
  *
1010
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1010
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1011 1011
  * the hardware SPI interface on your board and define the required CS pins
1012 1012
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1013
+ * You may also use software SPI if you wish to use general purpose IO pins.
1013 1014
  */
1014 1015
 //#define HAVE_TMC2130
1015 1016
 
@@ -1095,9 +1096,13 @@
1095 1096
 
1096 1097
   /**
1097 1098
    * Use software SPI for TMC2130.
1098
-   * SW SPI pins are defined the respective pins files.
1099
+   * The default SW SPI pins are defined the respective pins files,
1100
+   * but you can override or define them here.
1099 1101
    */
1100 1102
   //#define TMC_USE_SW_SPI
1103
+  //#define TMC_SW_MOSI       -1
1104
+  //#define TMC_SW_MISO       -1
1105
+  //#define TMC_SW_SCK        -1
1101 1106
 
1102 1107
   /**
1103 1108
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/RigidBot/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/SCARA/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 12
- 1
Marlin/src/config/examples/TheBorg/Configuration_adv.h View File

@@ -996,9 +996,10 @@
996 996
  * You'll also need the TMC2130Stepper Arduino library
997 997
  * (https://github.com/teemuatlut/TMC2130Stepper).
998 998
  *
999
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
999
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1000 1000
  * the hardware SPI interface on your board and define the required CS pins
1001 1001
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1002
+ * You may also use software SPI if you wish to use general purpose IO pins.
1002 1003
  */
1003 1004
 //#define HAVE_TMC2130
1004 1005
 
@@ -1083,6 +1084,16 @@
1083 1084
   #define E4_MICROSTEPS       16
1084 1085
 
1085 1086
   /**
1087
+   * Use software SPI for TMC2130.
1088
+   * The default SW SPI pins are defined the respective pins files,
1089
+   * but you can override or define them here.
1090
+   */
1091
+  //#define TMC_USE_SW_SPI
1092
+  //#define TMC_SW_MOSI       -1
1093
+  //#define TMC_SW_MISO       -1
1094
+  //#define TMC_SW_SCK        -1
1095
+
1096
+  /**
1086 1097
    * Use Trinamic's ultra quiet stepping mode.
1087 1098
    * When disabled, Marlin will use spreadCycle stepping mode.
1088 1099
    */

+ 7
- 2
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h View File

@@ -1012,9 +1012,10 @@
1012 1012
  * You'll also need the TMC2130Stepper Arduino library
1013 1013
  * (https://github.com/teemuatlut/TMC2130Stepper).
1014 1014
  *
1015
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1015
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1016 1016
  * the hardware SPI interface on your board and define the required CS pins
1017 1017
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1018
+ * You may also use software SPI if you wish to use general purpose IO pins.
1018 1019
  */
1019 1020
 //#define HAVE_TMC2130
1020 1021
 
@@ -1100,9 +1101,13 @@
1100 1101
 
1101 1102
   /**
1102 1103
    * Use software SPI for TMC2130.
1103
-   * SW SPI pins are defined the respective pins files.
1104
+   * The default SW SPI pins are defined the respective pins files,
1105
+   * but you can override or define them here.
1104 1106
    */
1105 1107
   //#define TMC_USE_SW_SPI
1108
+  //#define TMC_SW_MOSI       -1
1109
+  //#define TMC_SW_MISO       -1
1110
+  //#define TMC_SW_SCK        -1
1106 1111
 
1107 1112
   /**
1108 1113
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h View File

@@ -1001,9 +1001,10 @@
1001 1001
  * You'll also need the TMC2130Stepper Arduino library
1002 1002
  * (https://github.com/teemuatlut/TMC2130Stepper).
1003 1003
  *
1004
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1004
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1005 1005
  * the hardware SPI interface on your board and define the required CS pins
1006 1006
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1007
+ * You may also use software SPI if you wish to use general purpose IO pins.
1007 1008
  */
1008 1009
 //#define HAVE_TMC2130
1009 1010
 
@@ -1089,9 +1090,13 @@
1089 1090
 
1090 1091
   /**
1091 1092
    * Use software SPI for TMC2130.
1092
-   * SW SPI pins are defined the respective pins files.
1093
+   * The default SW SPI pins are defined the respective pins files,
1094
+   * but you can override or define them here.
1093 1095
    */
1094 1096
   //#define TMC_USE_SW_SPI
1097
+  //#define TMC_SW_MOSI       -1
1098
+  //#define TMC_SW_MISO       -1
1099
+  //#define TMC_SW_SCK        -1
1095 1100
 
1096 1101
   /**
1097 1102
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h View File

@@ -1001,9 +1001,10 @@
1001 1001
  * You'll also need the TMC2130Stepper Arduino library
1002 1002
  * (https://github.com/teemuatlut/TMC2130Stepper).
1003 1003
  *
1004
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1004
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1005 1005
  * the hardware SPI interface on your board and define the required CS pins
1006 1006
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1007
+ * You may also use software SPI if you wish to use general purpose IO pins.
1007 1008
  */
1008 1009
 //#define HAVE_TMC2130
1009 1010
 
@@ -1089,9 +1090,13 @@
1089 1090
 
1090 1091
   /**
1091 1092
    * Use software SPI for TMC2130.
1092
-   * SW SPI pins are defined the respective pins files.
1093
+   * The default SW SPI pins are defined the respective pins files,
1094
+   * but you can override or define them here.
1093 1095
    */
1094 1096
   //#define TMC_USE_SW_SPI
1097
+  //#define TMC_SW_MOSI       -1
1098
+  //#define TMC_SW_MISO       -1
1099
+  //#define TMC_SW_SCK        -1
1095 1100
 
1096 1101
   /**
1097 1102
    * Use Trinamic's ultra quiet stepping mode.

+ 12
- 1
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h View File

@@ -1001,9 +1001,10 @@
1001 1001
  * You'll also need the TMC2130Stepper Arduino library
1002 1002
  * (https://github.com/teemuatlut/TMC2130Stepper).
1003 1003
  *
1004
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1004
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1005 1005
  * the hardware SPI interface on your board and define the required CS pins
1006 1006
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1007
+ * You may also use software SPI if you wish to use general purpose IO pins.
1007 1008
  */
1008 1009
 //#define HAVE_TMC2130
1009 1010
 
@@ -1088,6 +1089,16 @@
1088 1089
   #define E4_MICROSTEPS       16
1089 1090
 
1090 1091
   /**
1092
+   * Use software SPI for TMC2130.
1093
+   * The default SW SPI pins are defined the respective pins files,
1094
+   * but you can override or define them here.
1095
+   */
1096
+  //#define TMC_USE_SW_SPI
1097
+  //#define TMC_SW_MOSI       -1
1098
+  //#define TMC_SW_MISO       -1
1099
+  //#define TMC_SW_SCK        -1
1100
+
1101
+  /**
1091 1102
    * Use Trinamic's ultra quiet stepping mode.
1092 1103
    * When disabled, Marlin will use spreadCycle stepping mode.
1093 1104
    */

+ 7
- 2
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h View File

@@ -1001,9 +1001,10 @@
1001 1001
  * You'll also need the TMC2130Stepper Arduino library
1002 1002
  * (https://github.com/teemuatlut/TMC2130Stepper).
1003 1003
  *
1004
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1004
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1005 1005
  * the hardware SPI interface on your board and define the required CS pins
1006 1006
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1007
+ * You may also use software SPI if you wish to use general purpose IO pins.
1007 1008
  */
1008 1009
 //#define HAVE_TMC2130
1009 1010
 
@@ -1089,9 +1090,13 @@
1089 1090
 
1090 1091
   /**
1091 1092
    * Use software SPI for TMC2130.
1092
-   * SW SPI pins are defined the respective pins files.
1093
+   * The default SW SPI pins are defined the respective pins files,
1094
+   * but you can override or define them here.
1093 1095
    */
1094 1096
   //#define TMC_USE_SW_SPI
1097
+  //#define TMC_SW_MOSI       -1
1098
+  //#define TMC_SW_MISO       -1
1099
+  //#define TMC_SW_SCK        -1
1095 1100
 
1096 1101
   /**
1097 1102
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/delta/generic/Configuration_adv.h View File

@@ -1001,9 +1001,10 @@
1001 1001
  * You'll also need the TMC2130Stepper Arduino library
1002 1002
  * (https://github.com/teemuatlut/TMC2130Stepper).
1003 1003
  *
1004
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1004
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1005 1005
  * the hardware SPI interface on your board and define the required CS pins
1006 1006
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1007
+ * You may also use software SPI if you wish to use general purpose IO pins.
1007 1008
  */
1008 1009
 //#define HAVE_TMC2130
1009 1010
 
@@ -1089,9 +1090,13 @@
1089 1090
 
1090 1091
   /**
1091 1092
    * Use software SPI for TMC2130.
1092
-   * SW SPI pins are defined the respective pins files.
1093
+   * The default SW SPI pins are defined the respective pins files,
1094
+   * but you can override or define them here.
1093 1095
    */
1094 1096
   //#define TMC_USE_SW_SPI
1097
+  //#define TMC_SW_MOSI       -1
1098
+  //#define TMC_SW_MISO       -1
1099
+  //#define TMC_SW_SCK        -1
1095 1100
 
1096 1101
   /**
1097 1102
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h View File

@@ -1001,9 +1001,10 @@
1001 1001
  * You'll also need the TMC2130Stepper Arduino library
1002 1002
  * (https://github.com/teemuatlut/TMC2130Stepper).
1003 1003
  *
1004
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1004
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1005 1005
  * the hardware SPI interface on your board and define the required CS pins
1006 1006
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1007
+ * You may also use software SPI if you wish to use general purpose IO pins.
1007 1008
  */
1008 1009
 //#define HAVE_TMC2130
1009 1010
 
@@ -1089,9 +1090,13 @@
1089 1090
 
1090 1091
   /**
1091 1092
    * Use software SPI for TMC2130.
1092
-   * SW SPI pins are defined the respective pins files.
1093
+   * The default SW SPI pins are defined the respective pins files,
1094
+   * but you can override or define them here.
1093 1095
    */
1094 1096
   //#define TMC_USE_SW_SPI
1097
+  //#define TMC_SW_MOSI       -1
1098
+  //#define TMC_SW_MISO       -1
1099
+  //#define TMC_SW_SCK        -1
1095 1100
 
1096 1101
   /**
1097 1102
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h View File

@@ -1006,9 +1006,10 @@
1006 1006
  * You'll also need the TMC2130Stepper Arduino library
1007 1007
  * (https://github.com/teemuatlut/TMC2130Stepper).
1008 1008
  *
1009
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1009
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1010 1010
  * the hardware SPI interface on your board and define the required CS pins
1011 1011
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1012
+ * You may also use software SPI if you wish to use general purpose IO pins.
1012 1013
  */
1013 1014
 //#define HAVE_TMC2130
1014 1015
 
@@ -1094,9 +1095,13 @@
1094 1095
 
1095 1096
   /**
1096 1097
    * Use software SPI for TMC2130.
1097
-   * SW SPI pins are defined the respective pins files.
1098
+   * The default SW SPI pins are defined the respective pins files,
1099
+   * but you can override or define them here.
1098 1100
    */
1099 1101
   //#define TMC_USE_SW_SPI
1102
+  //#define TMC_SW_MOSI       -1
1103
+  //#define TMC_SW_MISO       -1
1104
+  //#define TMC_SW_SCK        -1
1100 1105
 
1101 1106
   /**
1102 1107
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h View File

@@ -1001,9 +1001,10 @@
1001 1001
  * You'll also need the TMC2130Stepper Arduino library
1002 1002
  * (https://github.com/teemuatlut/TMC2130Stepper).
1003 1003
  *
1004
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1004
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1005 1005
  * the hardware SPI interface on your board and define the required CS pins
1006 1006
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1007
+ * You may also use software SPI if you wish to use general purpose IO pins.
1007 1008
  */
1008 1009
 //#define HAVE_TMC2130
1009 1010
 
@@ -1089,9 +1090,13 @@
1089 1090
 
1090 1091
   /**
1091 1092
    * Use software SPI for TMC2130.
1092
-   * SW SPI pins are defined the respective pins files.
1093
+   * The default SW SPI pins are defined the respective pins files,
1094
+   * but you can override or define them here.
1093 1095
    */
1094 1096
   //#define TMC_USE_SW_SPI
1097
+  //#define TMC_SW_MOSI       -1
1098
+  //#define TMC_SW_MISO       -1
1099
+  //#define TMC_SW_SCK        -1
1095 1100
 
1096 1101
   /**
1097 1102
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/makibox/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h View File

@@ -999,9 +999,10 @@
999 999
  * You'll also need the TMC2130Stepper Arduino library
1000 1000
  * (https://github.com/teemuatlut/TMC2130Stepper).
1001 1001
  *
1002
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1002
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1003 1003
  * the hardware SPI interface on your board and define the required CS pins
1004 1004
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1005
+ * You may also use software SPI if you wish to use general purpose IO pins.
1005 1006
  */
1006 1007
 //#define HAVE_TMC2130
1007 1008
 
@@ -1087,9 +1088,13 @@
1087 1088
 
1088 1089
   /**
1089 1090
    * Use software SPI for TMC2130.
1090
-   * SW SPI pins are defined the respective pins files.
1091
+   * The default SW SPI pins are defined the respective pins files,
1092
+   * but you can override or define them here.
1091 1093
    */
1092 1094
   //#define TMC_USE_SW_SPI
1095
+  //#define TMC_SW_MOSI       -1
1096
+  //#define TMC_SW_MISO       -1
1097
+  //#define TMC_SW_SCK        -1
1093 1098
 
1094 1099
   /**
1095 1100
    * Use Trinamic's ultra quiet stepping mode.

+ 7
- 2
Marlin/src/config/examples/wt150/Configuration_adv.h View File

@@ -1000,9 +1000,10 @@
1000 1000
  * You'll also need the TMC2130Stepper Arduino library
1001 1001
  * (https://github.com/teemuatlut/TMC2130Stepper).
1002 1002
  *
1003
- * To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
1003
+ * To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
1004 1004
  * the hardware SPI interface on your board and define the required CS pins
1005 1005
  * in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
1006
+ * You may also use software SPI if you wish to use general purpose IO pins.
1006 1007
  */
1007 1008
 //#define HAVE_TMC2130
1008 1009
 
@@ -1088,9 +1089,13 @@
1088 1089
 
1089 1090
   /**
1090 1091
    * Use software SPI for TMC2130.
1091
-   * SW SPI pins are defined the respective pins files.
1092
+   * The default SW SPI pins are defined the respective pins files,
1093
+   * but you can override or define them here.
1092 1094
    */
1093 1095
   //#define TMC_USE_SW_SPI
1096
+  //#define TMC_SW_MOSI       -1
1097
+  //#define TMC_SW_MISO       -1
1098
+  //#define TMC_SW_SCK        -1
1094 1099
 
1095 1100
   /**
1096 1101
    * Use Trinamic's ultra quiet stepping mode.

Loading…
Cancel
Save