Browse Source

Update examples

Scott Lahteine 5 years ago
parent
commit
14fb683682
83 changed files with 632 additions and 627 deletions
  1. 7
    7
      config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  2. 7
    7
      config/examples/AlephObjects/TAZ4/Configuration_adv.h
  3. 7
    7
      config/examples/AliExpress/UM2pExt/Configuration_adv.h
  4. 7
    7
      config/examples/Anet/A2/Configuration_adv.h
  5. 7
    7
      config/examples/Anet/A2plus/Configuration_adv.h
  6. 7
    7
      config/examples/Anet/A6/Configuration_adv.h
  7. 7
    7
      config/examples/Anet/A8/Configuration_adv.h
  8. 7
    7
      config/examples/Anet/A8plus/Configuration_adv.h
  9. 7
    7
      config/examples/Anet/E16/Configuration_adv.h
  10. 7
    7
      config/examples/AnyCubic/i3/Configuration_adv.h
  11. 7
    7
      config/examples/ArmEd/Configuration_adv.h
  12. 7
    7
      config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  13. 7
    7
      config/examples/BIBO/TouchX/default/Configuration_adv.h
  14. 7
    7
      config/examples/BQ/Hephestos/Configuration_adv.h
  15. 7
    7
      config/examples/BQ/Hephestos_2/Configuration_adv.h
  16. 7
    7
      config/examples/BQ/WITBOX/Configuration_adv.h
  17. 7
    7
      config/examples/Cartesio/Configuration_adv.h
  18. 7
    7
      config/examples/Creality/CR-10/Configuration_adv.h
  19. 7
    7
      config/examples/Creality/CR-10S/Configuration_adv.h
  20. 7
    7
      config/examples/Creality/CR-10_5S/Configuration_adv.h
  21. 7
    7
      config/examples/Creality/CR-10mini/Configuration_adv.h
  22. 7
    7
      config/examples/Creality/CR-8/Configuration_adv.h
  23. 7
    7
      config/examples/Creality/Ender-2/Configuration_adv.h
  24. 7
    7
      config/examples/Creality/Ender-3/Configuration_adv.h
  25. 7
    7
      config/examples/Creality/Ender-4/Configuration_adv.h
  26. 2
    2
      config/examples/Creality/Ender-5/Configuration.h
  27. 32
    27
      config/examples/Creality/Ender-5/Configuration_adv.h
  28. 7
    7
      config/examples/Dagoma/Disco Ultimate/Configuration_adv.h
  29. 7
    7
      config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration_adv.h
  30. 7
    7
      config/examples/Einstart-S/Configuration_adv.h
  31. 7
    7
      config/examples/Felix/Configuration_adv.h
  32. 7
    7
      config/examples/FlashForge/CreatorPro/Configuration_adv.h
  33. 7
    7
      config/examples/FolgerTech/i3-2020/Configuration_adv.h
  34. 7
    7
      config/examples/Formbot/Raptor/Configuration_adv.h
  35. 7
    7
      config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  36. 7
    7
      config/examples/Formbot/T_Rex_3/Configuration_adv.h
  37. 7
    7
      config/examples/Geeetech/A10/Configuration_adv.h
  38. 7
    7
      config/examples/Geeetech/A10M/Configuration_adv.h
  39. 7
    7
      config/examples/Geeetech/A20M/Configuration_adv.h
  40. 7
    7
      config/examples/Geeetech/MeCreator2/Configuration_adv.h
  41. 7
    7
      config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  42. 7
    7
      config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  43. 7
    7
      config/examples/Infitary/i3-M508/Configuration_adv.h
  44. 7
    7
      config/examples/JGAurora/A1/Configuration_adv.h
  45. 7
    7
      config/examples/JGAurora/A5/Configuration_adv.h
  46. 7
    7
      config/examples/JGAurora/A5S/Configuration_adv.h
  47. 7
    7
      config/examples/MakerParts/Configuration_adv.h
  48. 7
    7
      config/examples/Malyan/M150/Configuration_adv.h
  49. 7
    7
      config/examples/Malyan/M200/Configuration_adv.h
  50. 7
    7
      config/examples/Micromake/C1/enhanced/Configuration_adv.h
  51. 7
    7
      config/examples/Mks/Robin/Configuration_adv.h
  52. 7
    7
      config/examples/Mks/Sbase/Configuration_adv.h
  53. 7
    7
      config/examples/RapideLite/RL200/Configuration_adv.h
  54. 7
    7
      config/examples/RigidBot/Configuration_adv.h
  55. 7
    7
      config/examples/SCARA/Configuration_adv.h
  56. 7
    7
      config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h
  57. 7
    7
      config/examples/Sanguinololu/Configuration_adv.h
  58. 7
    7
      config/examples/TheBorg/Configuration_adv.h
  59. 7
    7
      config/examples/TinyBoy2/Configuration_adv.h
  60. 7
    7
      config/examples/Tronxy/X3A/Configuration_adv.h
  61. 7
    7
      config/examples/Tronxy/X5S-2E/Configuration_adv.h
  62. 7
    7
      config/examples/UltiMachine/Archim1/Configuration_adv.h
  63. 7
    7
      config/examples/UltiMachine/Archim2/Configuration_adv.h
  64. 7
    7
      config/examples/VORONDesign/Configuration_adv.h
  65. 7
    7
      config/examples/Velleman/K8200/Configuration_adv.h
  66. 7
    7
      config/examples/Velleman/K8400/Configuration_adv.h
  67. 7
    7
      config/examples/WASP/PowerWASP/Configuration_adv.h
  68. 7
    7
      config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  69. 7
    7
      config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  70. 7
    7
      config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  71. 7
    7
      config/examples/delta/FLSUN/kossel/Configuration_adv.h
  72. 7
    7
      config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  73. 7
    7
      config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  74. 7
    7
      config/examples/delta/MKS/SBASE/Configuration_adv.h
  75. 7
    7
      config/examples/delta/Tevo Little Monster/Configuration_adv.h
  76. 7
    7
      config/examples/delta/generic/Configuration_adv.h
  77. 7
    7
      config/examples/delta/kossel_mini/Configuration_adv.h
  78. 38
    38
      config/examples/delta/kossel_xl/Configuration.h
  79. 7
    7
      config/examples/delta/kossel_xl/Configuration_adv.h
  80. 7
    7
      config/examples/gCreate/gMax1.5+/Configuration_adv.h
  81. 7
    7
      config/examples/makibox/Configuration_adv.h
  82. 7
    7
      config/examples/tvrrug/Round2/Configuration_adv.h
  83. 7
    7
      config/examples/wt150/Configuration_adv.h

+ 7
- 7
config/examples/3DFabXYZ/Migbot/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/AliExpress/UM2pExt/Configuration_adv.h View File

1734
   //#define E5_CS_PIN         -1
1734
   //#define E5_CS_PIN         -1
1735
 
1735
 
1736
   /**
1736
   /**
1737
-   * Use software SPI for TMC2130.
1738
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1739
    * The default SW SPI pins are defined the respective pins files,
1738
    * The default SW SPI pins are defined the respective pins files,
1740
    * but you can override or define them here.
1739
    * but you can override or define them here.
1776
   //#define SOFTWARE_DRIVER_ENABLE
1775
   //#define SOFTWARE_DRIVER_ENABLE
1777
 
1776
 
1778
   /**
1777
   /**
1779
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1778
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1780
    * Use Trinamic's ultra quiet stepping mode.
1779
    * Use Trinamic's ultra quiet stepping mode.
1781
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    * When disabled, Marlin will use spreadCycle stepping mode.
1782
    */
1781
    */
1802
 
1801
 
1803
   /**
1802
   /**
1804
    * Monitor Trinamic drivers for error conditions,
1803
    * Monitor Trinamic drivers for error conditions,
1805
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1804
+   * like overtemperature and short to ground.
1806
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1807
    * Other detected conditions can be used to stop the current print.
1806
    * Other detected conditions can be used to stop the current print.
1808
    * Relevant g-codes:
1807
    * Relevant g-codes:
1820
   #endif
1819
   #endif
1821
 
1820
 
1822
   /**
1821
   /**
1823
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1822
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1824
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1825
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * This mode allows for faster movements at the expense of higher noise levels.
1826
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1825
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1843
   #define E5_HYBRID_THRESHOLD     30
1842
   #define E5_HYBRID_THRESHOLD     30
1844
 
1843
 
1845
   /**
1844
   /**
1846
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1845
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1847
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1848
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1849
    * X, Y, and Z homing will always be done in spreadCycle mode.
1848
    * X, Y, and Z homing will always be done in spreadCycle mode.
1855
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1856
    * M914 X/Y/Z to live tune the setting
1855
    * M914 X/Y/Z to live tune the setting
1857
    */
1856
    */
1858
-  //#define SENSORLESS_HOMING // TMC2130 only
1857
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1859
 
1858
 
1860
   /**
1859
   /**
1861
    * Use StallGuard2 to probe the bed with the nozzle.
1860
    * Use StallGuard2 to probe the bed with the nozzle.
1863
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1864
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1865
    */
1864
    */
1866
-  //#define SENSORLESS_PROBING // TMC2130 only
1865
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1867
 
1866
 
1868
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1867
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1868
+    // TMC2209: 0...255. TMC2130: -64...63
1869
     #define X_STALL_SENSITIVITY  8
1869
     #define X_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Anet/A2/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Anet/A2plus/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Anet/A8plus/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Anet/E16/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/AnyCubic/i3/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/ArmEd/Configuration_adv.h View File

1736
   //#define E5_CS_PIN         -1
1736
   //#define E5_CS_PIN         -1
1737
 
1737
 
1738
   /**
1738
   /**
1739
-   * Use software SPI for TMC2130.
1740
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1739
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1741
    * The default SW SPI pins are defined the respective pins files,
1740
    * The default SW SPI pins are defined the respective pins files,
1742
    * but you can override or define them here.
1741
    * but you can override or define them here.
1778
   //#define SOFTWARE_DRIVER_ENABLE
1777
   //#define SOFTWARE_DRIVER_ENABLE
1779
 
1778
 
1780
   /**
1779
   /**
1781
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1780
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1782
    * Use Trinamic's ultra quiet stepping mode.
1781
    * Use Trinamic's ultra quiet stepping mode.
1783
    * When disabled, Marlin will use spreadCycle stepping mode.
1782
    * When disabled, Marlin will use spreadCycle stepping mode.
1784
    */
1783
    */
1804
 
1803
 
1805
   /**
1804
   /**
1806
    * Monitor Trinamic drivers for error conditions,
1805
    * Monitor Trinamic drivers for error conditions,
1807
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1806
+   * like overtemperature and short to ground.
1808
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1807
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1809
    * Other detected conditions can be used to stop the current print.
1808
    * Other detected conditions can be used to stop the current print.
1810
    * Relevant g-codes:
1809
    * Relevant g-codes:
1822
   #endif
1821
   #endif
1823
 
1822
 
1824
   /**
1823
   /**
1825
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1824
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1826
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1825
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1827
    * This mode allows for faster movements at the expense of higher noise levels.
1826
    * This mode allows for faster movements at the expense of higher noise levels.
1828
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1827
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1845
   #define E5_HYBRID_THRESHOLD     30
1844
   #define E5_HYBRID_THRESHOLD     30
1846
 
1845
 
1847
   /**
1846
   /**
1848
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1847
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1849
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1848
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1850
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1849
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1851
    * X, Y, and Z homing will always be done in spreadCycle mode.
1850
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1856
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1858
    * M914 X/Y/Z to live tune the setting
1857
    * M914 X/Y/Z to live tune the setting
1859
    */
1858
    */
1860
-  //#define SENSORLESS_HOMING // TMC2130 only
1859
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1861
 
1860
 
1862
   /**
1861
   /**
1863
    * Use StallGuard2 to probe the bed with the nozzle.
1862
    * Use StallGuard2 to probe the bed with the nozzle.
1865
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1864
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1866
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1865
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1867
    */
1866
    */
1868
-  //#define SENSORLESS_PROBING // TMC2130 only
1867
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1869
 
1868
 
1870
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1869
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1870
+    // TMC2209: 0...255. TMC2130: -64...63
1871
     #define X_STALL_SENSITIVITY  8
1871
     #define X_STALL_SENSITIVITY  8
1872
     #define Y_STALL_SENSITIVITY  8
1872
     #define Y_STALL_SENSITIVITY  8
1873
     //#define Z_STALL_SENSITIVITY  8
1873
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/BIBO/TouchX/cyclops/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/BIBO/TouchX/default/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1740
   //#define E5_CS_PIN         -1
1740
   //#define E5_CS_PIN         -1
1741
 
1741
 
1742
   /**
1742
   /**
1743
-   * Use software SPI for TMC2130.
1744
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1743
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1745
    * The default SW SPI pins are defined the respective pins files,
1744
    * The default SW SPI pins are defined the respective pins files,
1746
    * but you can override or define them here.
1745
    * but you can override or define them here.
1782
   //#define SOFTWARE_DRIVER_ENABLE
1781
   //#define SOFTWARE_DRIVER_ENABLE
1783
 
1782
 
1784
   /**
1783
   /**
1785
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1784
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1786
    * Use Trinamic's ultra quiet stepping mode.
1785
    * Use Trinamic's ultra quiet stepping mode.
1787
    * When disabled, Marlin will use spreadCycle stepping mode.
1786
    * When disabled, Marlin will use spreadCycle stepping mode.
1788
    */
1787
    */
1808
 
1807
 
1809
   /**
1808
   /**
1810
    * Monitor Trinamic drivers for error conditions,
1809
    * Monitor Trinamic drivers for error conditions,
1811
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1810
+   * like overtemperature and short to ground.
1812
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1811
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1813
    * Other detected conditions can be used to stop the current print.
1812
    * Other detected conditions can be used to stop the current print.
1814
    * Relevant g-codes:
1813
    * Relevant g-codes:
1826
   #endif
1825
   #endif
1827
 
1826
 
1828
   /**
1827
   /**
1829
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1828
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1830
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1829
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1831
    * This mode allows for faster movements at the expense of higher noise levels.
1830
    * This mode allows for faster movements at the expense of higher noise levels.
1832
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1831
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1849
   #define E5_HYBRID_THRESHOLD     30
1848
   #define E5_HYBRID_THRESHOLD     30
1850
 
1849
 
1851
   /**
1850
   /**
1852
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1851
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1853
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1852
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1854
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1853
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1855
    * X, Y, and Z homing will always be done in spreadCycle mode.
1854
    * X, Y, and Z homing will always be done in spreadCycle mode.
1861
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1860
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1862
    * M914 X/Y/Z to live tune the setting
1861
    * M914 X/Y/Z to live tune the setting
1863
    */
1862
    */
1864
-  //#define SENSORLESS_HOMING // TMC2130 only
1863
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1865
 
1864
 
1866
   /**
1865
   /**
1867
    * Use StallGuard2 to probe the bed with the nozzle.
1866
    * Use StallGuard2 to probe the bed with the nozzle.
1869
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1868
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1870
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1869
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1871
    */
1870
    */
1872
-  //#define SENSORLESS_PROBING // TMC2130 only
1871
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1873
 
1872
 
1874
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1873
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1874
+    // TMC2209: 0...255. TMC2130: -64...63
1875
     #define X_STALL_SENSITIVITY  8
1875
     #define X_STALL_SENSITIVITY  8
1876
     #define Y_STALL_SENSITIVITY  8
1876
     #define Y_STALL_SENSITIVITY  8
1877
     //#define Z_STALL_SENSITIVITY  8
1877
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Creality/CR-10S/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Creality/CR-10_5S/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Creality/CR-10mini/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Creality/CR-8/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Creality/Ender-2/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Creality/Ender-3/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Creality/Ender-4/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 2
- 2
config/examples/Creality/Ender-5/Configuration.h View File

1
 /**
1
 /**
2
  * Marlin 3D Printer Firmware
2
  * Marlin 3D Printer Firmware
3
- * Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
3
+ * Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
  *
4
  *
5
  * Based on Sprinter and grbl.
5
  * Based on Sprinter and grbl.
6
- * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
7
  *
7
  *
8
  * This program is free software: you can redistribute it and/or modify
8
  * This program is free software: you can redistribute it and/or modify
9
  * it under the terms of the GNU General Public License as published by
9
  * it under the terms of the GNU General Public License as published by

+ 32
- 27
config/examples/Creality/Ender-5/Configuration_adv.h View File

1
 /**
1
 /**
2
  * Marlin 3D Printer Firmware
2
  * Marlin 3D Printer Firmware
3
- * Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
3
+ * Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
  *
4
  *
5
  * Based on Sprinter and grbl.
5
  * Based on Sprinter and grbl.
6
- * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
7
  *
7
  *
8
  * This program is free software: you can redistribute it and/or modify
8
  * This program is free software: you can redistribute it and/or modify
9
  * it under the terms of the GNU General Public License as published by
9
  * it under the terms of the GNU General Public License as published by
352
 #define E4_AUTO_FAN_PIN -1
352
 #define E4_AUTO_FAN_PIN -1
353
 #define E5_AUTO_FAN_PIN -1
353
 #define E5_AUTO_FAN_PIN -1
354
 #define CHAMBER_AUTO_FAN_PIN -1
354
 #define CHAMBER_AUTO_FAN_PIN -1
355
+
355
 #define EXTRUDER_AUTO_FAN_TEMPERATURE 50
356
 #define EXTRUDER_AUTO_FAN_TEMPERATURE 50
356
 #define EXTRUDER_AUTO_FAN_SPEED 255   // 255 == full speed
357
 #define EXTRUDER_AUTO_FAN_SPEED 255   // 255 == full speed
358
+#define CHAMBER_AUTO_FAN_TEMPERATURE 30
359
+#define CHAMBER_AUTO_FAN_SPEED 255
357
 
360
 
358
 /**
361
 /**
359
  * Part-Cooling Fan Multiplexer
362
  * Part-Cooling Fan Multiplexer
2118
  *
2121
  *
2119
  * See http://marlinfw.org/docs/configuration/laser_spindle.html for more config details.
2122
  * See http://marlinfw.org/docs/configuration/laser_spindle.html for more config details.
2120
  */
2123
  */
2121
-//#define SPINDLE_LASER_ENABLE
2122
-#if ENABLED(SPINDLE_LASER_ENABLE)
2123
-
2124
-  #define SPINDLE_LASER_ENABLE_INVERT   false  // Set to "true" if the on/off function is reversed
2125
-  #define SPINDLE_LASER_PWM             true   // Set to true if your controller supports setting the speed/power
2124
+//#define SPINDLE_FEATURE
2125
+//#define LASER_FEATURE
2126
+#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
2127
+  #define SPINDLE_LASER_ACTIVE_HIGH     false  // Set to "true" if the on/off function is active HIGH
2128
+  #define SPINDLE_LASER_PWM             true   // Set to "true" if your controller supports setting the speed/power
2126
   #define SPINDLE_LASER_PWM_INVERT      true   // Set to "true" if the speed/power goes up when you want it to go slower
2129
   #define SPINDLE_LASER_PWM_INVERT      true   // Set to "true" if the speed/power goes up when you want it to go slower
2127
   #define SPINDLE_LASER_POWERUP_DELAY   5000   // (ms) Delay to allow the spindle/laser to come up to speed/power
2130
   #define SPINDLE_LASER_POWERUP_DELAY   5000   // (ms) Delay to allow the spindle/laser to come up to speed/power
2128
   #define SPINDLE_LASER_POWERDOWN_DELAY 5000   // (ms) Delay to allow the spindle to stop
2131
   #define SPINDLE_LASER_POWERDOWN_DELAY 5000   // (ms) Delay to allow the spindle to stop
2129
-  #define SPINDLE_DIR_CHANGE            true   // Set to true if your spindle controller supports changing spindle direction
2130
-  #define SPINDLE_INVERT_DIR            false
2131
-  #define SPINDLE_STOP_ON_DIR_CHANGE    true   // Set to true if Marlin should stop the spindle before changing rotation direction
2132
-
2133
-  /**
2134
-   *  The M3 & M4 commands use the following equation to convert PWM duty cycle to speed/power
2135
-   *
2136
-   *  SPEED/POWER = PWM duty cycle * SPEED_POWER_SLOPE + SPEED_POWER_INTERCEPT
2137
-   *    where PWM duty cycle varies from 0 to 255
2138
-   *
2139
-   *  set the following for your controller (ALL MUST BE SET)
2140
-   */
2141
 
2132
 
2142
-  #define SPEED_POWER_SLOPE    118.4
2143
-  #define SPEED_POWER_INTERCEPT  0
2144
-  #define SPEED_POWER_MIN     5000
2145
-  #define SPEED_POWER_MAX    30000    // SuperPID router controller 0 - 30,000 RPM
2133
+  #if ENABLED(SPINDLE_FEATURE)
2134
+    //#define SPINDLE_CHANGE_DIR               // Enable if your spindle controller can change spindle direction
2135
+    #define SPINDLE_CHANGE_DIR_STOP            // Enable if the spindle should stop before changing spin direction
2136
+    #define SPINDLE_INVERT_DIR          false  // Set to "true" if the spin direction is reversed
2146
 
2137
 
2147
-  //#define SPEED_POWER_SLOPE      0.3922
2148
-  //#define SPEED_POWER_INTERCEPT  0
2149
-  //#define SPEED_POWER_MIN       10
2150
-  //#define SPEED_POWER_MAX      100      // 0-100%
2138
+    /**
2139
+     *  The M3 & M4 commands use the following equation to convert PWM duty cycle to speed/power
2140
+     *
2141
+     *  SPEED/POWER = PWM duty cycle * SPEED_POWER_SLOPE + SPEED_POWER_INTERCEPT
2142
+     *    where PWM duty cycle varies from 0 to 255
2143
+     *
2144
+     *  set the following for your controller (ALL MUST BE SET)
2145
+     */
2146
+    #define SPEED_POWER_SLOPE    118.4
2147
+    #define SPEED_POWER_INTERCEPT  0
2148
+    #define SPEED_POWER_MIN     5000
2149
+    #define SPEED_POWER_MAX    30000    // SuperPID router controller 0 - 30,000 RPM
2150
+  #else
2151
+    #define SPEED_POWER_SLOPE      0.3922
2152
+    #define SPEED_POWER_INTERCEPT  0
2153
+    #define SPEED_POWER_MIN       10
2154
+    #define SPEED_POWER_MAX      100    // 0-100%
2155
+  #endif
2151
 #endif
2156
 #endif
2152
 
2157
 
2153
 /**
2158
 /**

+ 7
- 7
config/examples/Dagoma/Disco Ultimate/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Einstart-S/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/FlashForge/CreatorPro/Configuration_adv.h View File

1731
   //#define E5_CS_PIN         -1
1731
   //#define E5_CS_PIN         -1
1732
 
1732
 
1733
   /**
1733
   /**
1734
-   * Use software SPI for TMC2130.
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1734
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1736
    * The default SW SPI pins are defined the respective pins files,
1735
    * The default SW SPI pins are defined the respective pins files,
1737
    * but you can override or define them here.
1736
    * but you can override or define them here.
1773
   //#define SOFTWARE_DRIVER_ENABLE
1772
   //#define SOFTWARE_DRIVER_ENABLE
1774
 
1773
 
1775
   /**
1774
   /**
1776
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1775
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1777
    * Use Trinamic's ultra quiet stepping mode.
1776
    * Use Trinamic's ultra quiet stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1777
    * When disabled, Marlin will use spreadCycle stepping mode.
1779
    */
1778
    */
1799
 
1798
 
1800
   /**
1799
   /**
1801
    * Monitor Trinamic drivers for error conditions,
1800
    * Monitor Trinamic drivers for error conditions,
1802
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1801
+   * like overtemperature and short to ground.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1802
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1804
    * Other detected conditions can be used to stop the current print.
1803
    * Other detected conditions can be used to stop the current print.
1805
    * Relevant g-codes:
1804
    * Relevant g-codes:
1817
   #endif
1816
   #endif
1818
 
1817
 
1819
   /**
1818
   /**
1820
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1819
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1820
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1821
    * This mode allows for faster movements at the expense of higher noise levels.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1822
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1840
   #define E5_HYBRID_THRESHOLD     30
1839
   #define E5_HYBRID_THRESHOLD     30
1841
 
1840
 
1842
   /**
1841
   /**
1843
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1842
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1843
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1844
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1845
    * X, Y, and Z homing will always be done in spreadCycle mode.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1851
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1853
    * M914 X/Y/Z to live tune the setting
1852
    * M914 X/Y/Z to live tune the setting
1854
    */
1853
    */
1855
-  //#define SENSORLESS_HOMING // TMC2130 only
1854
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1856
 
1855
 
1857
   /**
1856
   /**
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1857
    * Use StallGuard2 to probe the bed with the nozzle.
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1859
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1860
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1862
    */
1861
    */
1863
-  //#define SENSORLESS_PROBING // TMC2130 only
1862
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1864
 
1863
 
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1864
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
+    // TMC2209: 0...255. TMC2130: -64...63
1866
     #define X_STALL_SENSITIVITY  8
1866
     #define X_STALL_SENSITIVITY  8
1867
     #define Y_STALL_SENSITIVITY  8
1867
     #define Y_STALL_SENSITIVITY  8
1868
     //#define Z_STALL_SENSITIVITY  8
1868
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Formbot/Raptor/Configuration_adv.h View File

1734
   //#define E5_CS_PIN         -1
1734
   //#define E5_CS_PIN         -1
1735
 
1735
 
1736
   /**
1736
   /**
1737
-   * Use software SPI for TMC2130.
1738
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1739
    * The default SW SPI pins are defined the respective pins files,
1738
    * The default SW SPI pins are defined the respective pins files,
1740
    * but you can override or define them here.
1739
    * but you can override or define them here.
1776
   //#define SOFTWARE_DRIVER_ENABLE
1775
   //#define SOFTWARE_DRIVER_ENABLE
1777
 
1776
 
1778
   /**
1777
   /**
1779
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1778
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1780
    * Use Trinamic's ultra quiet stepping mode.
1779
    * Use Trinamic's ultra quiet stepping mode.
1781
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    * When disabled, Marlin will use spreadCycle stepping mode.
1782
    */
1781
    */
1802
 
1801
 
1803
   /**
1802
   /**
1804
    * Monitor Trinamic drivers for error conditions,
1803
    * Monitor Trinamic drivers for error conditions,
1805
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1804
+   * like overtemperature and short to ground.
1806
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1807
    * Other detected conditions can be used to stop the current print.
1806
    * Other detected conditions can be used to stop the current print.
1808
    * Relevant g-codes:
1807
    * Relevant g-codes:
1820
   #endif
1819
   #endif
1821
 
1820
 
1822
   /**
1821
   /**
1823
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1822
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1824
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1825
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * This mode allows for faster movements at the expense of higher noise levels.
1826
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1825
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1843
   #define E5_HYBRID_THRESHOLD     30
1842
   #define E5_HYBRID_THRESHOLD     30
1844
 
1843
 
1845
   /**
1844
   /**
1846
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1845
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1847
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1848
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1849
    * X, Y, and Z homing will always be done in spreadCycle mode.
1848
    * X, Y, and Z homing will always be done in spreadCycle mode.
1855
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1856
    * M914 X/Y/Z to live tune the setting
1855
    * M914 X/Y/Z to live tune the setting
1857
    */
1856
    */
1858
-  //#define SENSORLESS_HOMING // TMC2130 only
1857
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1859
 
1858
 
1860
   /**
1859
   /**
1861
    * Use StallGuard2 to probe the bed with the nozzle.
1860
    * Use StallGuard2 to probe the bed with the nozzle.
1863
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1864
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1865
    */
1864
    */
1866
-  //#define SENSORLESS_PROBING // TMC2130 only
1865
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1867
 
1866
 
1868
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1867
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1868
+    // TMC2209: 0...255. TMC2130: -64...63
1869
     #define X_STALL_SENSITIVITY  8
1869
     #define X_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Formbot/T_Rex_2+/Configuration_adv.h View File

1736
   //#define E5_CS_PIN         -1
1736
   //#define E5_CS_PIN         -1
1737
 
1737
 
1738
   /**
1738
   /**
1739
-   * Use software SPI for TMC2130.
1740
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1739
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1741
    * The default SW SPI pins are defined the respective pins files,
1740
    * The default SW SPI pins are defined the respective pins files,
1742
    * but you can override or define them here.
1741
    * but you can override or define them here.
1778
   //#define SOFTWARE_DRIVER_ENABLE
1777
   //#define SOFTWARE_DRIVER_ENABLE
1779
 
1778
 
1780
   /**
1779
   /**
1781
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1780
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1782
    * Use Trinamic's ultra quiet stepping mode.
1781
    * Use Trinamic's ultra quiet stepping mode.
1783
    * When disabled, Marlin will use spreadCycle stepping mode.
1782
    * When disabled, Marlin will use spreadCycle stepping mode.
1784
    */
1783
    */
1804
 
1803
 
1805
   /**
1804
   /**
1806
    * Monitor Trinamic drivers for error conditions,
1805
    * Monitor Trinamic drivers for error conditions,
1807
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1806
+   * like overtemperature and short to ground.
1808
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1807
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1809
    * Other detected conditions can be used to stop the current print.
1808
    * Other detected conditions can be used to stop the current print.
1810
    * Relevant g-codes:
1809
    * Relevant g-codes:
1822
   #endif
1821
   #endif
1823
 
1822
 
1824
   /**
1823
   /**
1825
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1824
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1826
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1825
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1827
    * This mode allows for faster movements at the expense of higher noise levels.
1826
    * This mode allows for faster movements at the expense of higher noise levels.
1828
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1827
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1845
   #define E5_HYBRID_THRESHOLD     30
1844
   #define E5_HYBRID_THRESHOLD     30
1846
 
1845
 
1847
   /**
1846
   /**
1848
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1847
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1849
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1848
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1850
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1849
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1851
    * X, Y, and Z homing will always be done in spreadCycle mode.
1850
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1856
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1858
    * M914 X/Y/Z to live tune the setting
1857
    * M914 X/Y/Z to live tune the setting
1859
    */
1858
    */
1860
-  //#define SENSORLESS_HOMING // TMC2130 only
1859
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1861
 
1860
 
1862
   /**
1861
   /**
1863
    * Use StallGuard2 to probe the bed with the nozzle.
1862
    * Use StallGuard2 to probe the bed with the nozzle.
1865
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1864
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1866
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1865
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1867
    */
1866
    */
1868
-  //#define SENSORLESS_PROBING // TMC2130 only
1867
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1869
 
1868
 
1870
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1869
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1870
+    // TMC2209: 0...255. TMC2130: -64...63
1871
     #define X_STALL_SENSITIVITY  8
1871
     #define X_STALL_SENSITIVITY  8
1872
     #define Y_STALL_SENSITIVITY  8
1872
     #define Y_STALL_SENSITIVITY  8
1873
     //#define Z_STALL_SENSITIVITY  8
1873
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Formbot/T_Rex_3/Configuration_adv.h View File

1736
   //#define E5_CS_PIN         -1
1736
   //#define E5_CS_PIN         -1
1737
 
1737
 
1738
   /**
1738
   /**
1739
-   * Use software SPI for TMC2130.
1740
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1739
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1741
    * The default SW SPI pins are defined the respective pins files,
1740
    * The default SW SPI pins are defined the respective pins files,
1742
    * but you can override or define them here.
1741
    * but you can override or define them here.
1778
   //#define SOFTWARE_DRIVER_ENABLE
1777
   //#define SOFTWARE_DRIVER_ENABLE
1779
 
1778
 
1780
   /**
1779
   /**
1781
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1780
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1782
    * Use Trinamic's ultra quiet stepping mode.
1781
    * Use Trinamic's ultra quiet stepping mode.
1783
    * When disabled, Marlin will use spreadCycle stepping mode.
1782
    * When disabled, Marlin will use spreadCycle stepping mode.
1784
    */
1783
    */
1804
 
1803
 
1805
   /**
1804
   /**
1806
    * Monitor Trinamic drivers for error conditions,
1805
    * Monitor Trinamic drivers for error conditions,
1807
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1806
+   * like overtemperature and short to ground.
1808
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1807
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1809
    * Other detected conditions can be used to stop the current print.
1808
    * Other detected conditions can be used to stop the current print.
1810
    * Relevant g-codes:
1809
    * Relevant g-codes:
1822
   #endif
1821
   #endif
1823
 
1822
 
1824
   /**
1823
   /**
1825
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1824
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1826
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1825
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1827
    * This mode allows for faster movements at the expense of higher noise levels.
1826
    * This mode allows for faster movements at the expense of higher noise levels.
1828
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1827
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1845
   #define E5_HYBRID_THRESHOLD     30
1844
   #define E5_HYBRID_THRESHOLD     30
1846
 
1845
 
1847
   /**
1846
   /**
1848
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1847
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1849
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1848
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1850
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1849
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1851
    * X, Y, and Z homing will always be done in spreadCycle mode.
1850
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1856
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1858
    * M914 X/Y/Z to live tune the setting
1857
    * M914 X/Y/Z to live tune the setting
1859
    */
1858
    */
1860
-  //#define SENSORLESS_HOMING // TMC2130 only
1859
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1861
 
1860
 
1862
   /**
1861
   /**
1863
    * Use StallGuard2 to probe the bed with the nozzle.
1862
    * Use StallGuard2 to probe the bed with the nozzle.
1865
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1864
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1866
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1865
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1867
    */
1866
    */
1868
-  //#define SENSORLESS_PROBING // TMC2130 only
1867
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1869
 
1868
 
1870
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1869
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1870
+    // TMC2209: 0...255. TMC2130: -64...63
1871
     #define X_STALL_SENSITIVITY  8
1871
     #define X_STALL_SENSITIVITY  8
1872
     #define Y_STALL_SENSITIVITY  8
1872
     #define Y_STALL_SENSITIVITY  8
1873
     //#define Z_STALL_SENSITIVITY  8
1873
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Geeetech/A10/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Geeetech/A10M/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Geeetech/A20M/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Geeetech/MeCreator2/Configuration_adv.h View File

1731
   //#define E5_CS_PIN         -1
1731
   //#define E5_CS_PIN         -1
1732
 
1732
 
1733
   /**
1733
   /**
1734
-   * Use software SPI for TMC2130.
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1734
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1736
    * The default SW SPI pins are defined the respective pins files,
1735
    * The default SW SPI pins are defined the respective pins files,
1737
    * but you can override or define them here.
1736
    * but you can override or define them here.
1773
   //#define SOFTWARE_DRIVER_ENABLE
1772
   //#define SOFTWARE_DRIVER_ENABLE
1774
 
1773
 
1775
   /**
1774
   /**
1776
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1775
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1777
    * Use Trinamic's ultra quiet stepping mode.
1776
    * Use Trinamic's ultra quiet stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1777
    * When disabled, Marlin will use spreadCycle stepping mode.
1779
    */
1778
    */
1799
 
1798
 
1800
   /**
1799
   /**
1801
    * Monitor Trinamic drivers for error conditions,
1800
    * Monitor Trinamic drivers for error conditions,
1802
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1801
+   * like overtemperature and short to ground.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1802
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1804
    * Other detected conditions can be used to stop the current print.
1803
    * Other detected conditions can be used to stop the current print.
1805
    * Relevant g-codes:
1804
    * Relevant g-codes:
1817
   #endif
1816
   #endif
1818
 
1817
 
1819
   /**
1818
   /**
1820
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1819
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1820
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1821
    * This mode allows for faster movements at the expense of higher noise levels.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1822
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1840
   #define E5_HYBRID_THRESHOLD     30
1839
   #define E5_HYBRID_THRESHOLD     30
1841
 
1840
 
1842
   /**
1841
   /**
1843
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1842
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1843
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1844
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1845
    * X, Y, and Z homing will always be done in spreadCycle mode.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1851
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1853
    * M914 X/Y/Z to live tune the setting
1852
    * M914 X/Y/Z to live tune the setting
1854
    */
1853
    */
1855
-  //#define SENSORLESS_HOMING // TMC2130 only
1854
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1856
 
1855
 
1857
   /**
1856
   /**
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1857
    * Use StallGuard2 to probe the bed with the nozzle.
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1859
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1860
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1862
    */
1861
    */
1863
-  //#define SENSORLESS_PROBING // TMC2130 only
1862
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1864
 
1863
 
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1864
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
+    // TMC2209: 0...255. TMC2130: -64...63
1866
     #define X_STALL_SENSITIVITY  8
1866
     #define X_STALL_SENSITIVITY  8
1867
     #define Y_STALL_SENSITIVITY  8
1867
     #define Y_STALL_SENSITIVITY  8
1868
     //#define Z_STALL_SENSITIVITY  8
1868
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/JGAurora/A1/Configuration_adv.h View File

1737
   //#define E5_CS_PIN         -1
1737
   //#define E5_CS_PIN         -1
1738
 
1738
 
1739
   /**
1739
   /**
1740
-   * Use software SPI for TMC2130.
1741
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1740
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1742
    * The default SW SPI pins are defined the respective pins files,
1741
    * The default SW SPI pins are defined the respective pins files,
1743
    * but you can override or define them here.
1742
    * but you can override or define them here.
1779
   //#define SOFTWARE_DRIVER_ENABLE
1778
   //#define SOFTWARE_DRIVER_ENABLE
1780
 
1779
 
1781
   /**
1780
   /**
1782
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1781
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1783
    * Use Trinamic's ultra quiet stepping mode.
1782
    * Use Trinamic's ultra quiet stepping mode.
1784
    * When disabled, Marlin will use spreadCycle stepping mode.
1783
    * When disabled, Marlin will use spreadCycle stepping mode.
1785
    */
1784
    */
1805
 
1804
 
1806
   /**
1805
   /**
1807
    * Monitor Trinamic drivers for error conditions,
1806
    * Monitor Trinamic drivers for error conditions,
1808
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1807
+   * like overtemperature and short to ground.
1809
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1808
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1810
    * Other detected conditions can be used to stop the current print.
1809
    * Other detected conditions can be used to stop the current print.
1811
    * Relevant g-codes:
1810
    * Relevant g-codes:
1823
   #endif
1822
   #endif
1824
 
1823
 
1825
   /**
1824
   /**
1826
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1825
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1827
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1826
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1828
    * This mode allows for faster movements at the expense of higher noise levels.
1827
    * This mode allows for faster movements at the expense of higher noise levels.
1829
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1828
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1846
   #define E5_HYBRID_THRESHOLD     30
1845
   #define E5_HYBRID_THRESHOLD     30
1847
 
1846
 
1848
   /**
1847
   /**
1849
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1848
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1850
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1849
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1851
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1850
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1852
    * X, Y, and Z homing will always be done in spreadCycle mode.
1851
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1857
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1859
    * M914 X/Y/Z to live tune the setting
1858
    * M914 X/Y/Z to live tune the setting
1860
    */
1859
    */
1861
-  //#define SENSORLESS_HOMING // TMC2130 only
1860
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1862
 
1861
 
1863
   /**
1862
   /**
1864
    * Use StallGuard2 to probe the bed with the nozzle.
1863
    * Use StallGuard2 to probe the bed with the nozzle.
1866
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1865
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1867
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1866
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1868
    */
1867
    */
1869
-  //#define SENSORLESS_PROBING // TMC2130 only
1868
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1870
 
1869
 
1871
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1870
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1871
+    // TMC2209: 0...255. TMC2130: -64...63
1872
     #define X_STALL_SENSITIVITY  8
1872
     #define X_STALL_SENSITIVITY  8
1873
     #define Y_STALL_SENSITIVITY  8
1873
     #define Y_STALL_SENSITIVITY  8
1874
     //#define Z_STALL_SENSITIVITY  8
1874
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/JGAurora/A5/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/JGAurora/A5S/Configuration_adv.h View File

1737
   //#define E5_CS_PIN         -1
1737
   //#define E5_CS_PIN         -1
1738
 
1738
 
1739
   /**
1739
   /**
1740
-   * Use software SPI for TMC2130.
1741
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1740
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1742
    * The default SW SPI pins are defined the respective pins files,
1741
    * The default SW SPI pins are defined the respective pins files,
1743
    * but you can override or define them here.
1742
    * but you can override or define them here.
1779
   //#define SOFTWARE_DRIVER_ENABLE
1778
   //#define SOFTWARE_DRIVER_ENABLE
1780
 
1779
 
1781
   /**
1780
   /**
1782
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1781
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1783
    * Use Trinamic's ultra quiet stepping mode.
1782
    * Use Trinamic's ultra quiet stepping mode.
1784
    * When disabled, Marlin will use spreadCycle stepping mode.
1783
    * When disabled, Marlin will use spreadCycle stepping mode.
1785
    */
1784
    */
1805
 
1804
 
1806
   /**
1805
   /**
1807
    * Monitor Trinamic drivers for error conditions,
1806
    * Monitor Trinamic drivers for error conditions,
1808
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1807
+   * like overtemperature and short to ground.
1809
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1808
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1810
    * Other detected conditions can be used to stop the current print.
1809
    * Other detected conditions can be used to stop the current print.
1811
    * Relevant g-codes:
1810
    * Relevant g-codes:
1823
   #endif
1822
   #endif
1824
 
1823
 
1825
   /**
1824
   /**
1826
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1825
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1827
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1826
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1828
    * This mode allows for faster movements at the expense of higher noise levels.
1827
    * This mode allows for faster movements at the expense of higher noise levels.
1829
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1828
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1846
   #define E5_HYBRID_THRESHOLD     30
1845
   #define E5_HYBRID_THRESHOLD     30
1847
 
1846
 
1848
   /**
1847
   /**
1849
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1848
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1850
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1849
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1851
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1850
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1852
    * X, Y, and Z homing will always be done in spreadCycle mode.
1851
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1857
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1859
    * M914 X/Y/Z to live tune the setting
1858
    * M914 X/Y/Z to live tune the setting
1860
    */
1859
    */
1861
-  //#define SENSORLESS_HOMING // TMC2130 only
1860
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1862
 
1861
 
1863
   /**
1862
   /**
1864
    * Use StallGuard2 to probe the bed with the nozzle.
1863
    * Use StallGuard2 to probe the bed with the nozzle.
1866
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1865
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1867
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1866
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1868
    */
1867
    */
1869
-  //#define SENSORLESS_PROBING // TMC2130 only
1868
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1870
 
1869
 
1871
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1870
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1871
+    // TMC2209: 0...255. TMC2130: -64...63
1872
     #define X_STALL_SENSITIVITY  8
1872
     #define X_STALL_SENSITIVITY  8
1873
     #define Y_STALL_SENSITIVITY  8
1873
     #define Y_STALL_SENSITIVITY  8
1874
     //#define Z_STALL_SENSITIVITY  8
1874
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Mks/Robin/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1733
   //#define E5_CS_PIN         -1
1733
   //#define E5_CS_PIN         -1
1734
 
1734
 
1735
   /**
1735
   /**
1736
-   * Use software SPI for TMC2130.
1737
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1738
    * The default SW SPI pins are defined the respective pins files,
1737
    * The default SW SPI pins are defined the respective pins files,
1739
    * but you can override or define them here.
1738
    * but you can override or define them here.
1775
   //#define SOFTWARE_DRIVER_ENABLE
1774
   //#define SOFTWARE_DRIVER_ENABLE
1776
 
1775
 
1777
   /**
1776
   /**
1778
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1777
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1779
    * Use Trinamic's ultra quiet stepping mode.
1778
    * Use Trinamic's ultra quiet stepping mode.
1780
    * When disabled, Marlin will use spreadCycle stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1781
    */
1780
    */
1801
 
1800
 
1802
   /**
1801
   /**
1803
    * Monitor Trinamic drivers for error conditions,
1802
    * Monitor Trinamic drivers for error conditions,
1804
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1803
+   * like overtemperature and short to ground.
1805
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1806
    * Other detected conditions can be used to stop the current print.
1805
    * Other detected conditions can be used to stop the current print.
1807
    * Relevant g-codes:
1806
    * Relevant g-codes:
1819
   #endif
1818
   #endif
1820
 
1819
 
1821
   /**
1820
   /**
1822
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1821
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1823
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1824
    * This mode allows for faster movements at the expense of higher noise levels.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1825
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1842
   #define E5_HYBRID_THRESHOLD     30
1841
   #define E5_HYBRID_THRESHOLD     30
1843
 
1842
 
1844
   /**
1843
   /**
1845
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1844
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1846
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1847
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1848
    * X, Y, and Z homing will always be done in spreadCycle mode.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1854
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1855
    * M914 X/Y/Z to live tune the setting
1854
    * M914 X/Y/Z to live tune the setting
1856
    */
1855
    */
1857
-  //#define SENSORLESS_HOMING // TMC2130 only
1856
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1858
 
1857
 
1859
   /**
1858
   /**
1860
    * Use StallGuard2 to probe the bed with the nozzle.
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1862
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1863
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1864
    */
1863
    */
1865
-  //#define SENSORLESS_PROBING // TMC2130 only
1864
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1866
 
1865
 
1867
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1867
+    // TMC2209: 0...255. TMC2130: -64...63
1868
     #define X_STALL_SENSITIVITY  8
1868
     #define X_STALL_SENSITIVITY  8
1869
     #define Y_STALL_SENSITIVITY  8
1869
     #define Y_STALL_SENSITIVITY  8
1870
     //#define Z_STALL_SENSITIVITY  8
1870
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/RapideLite/RL200/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/TheBorg/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Tronxy/X3A/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/Tronxy/X5S-2E/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/UltiMachine/Archim1/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/VORONDesign/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1745
   //#define E5_CS_PIN         -1
1745
   //#define E5_CS_PIN         -1
1746
 
1746
 
1747
   /**
1747
   /**
1748
-   * Use software SPI for TMC2130.
1749
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1748
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1750
    * The default SW SPI pins are defined the respective pins files,
1749
    * The default SW SPI pins are defined the respective pins files,
1751
    * but you can override or define them here.
1750
    * but you can override or define them here.
1787
   //#define SOFTWARE_DRIVER_ENABLE
1786
   //#define SOFTWARE_DRIVER_ENABLE
1788
 
1787
 
1789
   /**
1788
   /**
1790
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1789
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1791
    * Use Trinamic's ultra quiet stepping mode.
1790
    * Use Trinamic's ultra quiet stepping mode.
1792
    * When disabled, Marlin will use spreadCycle stepping mode.
1791
    * When disabled, Marlin will use spreadCycle stepping mode.
1793
    */
1792
    */
1813
 
1812
 
1814
   /**
1813
   /**
1815
    * Monitor Trinamic drivers for error conditions,
1814
    * Monitor Trinamic drivers for error conditions,
1816
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1815
+   * like overtemperature and short to ground.
1817
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1816
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1818
    * Other detected conditions can be used to stop the current print.
1817
    * Other detected conditions can be used to stop the current print.
1819
    * Relevant g-codes:
1818
    * Relevant g-codes:
1831
   #endif
1830
   #endif
1832
 
1831
 
1833
   /**
1832
   /**
1834
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1833
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1835
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1834
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1836
    * This mode allows for faster movements at the expense of higher noise levels.
1835
    * This mode allows for faster movements at the expense of higher noise levels.
1837
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1836
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1854
   #define E5_HYBRID_THRESHOLD     30
1853
   #define E5_HYBRID_THRESHOLD     30
1855
 
1854
 
1856
   /**
1855
   /**
1857
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1856
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1858
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1857
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1859
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1858
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1860
    * X, Y, and Z homing will always be done in spreadCycle mode.
1859
    * X, Y, and Z homing will always be done in spreadCycle mode.
1866
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1865
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1867
    * M914 X/Y/Z to live tune the setting
1866
    * M914 X/Y/Z to live tune the setting
1868
    */
1867
    */
1869
-  //#define SENSORLESS_HOMING // TMC2130 only
1868
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1870
 
1869
 
1871
   /**
1870
   /**
1872
    * Use StallGuard2 to probe the bed with the nozzle.
1871
    * Use StallGuard2 to probe the bed with the nozzle.
1874
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1873
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1875
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1874
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1876
    */
1875
    */
1877
-  //#define SENSORLESS_PROBING // TMC2130 only
1876
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1878
 
1877
 
1879
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1878
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1879
+    // TMC2209: 0...255. TMC2130: -64...63
1880
     #define X_STALL_SENSITIVITY  8
1880
     #define X_STALL_SENSITIVITY  8
1881
     #define Y_STALL_SENSITIVITY  8
1881
     #define Y_STALL_SENSITIVITY  8
1882
     //#define Z_STALL_SENSITIVITY  8
1882
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/WASP/PowerWASP/Configuration_adv.h View File

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1734
   //#define E5_CS_PIN         -1
1734
   //#define E5_CS_PIN         -1
1735
 
1735
 
1736
   /**
1736
   /**
1737
-   * Use software SPI for TMC2130.
1738
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1739
    * The default SW SPI pins are defined the respective pins files,
1738
    * The default SW SPI pins are defined the respective pins files,
1740
    * but you can override or define them here.
1739
    * but you can override or define them here.
1776
   //#define SOFTWARE_DRIVER_ENABLE
1775
   //#define SOFTWARE_DRIVER_ENABLE
1777
 
1776
 
1778
   /**
1777
   /**
1779
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1778
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1780
    * Use Trinamic's ultra quiet stepping mode.
1779
    * Use Trinamic's ultra quiet stepping mode.
1781
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    * When disabled, Marlin will use spreadCycle stepping mode.
1782
    */
1781
    */
1802
 
1801
 
1803
   /**
1802
   /**
1804
    * Monitor Trinamic drivers for error conditions,
1803
    * Monitor Trinamic drivers for error conditions,
1805
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1804
+   * like overtemperature and short to ground.
1806
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1807
    * Other detected conditions can be used to stop the current print.
1806
    * Other detected conditions can be used to stop the current print.
1808
    * Relevant g-codes:
1807
    * Relevant g-codes:
1820
   #endif
1819
   #endif
1821
 
1820
 
1822
   /**
1821
   /**
1823
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1822
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1824
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1825
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * This mode allows for faster movements at the expense of higher noise levels.
1826
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1825
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1843
   #define E5_HYBRID_THRESHOLD     30
1842
   #define E5_HYBRID_THRESHOLD     30
1844
 
1843
 
1845
   /**
1844
   /**
1846
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1845
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1847
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1848
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1849
    * X, Y, and Z homing will always be done in spreadCycle mode.
1848
    * X, Y, and Z homing will always be done in spreadCycle mode.
1855
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1856
    * M914 X/Y/Z to live tune the setting
1855
    * M914 X/Y/Z to live tune the setting
1857
    */
1856
    */
1858
-  //#define SENSORLESS_HOMING // TMC2130 only
1857
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1859
 
1858
 
1860
   /**
1859
   /**
1861
    * Use StallGuard2 to probe the bed with the nozzle.
1860
    * Use StallGuard2 to probe the bed with the nozzle.
1863
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1864
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1865
    */
1864
    */
1866
-  //#define SENSORLESS_PROBING // TMC2130 only
1865
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1867
 
1866
 
1868
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1867
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1868
+    // TMC2209: 0...255. TMC2130: -64...63
1869
     #define X_STALL_SENSITIVITY  8
1869
     #define X_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/delta/Anycubic/Kossel/Configuration_adv.h View File

1734
   //#define E5_CS_PIN         -1
1734
   //#define E5_CS_PIN         -1
1735
 
1735
 
1736
   /**
1736
   /**
1737
-   * Use software SPI for TMC2130.
1738
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1739
    * The default SW SPI pins are defined the respective pins files,
1738
    * The default SW SPI pins are defined the respective pins files,
1740
    * but you can override or define them here.
1739
    * but you can override or define them here.
1776
   //#define SOFTWARE_DRIVER_ENABLE
1775
   //#define SOFTWARE_DRIVER_ENABLE
1777
 
1776
 
1778
   /**
1777
   /**
1779
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1778
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1780
    * Use Trinamic's ultra quiet stepping mode.
1779
    * Use Trinamic's ultra quiet stepping mode.
1781
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    * When disabled, Marlin will use spreadCycle stepping mode.
1782
    */
1781
    */
1802
 
1801
 
1803
   /**
1802
   /**
1804
    * Monitor Trinamic drivers for error conditions,
1803
    * Monitor Trinamic drivers for error conditions,
1805
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1804
+   * like overtemperature and short to ground.
1806
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1807
    * Other detected conditions can be used to stop the current print.
1806
    * Other detected conditions can be used to stop the current print.
1808
    * Relevant g-codes:
1807
    * Relevant g-codes:
1820
   #endif
1819
   #endif
1821
 
1820
 
1822
   /**
1821
   /**
1823
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1822
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1824
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1825
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * This mode allows for faster movements at the expense of higher noise levels.
1826
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1825
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1843
   #define E5_HYBRID_THRESHOLD     30
1842
   #define E5_HYBRID_THRESHOLD     30
1844
 
1843
 
1845
   /**
1844
   /**
1846
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1845
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1847
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1848
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1849
    * X, Y, and Z homing will always be done in spreadCycle mode.
1848
    * X, Y, and Z homing will always be done in spreadCycle mode.
1855
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1856
    * M914 X/Y/Z to live tune the setting
1855
    * M914 X/Y/Z to live tune the setting
1857
    */
1856
    */
1858
-  //#define SENSORLESS_HOMING // TMC2130 only
1857
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1859
 
1858
 
1860
   /**
1859
   /**
1861
    * Use StallGuard2 to probe the bed with the nozzle.
1860
    * Use StallGuard2 to probe the bed with the nozzle.
1863
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1864
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1865
    */
1864
    */
1866
-  //#define SENSORLESS_PROBING // TMC2130 only
1865
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1867
 
1866
 
1868
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1867
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1868
+    // TMC2209: 0...255. TMC2130: -64...63
1869
     #define X_STALL_SENSITIVITY  8
1869
     #define X_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8

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

1734
   //#define E5_CS_PIN         -1
1734
   //#define E5_CS_PIN         -1
1735
 
1735
 
1736
   /**
1736
   /**
1737
-   * Use software SPI for TMC2130.
1738
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1739
    * The default SW SPI pins are defined the respective pins files,
1738
    * The default SW SPI pins are defined the respective pins files,
1740
    * but you can override or define them here.
1739
    * but you can override or define them here.
1776
   //#define SOFTWARE_DRIVER_ENABLE
1775
   //#define SOFTWARE_DRIVER_ENABLE
1777
 
1776
 
1778
   /**
1777
   /**
1779
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1778
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1780
    * Use Trinamic's ultra quiet stepping mode.
1779
    * Use Trinamic's ultra quiet stepping mode.
1781
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    * When disabled, Marlin will use spreadCycle stepping mode.
1782
    */
1781
    */
1802
 
1801
 
1803
   /**
1802
   /**
1804
    * Monitor Trinamic drivers for error conditions,
1803
    * Monitor Trinamic drivers for error conditions,
1805
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1804
+   * like overtemperature and short to ground.
1806
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1807
    * Other detected conditions can be used to stop the current print.
1806
    * Other detected conditions can be used to stop the current print.
1808
    * Relevant g-codes:
1807
    * Relevant g-codes:
1820
   #endif
1819
   #endif
1821
 
1820
 
1822
   /**
1821
   /**
1823
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1822
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1824
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1825
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * This mode allows for faster movements at the expense of higher noise levels.
1826
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1825
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1843
   #define E5_HYBRID_THRESHOLD     30
1842
   #define E5_HYBRID_THRESHOLD     30
1844
 
1843
 
1845
   /**
1844
   /**
1846
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1845
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1847
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1848
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1849
    * X, Y, and Z homing will always be done in spreadCycle mode.
1848
    * X, Y, and Z homing will always be done in spreadCycle mode.
1855
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1856
    * M914 X/Y/Z to live tune the setting
1855
    * M914 X/Y/Z to live tune the setting
1857
    */
1856
    */
1858
-  //#define SENSORLESS_HOMING // TMC2130 only
1857
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1859
 
1858
 
1860
   /**
1859
   /**
1861
    * Use StallGuard2 to probe the bed with the nozzle.
1860
    * Use StallGuard2 to probe the bed with the nozzle.
1863
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1864
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1865
    */
1864
    */
1866
-  //#define SENSORLESS_PROBING // TMC2130 only
1865
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1867
 
1866
 
1868
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1867
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1868
+    // TMC2209: 0...255. TMC2130: -64...63
1869
     #define X_STALL_SENSITIVITY  8
1869
     #define X_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/delta/FLSUN/kossel/Configuration_adv.h View File

1734
   //#define E5_CS_PIN         -1
1734
   //#define E5_CS_PIN         -1
1735
 
1735
 
1736
   /**
1736
   /**
1737
-   * Use software SPI for TMC2130.
1738
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1739
    * The default SW SPI pins are defined the respective pins files,
1738
    * The default SW SPI pins are defined the respective pins files,
1740
    * but you can override or define them here.
1739
    * but you can override or define them here.
1776
   //#define SOFTWARE_DRIVER_ENABLE
1775
   //#define SOFTWARE_DRIVER_ENABLE
1777
 
1776
 
1778
   /**
1777
   /**
1779
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1778
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1780
    * Use Trinamic's ultra quiet stepping mode.
1779
    * Use Trinamic's ultra quiet stepping mode.
1781
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    * When disabled, Marlin will use spreadCycle stepping mode.
1782
    */
1781
    */
1802
 
1801
 
1803
   /**
1802
   /**
1804
    * Monitor Trinamic drivers for error conditions,
1803
    * Monitor Trinamic drivers for error conditions,
1805
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1804
+   * like overtemperature and short to ground.
1806
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1807
    * Other detected conditions can be used to stop the current print.
1806
    * Other detected conditions can be used to stop the current print.
1808
    * Relevant g-codes:
1807
    * Relevant g-codes:
1820
   #endif
1819
   #endif
1821
 
1820
 
1822
   /**
1821
   /**
1823
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1822
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1824
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1825
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * This mode allows for faster movements at the expense of higher noise levels.
1826
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1825
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1843
   #define E5_HYBRID_THRESHOLD     30
1842
   #define E5_HYBRID_THRESHOLD     30
1844
 
1843
 
1845
   /**
1844
   /**
1846
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1845
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1847
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1848
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1849
    * X, Y, and Z homing will always be done in spreadCycle mode.
1848
    * X, Y, and Z homing will always be done in spreadCycle mode.
1855
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1856
    * M914 X/Y/Z to live tune the setting
1855
    * M914 X/Y/Z to live tune the setting
1857
    */
1856
    */
1858
-  //#define SENSORLESS_HOMING // TMC2130 only
1857
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1859
 
1858
 
1860
   /**
1859
   /**
1861
    * Use StallGuard2 to probe the bed with the nozzle.
1860
    * Use StallGuard2 to probe the bed with the nozzle.
1863
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1864
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1865
    */
1864
    */
1866
-  //#define SENSORLESS_PROBING // TMC2130 only
1865
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1867
 
1866
 
1868
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1867
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1868
+    // TMC2209: 0...255. TMC2130: -64...63
1869
     #define X_STALL_SENSITIVITY  8
1869
     #define X_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8

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

1734
   //#define E5_CS_PIN         -1
1734
   //#define E5_CS_PIN         -1
1735
 
1735
 
1736
   /**
1736
   /**
1737
-   * Use software SPI for TMC2130.
1738
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1739
    * The default SW SPI pins are defined the respective pins files,
1738
    * The default SW SPI pins are defined the respective pins files,
1740
    * but you can override or define them here.
1739
    * but you can override or define them here.
1776
   //#define SOFTWARE_DRIVER_ENABLE
1775
   //#define SOFTWARE_DRIVER_ENABLE
1777
 
1776
 
1778
   /**
1777
   /**
1779
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1778
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1780
    * Use Trinamic's ultra quiet stepping mode.
1779
    * Use Trinamic's ultra quiet stepping mode.
1781
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    * When disabled, Marlin will use spreadCycle stepping mode.
1782
    */
1781
    */
1802
 
1801
 
1803
   /**
1802
   /**
1804
    * Monitor Trinamic drivers for error conditions,
1803
    * Monitor Trinamic drivers for error conditions,
1805
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1804
+   * like overtemperature and short to ground.
1806
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1807
    * Other detected conditions can be used to stop the current print.
1806
    * Other detected conditions can be used to stop the current print.
1808
    * Relevant g-codes:
1807
    * Relevant g-codes:
1820
   #endif
1819
   #endif
1821
 
1820
 
1822
   /**
1821
   /**
1823
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1822
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1824
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1825
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * This mode allows for faster movements at the expense of higher noise levels.
1826
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1825
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1843
   #define E5_HYBRID_THRESHOLD     30
1842
   #define E5_HYBRID_THRESHOLD     30
1844
 
1843
 
1845
   /**
1844
   /**
1846
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1845
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1847
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1848
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1849
    * X, Y, and Z homing will always be done in spreadCycle mode.
1848
    * X, Y, and Z homing will always be done in spreadCycle mode.
1855
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1856
    * M914 X/Y/Z to live tune the setting
1855
    * M914 X/Y/Z to live tune the setting
1857
    */
1856
    */
1858
-  //#define SENSORLESS_HOMING // TMC2130 only
1857
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1859
 
1858
 
1860
   /**
1859
   /**
1861
    * Use StallGuard2 to probe the bed with the nozzle.
1860
    * Use StallGuard2 to probe the bed with the nozzle.
1863
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1864
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1865
    */
1864
    */
1866
-  //#define SENSORLESS_PROBING // TMC2130 only
1865
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1867
 
1866
 
1868
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1867
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1868
+    // TMC2209: 0...255. TMC2130: -64...63
1869
     #define X_STALL_SENSITIVITY  8
1869
     #define X_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h View File

1734
   //#define E5_CS_PIN         -1
1734
   //#define E5_CS_PIN         -1
1735
 
1735
 
1736
   /**
1736
   /**
1737
-   * Use software SPI for TMC2130.
1738
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1739
    * The default SW SPI pins are defined the respective pins files,
1738
    * The default SW SPI pins are defined the respective pins files,
1740
    * but you can override or define them here.
1739
    * but you can override or define them here.
1776
   //#define SOFTWARE_DRIVER_ENABLE
1775
   //#define SOFTWARE_DRIVER_ENABLE
1777
 
1776
 
1778
   /**
1777
   /**
1779
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1778
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1780
    * Use Trinamic's ultra quiet stepping mode.
1779
    * Use Trinamic's ultra quiet stepping mode.
1781
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    * When disabled, Marlin will use spreadCycle stepping mode.
1782
    */
1781
    */
1802
 
1801
 
1803
   /**
1802
   /**
1804
    * Monitor Trinamic drivers for error conditions,
1803
    * Monitor Trinamic drivers for error conditions,
1805
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1804
+   * like overtemperature and short to ground.
1806
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1807
    * Other detected conditions can be used to stop the current print.
1806
    * Other detected conditions can be used to stop the current print.
1808
    * Relevant g-codes:
1807
    * Relevant g-codes:
1820
   #endif
1819
   #endif
1821
 
1820
 
1822
   /**
1821
   /**
1823
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1822
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1824
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1825
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * This mode allows for faster movements at the expense of higher noise levels.
1826
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1825
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1843
   #define E5_HYBRID_THRESHOLD     30
1842
   #define E5_HYBRID_THRESHOLD     30
1844
 
1843
 
1845
   /**
1844
   /**
1846
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1845
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1847
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1848
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1849
    * X, Y, and Z homing will always be done in spreadCycle mode.
1848
    * X, Y, and Z homing will always be done in spreadCycle mode.
1855
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1856
    * M914 X/Y/Z to live tune the setting
1855
    * M914 X/Y/Z to live tune the setting
1857
    */
1856
    */
1858
-  //#define SENSORLESS_HOMING // TMC2130 only
1857
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1859
 
1858
 
1860
   /**
1859
   /**
1861
    * Use StallGuard2 to probe the bed with the nozzle.
1860
    * Use StallGuard2 to probe the bed with the nozzle.
1863
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1864
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1865
    */
1864
    */
1866
-  //#define SENSORLESS_PROBING // TMC2130 only
1865
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1867
 
1866
 
1868
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1867
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1868
+    // TMC2209: 0...255. TMC2130: -64...63
1869
     #define X_STALL_SENSITIVITY  8
1869
     #define X_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/delta/MKS/SBASE/Configuration_adv.h View File

1734
   //#define E5_CS_PIN         -1
1734
   //#define E5_CS_PIN         -1
1735
 
1735
 
1736
   /**
1736
   /**
1737
-   * Use software SPI for TMC2130.
1738
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1739
    * The default SW SPI pins are defined the respective pins files,
1738
    * The default SW SPI pins are defined the respective pins files,
1740
    * but you can override or define them here.
1739
    * but you can override or define them here.
1776
   //#define SOFTWARE_DRIVER_ENABLE
1775
   //#define SOFTWARE_DRIVER_ENABLE
1777
 
1776
 
1778
   /**
1777
   /**
1779
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1778
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1780
    * Use Trinamic's ultra quiet stepping mode.
1779
    * Use Trinamic's ultra quiet stepping mode.
1781
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    * When disabled, Marlin will use spreadCycle stepping mode.
1782
    */
1781
    */
1802
 
1801
 
1803
   /**
1802
   /**
1804
    * Monitor Trinamic drivers for error conditions,
1803
    * Monitor Trinamic drivers for error conditions,
1805
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1804
+   * like overtemperature and short to ground.
1806
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1807
    * Other detected conditions can be used to stop the current print.
1806
    * Other detected conditions can be used to stop the current print.
1808
    * Relevant g-codes:
1807
    * Relevant g-codes:
1820
   #endif
1819
   #endif
1821
 
1820
 
1822
   /**
1821
   /**
1823
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1822
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1824
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1825
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * This mode allows for faster movements at the expense of higher noise levels.
1826
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1825
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1843
   #define E5_HYBRID_THRESHOLD     30
1842
   #define E5_HYBRID_THRESHOLD     30
1844
 
1843
 
1845
   /**
1844
   /**
1846
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1845
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1847
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1848
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1849
    * X, Y, and Z homing will always be done in spreadCycle mode.
1848
    * X, Y, and Z homing will always be done in spreadCycle mode.
1855
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1856
    * M914 X/Y/Z to live tune the setting
1855
    * M914 X/Y/Z to live tune the setting
1857
    */
1856
    */
1858
-  //#define SENSORLESS_HOMING // TMC2130 only
1857
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1859
 
1858
 
1860
   /**
1859
   /**
1861
    * Use StallGuard2 to probe the bed with the nozzle.
1860
    * Use StallGuard2 to probe the bed with the nozzle.
1863
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1864
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1865
    */
1864
    */
1866
-  //#define SENSORLESS_PROBING // TMC2130 only
1865
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1867
 
1866
 
1868
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1867
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1868
+    // TMC2209: 0...255. TMC2130: -64...63
1869
     #define X_STALL_SENSITIVITY  8
1869
     #define X_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8

+ 7
- 7
config/examples/delta/Tevo Little Monster/Configuration_adv.h View File

1734
   //#define E5_CS_PIN         -1
1734
   //#define E5_CS_PIN         -1
1735
 
1735
 
1736
   /**
1736
   /**
1737
-   * Use software SPI for TMC2130.
1738
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1739
    * The default SW SPI pins are defined the respective pins files,
1738
    * The default SW SPI pins are defined the respective pins files,
1740
    * but you can override or define them here.
1739
    * but you can override or define them here.
1776
   //#define SOFTWARE_DRIVER_ENABLE
1775
   //#define SOFTWARE_DRIVER_ENABLE
1777
 
1776
 
1778
   /**
1777
   /**
1779
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1778
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1780
    * Use Trinamic's ultra quiet stepping mode.
1779
    * Use Trinamic's ultra quiet stepping mode.
1781
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    * When disabled, Marlin will use spreadCycle stepping mode.
1782
    */
1781
    */
1802
 
1801
 
1803
   /**
1802
   /**
1804
    * Monitor Trinamic drivers for error conditions,
1803
    * Monitor Trinamic drivers for error conditions,
1805
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1804
+   * like overtemperature and short to ground.
1806
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1807
    * Other detected conditions can be used to stop the current print.
1806
    * Other detected conditions can be used to stop the current print.
1808
    * Relevant g-codes:
1807
    * Relevant g-codes:
1820
   #endif
1819
   #endif
1821
 
1820
 
1822
   /**
1821
   /**
1823
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1822
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1824
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1825
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * This mode allows for faster movements at the expense of higher noise levels.
1826
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1825
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1843
   #define E5_HYBRID_THRESHOLD     30
1842
   #define E5_HYBRID_THRESHOLD     30
1844
 
1843
 
1845
   /**
1844
   /**
1846
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1845
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1847
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1848
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1849
    * X, Y, and Z homing will always be done in spreadCycle mode.
1848
    * X, Y, and Z homing will always be done in spreadCycle mode.
1855
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1856
    * M914 X/Y/Z to live tune the setting
1855
    * M914 X/Y/Z to live tune the setting
1857
    */
1856
    */
1858
-  //#define SENSORLESS_HOMING // TMC2130 only
1857
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1859
 
1858
 
1860
   /**
1859
   /**
1861
    * Use StallGuard2 to probe the bed with the nozzle.
1860
    * Use StallGuard2 to probe the bed with the nozzle.
1863
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1864
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1865
    */
1864
    */
1866
-  //#define SENSORLESS_PROBING // TMC2130 only
1865
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1867
 
1866
 
1868
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1867
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1868
+    // TMC2209: 0...255. TMC2130: -64...63
1869
     #define X_STALL_SENSITIVITY  8
1869
     #define X_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8

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

1734
   //#define E5_CS_PIN         -1
1734
   //#define E5_CS_PIN         -1
1735
 
1735
 
1736
   /**
1736
   /**
1737
-   * Use software SPI for TMC2130.
1738
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1739
    * The default SW SPI pins are defined the respective pins files,
1738
    * The default SW SPI pins are defined the respective pins files,
1740
    * but you can override or define them here.
1739
    * but you can override or define them here.
1776
   //#define SOFTWARE_DRIVER_ENABLE
1775
   //#define SOFTWARE_DRIVER_ENABLE
1777
 
1776
 
1778
   /**
1777
   /**
1779
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1778
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1780
    * Use Trinamic's ultra quiet stepping mode.
1779
    * Use Trinamic's ultra quiet stepping mode.
1781
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    * When disabled, Marlin will use spreadCycle stepping mode.
1782
    */
1781
    */
1802
 
1801
 
1803
   /**
1802
   /**
1804
    * Monitor Trinamic drivers for error conditions,
1803
    * Monitor Trinamic drivers for error conditions,
1805
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1804
+   * like overtemperature and short to ground.
1806
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1807
    * Other detected conditions can be used to stop the current print.
1806
    * Other detected conditions can be used to stop the current print.
1808
    * Relevant g-codes:
1807
    * Relevant g-codes:
1820
   #endif
1819
   #endif
1821
 
1820
 
1822
   /**
1821
   /**
1823
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1822
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1824
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1825
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * This mode allows for faster movements at the expense of higher noise levels.
1826
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1825
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1843
   #define E5_HYBRID_THRESHOLD     30
1842
   #define E5_HYBRID_THRESHOLD     30
1844
 
1843
 
1845
   /**
1844
   /**
1846
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1845
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1847
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1848
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1849
    * X, Y, and Z homing will always be done in spreadCycle mode.
1848
    * X, Y, and Z homing will always be done in spreadCycle mode.
1855
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1856
    * M914 X/Y/Z to live tune the setting
1855
    * M914 X/Y/Z to live tune the setting
1857
    */
1856
    */
1858
-  //#define SENSORLESS_HOMING // TMC2130 only
1857
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1859
 
1858
 
1860
   /**
1859
   /**
1861
    * Use StallGuard2 to probe the bed with the nozzle.
1860
    * Use StallGuard2 to probe the bed with the nozzle.
1863
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1864
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1865
    */
1864
    */
1866
-  //#define SENSORLESS_PROBING // TMC2130 only
1865
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1867
 
1866
 
1868
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1867
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1868
+    // TMC2209: 0...255. TMC2130: -64...63
1869
     #define X_STALL_SENSITIVITY  8
1869
     #define X_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8

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

1734
   //#define E5_CS_PIN         -1
1734
   //#define E5_CS_PIN         -1
1735
 
1735
 
1736
   /**
1736
   /**
1737
-   * Use software SPI for TMC2130.
1738
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1739
    * The default SW SPI pins are defined the respective pins files,
1738
    * The default SW SPI pins are defined the respective pins files,
1740
    * but you can override or define them here.
1739
    * but you can override or define them here.
1776
   //#define SOFTWARE_DRIVER_ENABLE
1775
   //#define SOFTWARE_DRIVER_ENABLE
1777
 
1776
 
1778
   /**
1777
   /**
1779
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1778
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1780
    * Use Trinamic's ultra quiet stepping mode.
1779
    * Use Trinamic's ultra quiet stepping mode.
1781
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    * When disabled, Marlin will use spreadCycle stepping mode.
1782
    */
1781
    */
1802
 
1801
 
1803
   /**
1802
   /**
1804
    * Monitor Trinamic drivers for error conditions,
1803
    * Monitor Trinamic drivers for error conditions,
1805
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1804
+   * like overtemperature and short to ground.
1806
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1807
    * Other detected conditions can be used to stop the current print.
1806
    * Other detected conditions can be used to stop the current print.
1808
    * Relevant g-codes:
1807
    * Relevant g-codes:
1820
   #endif
1819
   #endif
1821
 
1820
 
1822
   /**
1821
   /**
1823
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1822
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1824
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1825
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * This mode allows for faster movements at the expense of higher noise levels.
1826
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1825
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1843
   #define E5_HYBRID_THRESHOLD     30
1842
   #define E5_HYBRID_THRESHOLD     30
1844
 
1843
 
1845
   /**
1844
   /**
1846
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1845
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1847
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1848
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1849
    * X, Y, and Z homing will always be done in spreadCycle mode.
1848
    * X, Y, and Z homing will always be done in spreadCycle mode.
1855
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1856
    * M914 X/Y/Z to live tune the setting
1855
    * M914 X/Y/Z to live tune the setting
1857
    */
1856
    */
1858
-  //#define SENSORLESS_HOMING // TMC2130 only
1857
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1859
 
1858
 
1860
   /**
1859
   /**
1861
    * Use StallGuard2 to probe the bed with the nozzle.
1860
    * Use StallGuard2 to probe the bed with the nozzle.
1863
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1864
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1865
    */
1864
    */
1866
-  //#define SENSORLESS_PROBING // TMC2130 only
1865
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1867
 
1866
 
1868
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1867
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1868
+    // TMC2209: 0...255. TMC2130: -64...63
1869
     #define X_STALL_SENSITIVITY  8
1869
     #define X_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8

+ 38
- 38
config/examples/delta/kossel_xl/Configuration.h View File

946
   // 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
946
   // 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
947
   // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
947
   // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
948
 
948
 
949
-  //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_X 30.0
950
-  //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y DELTA_PRINTABLE_RADIUS
951
-  //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
952
-  //#define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE XY_PROBE_SPEED
953
-
954
-  //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_X 0.0
955
-  //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y DELTA_PRINTABLE_RADIUS
956
-  //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
957
-  //#define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_PROBE_SPEED)/10
958
-
959
-  //#define Z_PROBE_ALLEN_KEY_DEPLOY_3_X Z_PROBE_ALLEN_KEY_DEPLOY_2_X * 0.75
960
-  //#define Z_PROBE_ALLEN_KEY_DEPLOY_3_Y Z_PROBE_ALLEN_KEY_DEPLOY_2_Y * 0.75
961
-  //#define Z_PROBE_ALLEN_KEY_DEPLOY_3_Z Z_PROBE_ALLEN_KEY_DEPLOY_2_Z
962
-  //#define Z_PROBE_ALLEN_KEY_DEPLOY_3_FEEDRATE XY_PROBE_SPEED
963
-
964
-  //#define Z_PROBE_ALLEN_KEY_STOW_1_X -64.0 // Move the probe into position
965
-  //#define Z_PROBE_ALLEN_KEY_STOW_1_Y 56.0
966
-  //#define Z_PROBE_ALLEN_KEY_STOW_1_Z 23.0
967
-  //#define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE XY_PROBE_SPEED
968
-
969
-  //#define Z_PROBE_ALLEN_KEY_STOW_2_X -64.0 // Push it down
970
-  //#define Z_PROBE_ALLEN_KEY_STOW_2_Y 56.0
971
-  //#define Z_PROBE_ALLEN_KEY_STOW_2_Z 3.0
972
-  //#define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (XY_PROBE_SPEED)/10
973
-
974
-  //#define Z_PROBE_ALLEN_KEY_STOW_3_X -64.0 // Move it up to clear
975
-  //#define Z_PROBE_ALLEN_KEY_STOW_3_Y 56.0
976
-  //#define Z_PROBE_ALLEN_KEY_STOW_3_Z 50.0
977
-  //#define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE XY_PROBE_SPEED
978
-
979
-  //#define Z_PROBE_ALLEN_KEY_STOW_4_X 0.0
980
-  //#define Z_PROBE_ALLEN_KEY_STOW_4_Y 0.0
981
-  //#define Z_PROBE_ALLEN_KEY_STOW_4_Z Z_PROBE_ALLEN_KEY_STOW_3_Z
982
-  //#define Z_PROBE_ALLEN_KEY_STOW_4_FEEDRATE XY_PROBE_SPEED
949
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_X 30.0
950
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y DELTA_PRINTABLE_RADIUS
951
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
952
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE XY_PROBE_SPEED
953
+
954
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_X 0.0
955
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y DELTA_PRINTABLE_RADIUS
956
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
957
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_PROBE_SPEED)/10
958
+
959
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_3_X Z_PROBE_ALLEN_KEY_DEPLOY_2_X * 0.75
960
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_3_Y Z_PROBE_ALLEN_KEY_DEPLOY_2_Y * 0.75
961
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_3_Z Z_PROBE_ALLEN_KEY_DEPLOY_2_Z
962
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_3_FEEDRATE XY_PROBE_SPEED
963
+
964
+  #define Z_PROBE_ALLEN_KEY_STOW_1_X -64.0 // Move the probe into position
965
+  #define Z_PROBE_ALLEN_KEY_STOW_1_Y 56.0
966
+  #define Z_PROBE_ALLEN_KEY_STOW_1_Z 23.0
967
+  #define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE XY_PROBE_SPEED
968
+
969
+  #define Z_PROBE_ALLEN_KEY_STOW_2_X -64.0 // Push it down
970
+  #define Z_PROBE_ALLEN_KEY_STOW_2_Y 56.0
971
+  #define Z_PROBE_ALLEN_KEY_STOW_2_Z 3.0
972
+  #define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (XY_PROBE_SPEED)/10
973
+
974
+  #define Z_PROBE_ALLEN_KEY_STOW_3_X -64.0 // Move it up to clear
975
+  #define Z_PROBE_ALLEN_KEY_STOW_3_Y 56.0
976
+  #define Z_PROBE_ALLEN_KEY_STOW_3_Z 50.0
977
+  #define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE XY_PROBE_SPEED
978
+
979
+  #define Z_PROBE_ALLEN_KEY_STOW_4_X 0.0
980
+  #define Z_PROBE_ALLEN_KEY_STOW_4_Y 0.0
981
+  #define Z_PROBE_ALLEN_KEY_STOW_4_Z Z_PROBE_ALLEN_KEY_STOW_3_Z
982
+  #define Z_PROBE_ALLEN_KEY_STOW_4_FEEDRATE XY_PROBE_SPEED
983
 
983
 
984
 #endif // Z_PROBE_ALLEN_KEY
984
 #endif // Z_PROBE_ALLEN_KEY
985
 
985
 
1298
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1298
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1299
 
1299
 
1300
   // Set the boundaries for probing (where the probe can reach).
1300
   // Set the boundaries for probing (where the probe can reach).
1301
-  //#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS + MIN_PROBE_EDGE)
1302
-  //#define RIGHT_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS - (MIN_PROBE_EDGE)
1303
-  //#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS + MIN_PROBE_EDGE)
1304
-  //#define BACK_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS - (MIN_PROBE_EDGE)
1301
+  //#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE))
1302
+  //#define RIGHT_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)
1303
+  //#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE))
1304
+  //#define BACK_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)
1305
 
1305
 
1306
   // Probe along the Y axis, advancing X after each column
1306
   // Probe along the Y axis, advancing X after each column
1307
   //#define PROBE_Y_FIRST
1307
   //#define PROBE_Y_FIRST

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

1734
   //#define E5_CS_PIN         -1
1734
   //#define E5_CS_PIN         -1
1735
 
1735
 
1736
   /**
1736
   /**
1737
-   * Use software SPI for TMC2130.
1738
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1739
    * The default SW SPI pins are defined the respective pins files,
1738
    * The default SW SPI pins are defined the respective pins files,
1740
    * but you can override or define them here.
1739
    * but you can override or define them here.
1776
   //#define SOFTWARE_DRIVER_ENABLE
1775
   //#define SOFTWARE_DRIVER_ENABLE
1777
 
1776
 
1778
   /**
1777
   /**
1779
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1778
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1780
    * Use Trinamic's ultra quiet stepping mode.
1779
    * Use Trinamic's ultra quiet stepping mode.
1781
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    * When disabled, Marlin will use spreadCycle stepping mode.
1782
    */
1781
    */
1802
 
1801
 
1803
   /**
1802
   /**
1804
    * Monitor Trinamic drivers for error conditions,
1803
    * Monitor Trinamic drivers for error conditions,
1805
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1804
+   * like overtemperature and short to ground.
1806
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1807
    * Other detected conditions can be used to stop the current print.
1806
    * Other detected conditions can be used to stop the current print.
1808
    * Relevant g-codes:
1807
    * Relevant g-codes:
1820
   #endif
1819
   #endif
1821
 
1820
 
1822
   /**
1821
   /**
1823
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1822
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1824
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1825
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * This mode allows for faster movements at the expense of higher noise levels.
1826
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1825
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1843
   #define E5_HYBRID_THRESHOLD     30
1842
   #define E5_HYBRID_THRESHOLD     30
1844
 
1843
 
1845
   /**
1844
   /**
1846
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1845
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1847
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1848
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1849
    * X, Y, and Z homing will always be done in spreadCycle mode.
1848
    * X, Y, and Z homing will always be done in spreadCycle mode.
1855
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1856
    * M914 X/Y/Z to live tune the setting
1855
    * M914 X/Y/Z to live tune the setting
1857
    */
1856
    */
1858
-  //#define SENSORLESS_HOMING // TMC2130 only
1857
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1859
 
1858
 
1860
   /**
1859
   /**
1861
    * Use StallGuard2 to probe the bed with the nozzle.
1860
    * Use StallGuard2 to probe the bed with the nozzle.
1863
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1864
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1865
    */
1864
    */
1866
-  //#define SENSORLESS_PROBING // TMC2130 only
1865
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1867
 
1866
 
1868
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1867
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1868
+    // TMC2209: 0...255. TMC2130: -64...63
1869
     #define X_STALL_SENSITIVITY  8
1869
     #define X_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1870
     #define Y_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8
1871
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1732
   //#define E5_CS_PIN         -1
1732
   //#define E5_CS_PIN         -1
1733
 
1733
 
1734
   /**
1734
   /**
1735
-   * Use software SPI for TMC2130.
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1735
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1737
    * The default SW SPI pins are defined the respective pins files,
1736
    * The default SW SPI pins are defined the respective pins files,
1738
    * but you can override or define them here.
1737
    * but you can override or define them here.
1774
   //#define SOFTWARE_DRIVER_ENABLE
1773
   //#define SOFTWARE_DRIVER_ENABLE
1775
 
1774
 
1776
   /**
1775
   /**
1777
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1776
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1778
    * Use Trinamic's ultra quiet stepping mode.
1777
    * Use Trinamic's ultra quiet stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1778
    * When disabled, Marlin will use spreadCycle stepping mode.
1780
    */
1779
    */
1800
 
1799
 
1801
   /**
1800
   /**
1802
    * Monitor Trinamic drivers for error conditions,
1801
    * Monitor Trinamic drivers for error conditions,
1803
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1802
+   * like overtemperature and short to ground.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1803
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1805
    * Other detected conditions can be used to stop the current print.
1804
    * Other detected conditions can be used to stop the current print.
1806
    * Relevant g-codes:
1805
    * Relevant g-codes:
1818
   #endif
1817
   #endif
1819
 
1818
 
1820
   /**
1819
   /**
1821
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1820
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1821
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1822
    * This mode allows for faster movements at the expense of higher noise levels.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1823
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1841
   #define E5_HYBRID_THRESHOLD     30
1840
   #define E5_HYBRID_THRESHOLD     30
1842
 
1841
 
1843
   /**
1842
   /**
1844
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1843
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1844
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1845
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1846
    * X, Y, and Z homing will always be done in spreadCycle mode.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1852
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1854
    * M914 X/Y/Z to live tune the setting
1853
    * M914 X/Y/Z to live tune the setting
1855
    */
1854
    */
1856
-  //#define SENSORLESS_HOMING // TMC2130 only
1855
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1857
 
1856
 
1858
   /**
1857
   /**
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1858
    * Use StallGuard2 to probe the bed with the nozzle.
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1860
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1861
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1863
    */
1862
    */
1864
-  //#define SENSORLESS_PROBING // TMC2130 only
1863
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1865
 
1864
 
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1865
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
+    // TMC2209: 0...255. TMC2130: -64...63
1867
     #define X_STALL_SENSITIVITY  8
1867
     #define X_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1868
     #define Y_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8
1869
     //#define Z_STALL_SENSITIVITY  8

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

1733
   //#define E5_CS_PIN         -1
1733
   //#define E5_CS_PIN         -1
1734
 
1734
 
1735
   /**
1735
   /**
1736
-   * Use software SPI for TMC2130.
1737
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1736
    * Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
1738
    * The default SW SPI pins are defined the respective pins files,
1737
    * The default SW SPI pins are defined the respective pins files,
1739
    * but you can override or define them here.
1738
    * but you can override or define them here.
1775
   //#define SOFTWARE_DRIVER_ENABLE
1774
   //#define SOFTWARE_DRIVER_ENABLE
1776
 
1775
 
1777
   /**
1776
   /**
1778
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1777
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1779
    * Use Trinamic's ultra quiet stepping mode.
1778
    * Use Trinamic's ultra quiet stepping mode.
1780
    * When disabled, Marlin will use spreadCycle stepping mode.
1779
    * When disabled, Marlin will use spreadCycle stepping mode.
1781
    */
1780
    */
1801
 
1800
 
1802
   /**
1801
   /**
1803
    * Monitor Trinamic drivers for error conditions,
1802
    * Monitor Trinamic drivers for error conditions,
1804
-   * like overtemperature and short to ground. TMC2208 requires hardware serial.
1803
+   * like overtemperature and short to ground.
1805
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1804
    * In the case of overtemperature Marlin can decrease the driver current until error condition clears.
1806
    * Other detected conditions can be used to stop the current print.
1805
    * Other detected conditions can be used to stop the current print.
1807
    * Relevant g-codes:
1806
    * Relevant g-codes:
1819
   #endif
1818
   #endif
1820
 
1819
 
1821
   /**
1820
   /**
1822
-   * TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
1821
+   * TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
1823
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1822
    * The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
1824
    * This mode allows for faster movements at the expense of higher noise levels.
1823
    * This mode allows for faster movements at the expense of higher noise levels.
1825
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1824
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1842
   #define E5_HYBRID_THRESHOLD     30
1841
   #define E5_HYBRID_THRESHOLD     30
1843
 
1842
 
1844
   /**
1843
   /**
1845
-   * TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
1844
+   * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1846
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1845
    * Use StallGuard2 to sense an obstacle and trigger an endstop.
1847
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1846
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1848
    * X, Y, and Z homing will always be done in spreadCycle mode.
1847
    * X, Y, and Z homing will always be done in spreadCycle mode.
1854
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1853
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1855
    * M914 X/Y/Z to live tune the setting
1854
    * M914 X/Y/Z to live tune the setting
1856
    */
1855
    */
1857
-  //#define SENSORLESS_HOMING // TMC2130 only
1856
+  //#define SENSORLESS_HOMING // StallGuard capable drivers only
1858
 
1857
 
1859
   /**
1858
   /**
1860
    * Use StallGuard2 to probe the bed with the nozzle.
1859
    * Use StallGuard2 to probe the bed with the nozzle.
1862
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1861
    * CAUTION: This could cause damage to machines that use a lead screw or threaded rod
1863
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1862
    *          to move the Z axis. Take extreme care when attempting to enable this feature.
1864
    */
1863
    */
1865
-  //#define SENSORLESS_PROBING // TMC2130 only
1864
+  //#define SENSORLESS_PROBING // StallGuard capable drivers only
1866
 
1865
 
1867
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1866
   #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
1867
+    // TMC2209: 0...255. TMC2130: -64...63
1868
     #define X_STALL_SENSITIVITY  8
1868
     #define X_STALL_SENSITIVITY  8
1869
     #define Y_STALL_SENSITIVITY  8
1869
     #define Y_STALL_SENSITIVITY  8
1870
     //#define Z_STALL_SENSITIVITY  8
1870
     //#define Z_STALL_SENSITIVITY  8

Loading…
Cancel
Save