瀏覽代碼

Update configs with new sensorless options

Followup to #14044
Scott Lahteine 5 年之前
父節點
當前提交
1fe195926f
共有 96 個檔案被更改,包括 1632 行新增672 行删除
  1. 17
    7
      config/default/Configuration_adv.h
  2. 17
    7
      config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  3. 17
    7
      config/examples/AlephObjects/TAZ4/Configuration_adv.h
  4. 17
    7
      config/examples/Alfawise/U20/Configuration_adv.h
  5. 17
    7
      config/examples/AliExpress/UM2pExt/Configuration_adv.h
  6. 17
    7
      config/examples/Anet/A2/Configuration_adv.h
  7. 17
    7
      config/examples/Anet/A2plus/Configuration_adv.h
  8. 17
    7
      config/examples/Anet/A6/Configuration_adv.h
  9. 17
    7
      config/examples/Anet/A8/Configuration_adv.h
  10. 17
    7
      config/examples/Anet/A8plus/Configuration_adv.h
  11. 17
    7
      config/examples/Anet/E16/Configuration_adv.h
  12. 17
    7
      config/examples/AnyCubic/i3/Configuration_adv.h
  13. 17
    7
      config/examples/ArmEd/Configuration_adv.h
  14. 17
    7
      config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  15. 17
    7
      config/examples/BIBO/TouchX/default/Configuration_adv.h
  16. 17
    7
      config/examples/BQ/Hephestos/Configuration_adv.h
  17. 17
    7
      config/examples/BQ/Hephestos_2/Configuration_adv.h
  18. 17
    7
      config/examples/BQ/WITBOX/Configuration_adv.h
  19. 17
    7
      config/examples/Cartesio/Configuration_adv.h
  20. 17
    7
      config/examples/Creality/CR-10/Configuration_adv.h
  21. 17
    7
      config/examples/Creality/CR-10S/Configuration_adv.h
  22. 17
    7
      config/examples/Creality/CR-10_5S/Configuration_adv.h
  23. 17
    7
      config/examples/Creality/CR-10mini/Configuration_adv.h
  24. 17
    7
      config/examples/Creality/CR-20 Pro/Configuration_adv.h
  25. 17
    7
      config/examples/Creality/CR-20/Configuration_adv.h
  26. 17
    7
      config/examples/Creality/CR-8/Configuration_adv.h
  27. 17
    7
      config/examples/Creality/Ender-2/Configuration_adv.h
  28. 17
    7
      config/examples/Creality/Ender-3/Configuration_adv.h
  29. 17
    7
      config/examples/Creality/Ender-4/Configuration_adv.h
  30. 17
    7
      config/examples/Creality/Ender-5/Configuration_adv.h
  31. 17
    7
      config/examples/Dagoma/Disco Ultimate/Configuration_adv.h
  32. 17
    7
      config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration_adv.h
  33. 17
    7
      config/examples/Einstart-S/Configuration_adv.h
  34. 17
    7
      config/examples/FYSETC/AIO_II/Configuration_adv.h
  35. 17
    7
      config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration_adv.h
  36. 17
    7
      config/examples/FYSETC/Cheetah 1.2/base/Configuration_adv.h
  37. 17
    7
      config/examples/FYSETC/Cheetah/BLTouch/Configuration_adv.h
  38. 17
    7
      config/examples/FYSETC/Cheetah/base/Configuration_adv.h
  39. 17
    7
      config/examples/FYSETC/F6_13/Configuration_adv.h
  40. 17
    7
      config/examples/Felix/Configuration_adv.h
  41. 17
    7
      config/examples/FlashForge/CreatorPro/Configuration_adv.h
  42. 17
    7
      config/examples/FolgerTech/i3-2020/Configuration_adv.h
  43. 17
    7
      config/examples/Formbot/Raptor/Configuration_adv.h
  44. 17
    7
      config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  45. 17
    7
      config/examples/Formbot/T_Rex_3/Configuration_adv.h
  46. 17
    7
      config/examples/Geeetech/A10/Configuration_adv.h
  47. 17
    7
      config/examples/Geeetech/A10M/Configuration_adv.h
  48. 17
    7
      config/examples/Geeetech/A20M/Configuration_adv.h
  49. 17
    7
      config/examples/Geeetech/MeCreator2/Configuration_adv.h
  50. 17
    7
      config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  51. 17
    7
      config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  52. 17
    7
      config/examples/Infitary/i3-M508/Configuration_adv.h
  53. 17
    7
      config/examples/JGAurora/A1/Configuration_adv.h
  54. 17
    7
      config/examples/JGAurora/A5/Configuration_adv.h
  55. 17
    7
      config/examples/JGAurora/A5S/Configuration_adv.h
  56. 17
    7
      config/examples/MakerParts/Configuration_adv.h
  57. 17
    7
      config/examples/Malyan/M150/Configuration_adv.h
  58. 17
    7
      config/examples/Malyan/M200/Configuration_adv.h
  59. 17
    7
      config/examples/Micromake/C1/enhanced/Configuration_adv.h
  60. 17
    7
      config/examples/Mks/Robin/Configuration_adv.h
  61. 17
    7
      config/examples/Mks/Sbase/Configuration_adv.h
  62. 17
    7
      config/examples/RapideLite/RL200/Configuration_adv.h
  63. 17
    7
      config/examples/RigidBot/Configuration_adv.h
  64. 17
    7
      config/examples/SCARA/Configuration_adv.h
  65. 17
    7
      config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h
  66. 17
    7
      config/examples/Sanguinololu/Configuration_adv.h
  67. 17
    7
      config/examples/Tevo/Michelangelo/Configuration_adv.h
  68. 17
    7
      config/examples/Tevo/Tarantula Pro/Configuration_adv.h
  69. 17
    7
      config/examples/Tevo/Tornado/V1 (MKS Base)/Configuration_adv.h
  70. 17
    7
      config/examples/Tevo/Tornado/V2 (MKS GEN-L)/Configuration_adv.h
  71. 17
    7
      config/examples/TheBorg/Configuration_adv.h
  72. 17
    7
      config/examples/TinyBoy2/Configuration_adv.h
  73. 17
    7
      config/examples/Tronxy/X3A/Configuration_adv.h
  74. 17
    7
      config/examples/Tronxy/X5S-2E/Configuration_adv.h
  75. 17
    7
      config/examples/UltiMachine/Archim1/Configuration_adv.h
  76. 17
    7
      config/examples/UltiMachine/Archim2/Configuration_adv.h
  77. 17
    7
      config/examples/VORONDesign/Configuration_adv.h
  78. 17
    7
      config/examples/Velleman/K8200/Configuration_adv.h
  79. 17
    7
      config/examples/Velleman/K8400/Configuration_adv.h
  80. 17
    7
      config/examples/WASP/PowerWASP/Configuration_adv.h
  81. 17
    7
      config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  82. 17
    7
      config/examples/Wanhao/Duplicator i3 Mini/Configuration_adv.h
  83. 17
    7
      config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  84. 17
    7
      config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  85. 17
    7
      config/examples/delta/FLSUN/kossel/Configuration_adv.h
  86. 17
    7
      config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  87. 17
    7
      config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  88. 17
    7
      config/examples/delta/MKS/SBASE/Configuration_adv.h
  89. 17
    7
      config/examples/delta/Tevo Little Monster/Configuration_adv.h
  90. 17
    7
      config/examples/delta/generic/Configuration_adv.h
  91. 17
    7
      config/examples/delta/kossel_mini/Configuration_adv.h
  92. 17
    7
      config/examples/delta/kossel_xl/Configuration_adv.h
  93. 17
    7
      config/examples/gCreate/gMax1.5+/Configuration_adv.h
  94. 17
    7
      config/examples/makibox/Configuration_adv.h
  95. 17
    7
      config/examples/tvrrug/Round2/Configuration_adv.h
  96. 17
    7
      config/examples/wt150/Configuration_adv.h

+ 17
- 7
config/default/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/3DFabXYZ/Migbot/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/AlephObjects/TAZ4/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Alfawise/U20/Configuration_adv.h 查看文件

1853
   #define E5_HYBRID_THRESHOLD     30
1853
   #define E5_HYBRID_THRESHOLD     30
1854
 
1854
 
1855
   /**
1855
   /**
1856
+   * Use StallGuard2 to home / probe X, Y, Z.
1857
+   *
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1857
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1858
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    *
1861
    *
1861
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1862
-   * Higher values make the system LESS sensitive.
1863
-   * Lower value make the system MORE sensitive.
1864
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1865
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1866
-   * M914 X/Y/Z to live tune the setting
1862
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1863
+   * Use M914 X Y Z to live-adjust the sensitivity.
1864
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1865
+   *   Lower: MORE sensitive. (Too low  => false positives)
1866
+   *
1867
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1868
+   *
1869
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1870
+   * Poll the driver through SPI to determine load when homing.
1871
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1872
+   *
1873
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1874
+   * homing and adds a guard period for endstop triggering.
1867
    */
1875
    */
1868
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1876
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1869
 
1877
 
1880
     #define X_STALL_SENSITIVITY  8
1888
     #define X_STALL_SENSITIVITY  8
1881
     #define Y_STALL_SENSITIVITY  8
1889
     #define Y_STALL_SENSITIVITY  8
1882
     //#define Z_STALL_SENSITIVITY  8
1890
     //#define Z_STALL_SENSITIVITY  8
1891
+    //#define SPI_ENDSTOPS              // TMC2130 only
1892
+    //#define IMPROVE_HOMING_RELIABILITY
1883
   #endif
1893
   #endif
1884
 
1894
 
1885
   /**
1895
   /**

+ 17
- 7
config/examples/AliExpress/UM2pExt/Configuration_adv.h 查看文件

1853
   #define E5_HYBRID_THRESHOLD     30
1853
   #define E5_HYBRID_THRESHOLD     30
1854
 
1854
 
1855
   /**
1855
   /**
1856
+   * Use StallGuard2 to home / probe X, Y, Z.
1857
+   *
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1857
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1858
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    *
1861
    *
1861
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1862
-   * Higher values make the system LESS sensitive.
1863
-   * Lower value make the system MORE sensitive.
1864
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1865
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1866
-   * M914 X/Y/Z to live tune the setting
1862
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1863
+   * Use M914 X Y Z to live-adjust the sensitivity.
1864
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1865
+   *   Lower: MORE sensitive. (Too low  => false positives)
1866
+   *
1867
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1868
+   *
1869
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1870
+   * Poll the driver through SPI to determine load when homing.
1871
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1872
+   *
1873
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1874
+   * homing and adds a guard period for endstop triggering.
1867
    */
1875
    */
1868
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1876
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1869
 
1877
 
1880
     #define X_STALL_SENSITIVITY  8
1888
     #define X_STALL_SENSITIVITY  8
1881
     #define Y_STALL_SENSITIVITY  8
1889
     #define Y_STALL_SENSITIVITY  8
1882
     //#define Z_STALL_SENSITIVITY  8
1890
     //#define Z_STALL_SENSITIVITY  8
1891
+    //#define SPI_ENDSTOPS              // TMC2130 only
1892
+    //#define IMPROVE_HOMING_RELIABILITY
1883
   #endif
1893
   #endif
1884
 
1894
 
1885
   /**
1895
   /**

+ 17
- 7
config/examples/Anet/A2/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Anet/A2plus/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Anet/A6/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Anet/A8/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Anet/A8plus/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Anet/E16/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/AnyCubic/i3/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/ArmEd/Configuration_adv.h 查看文件

1855
   #define E5_HYBRID_THRESHOLD     30
1855
   #define E5_HYBRID_THRESHOLD     30
1856
 
1856
 
1857
   /**
1857
   /**
1858
+   * Use StallGuard2 to home / probe X, Y, Z.
1859
+   *
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1860
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1859
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1860
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1861
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1861
    * X, Y, and Z homing will always be done in spreadCycle mode.
1862
    * X, Y, and Z homing will always be done in spreadCycle mode.
1862
    *
1863
    *
1863
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1864
-   * Higher values make the system LESS sensitive.
1865
-   * Lower value make the system MORE sensitive.
1866
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1867
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1868
-   * M914 X/Y/Z to live tune the setting
1864
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1865
+   * Use M914 X Y Z to live-adjust the sensitivity.
1866
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1867
+   *   Lower: MORE sensitive. (Too low  => false positives)
1868
+   *
1869
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1870
+   *
1871
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1872
+   * Poll the driver through SPI to determine load when homing.
1873
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1874
+   *
1875
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1876
+   * homing and adds a guard period for endstop triggering.
1869
    */
1877
    */
1870
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1878
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1871
 
1879
 
1882
     #define X_STALL_SENSITIVITY  8
1890
     #define X_STALL_SENSITIVITY  8
1883
     #define Y_STALL_SENSITIVITY  8
1891
     #define Y_STALL_SENSITIVITY  8
1884
     //#define Z_STALL_SENSITIVITY  8
1892
     //#define Z_STALL_SENSITIVITY  8
1893
+    //#define SPI_ENDSTOPS              // TMC2130 only
1894
+    //#define IMPROVE_HOMING_RELIABILITY
1885
   #endif
1895
   #endif
1886
 
1896
 
1887
   /**
1897
   /**

+ 17
- 7
config/examples/BIBO/TouchX/cyclops/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/BIBO/TouchX/default/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/BQ/Hephestos/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/BQ/Hephestos_2/Configuration_adv.h 查看文件

1859
   #define E5_HYBRID_THRESHOLD     30
1859
   #define E5_HYBRID_THRESHOLD     30
1860
 
1860
 
1861
   /**
1861
   /**
1862
+   * Use StallGuard2 to home / probe X, Y, Z.
1863
+   *
1862
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1864
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1863
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1864
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1865
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1865
    * X, Y, and Z homing will always be done in spreadCycle mode.
1866
    * X, Y, and Z homing will always be done in spreadCycle mode.
1866
    *
1867
    *
1867
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1868
-   * Higher values make the system LESS sensitive.
1869
-   * Lower value make the system MORE sensitive.
1870
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1871
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1872
-   * M914 X/Y/Z to live tune the setting
1868
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1869
+   * Use M914 X Y Z to live-adjust the sensitivity.
1870
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1871
+   *   Lower: MORE sensitive. (Too low  => false positives)
1872
+   *
1873
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1874
+   *
1875
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1876
+   * Poll the driver through SPI to determine load when homing.
1877
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1878
+   *
1879
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1880
+   * homing and adds a guard period for endstop triggering.
1873
    */
1881
    */
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1882
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1875
 
1883
 
1886
     #define X_STALL_SENSITIVITY  8
1894
     #define X_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1895
     #define Y_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1896
     //#define Z_STALL_SENSITIVITY  8
1897
+    //#define SPI_ENDSTOPS              // TMC2130 only
1898
+    //#define IMPROVE_HOMING_RELIABILITY
1889
   #endif
1899
   #endif
1890
 
1900
 
1891
   /**
1901
   /**

+ 17
- 7
config/examples/BQ/WITBOX/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Cartesio/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Creality/CR-10/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Creality/CR-10S/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Creality/CR-10_5S/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Creality/CR-10mini/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Creality/CR-20 Pro/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Creality/CR-20/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Creality/CR-8/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Creality/Ender-2/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Creality/Ender-3/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Creality/Ender-4/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Creality/Ender-5/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Dagoma/Disco Ultimate/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Einstart-S/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/FYSETC/AIO_II/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/FYSETC/Cheetah 1.2/base/Configuration_adv.h 查看文件

1850
   #define E5_HYBRID_THRESHOLD     30
1850
   #define E5_HYBRID_THRESHOLD     30
1851
 
1851
 
1852
   /**
1852
   /**
1853
+   * Use StallGuard2 to home / probe X, Y, Z.
1854
+   *
1853
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1854
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1855
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1856
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    *
1858
    *
1858
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1859
-   * Higher values make the system LESS sensitive.
1860
-   * Lower value make the system MORE sensitive.
1861
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1862
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1863
-   * M914 X/Y/Z to live tune the setting
1859
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1860
+   * Use M914 X Y Z to live-adjust the sensitivity.
1861
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1862
+   *   Lower: MORE sensitive. (Too low  => false positives)
1863
+   *
1864
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1865
+   *
1866
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1867
+   * Poll the driver through SPI to determine load when homing.
1868
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1869
+   *
1870
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1871
+   * homing and adds a guard period for endstop triggering.
1864
    */
1872
    */
1865
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1873
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1866
 
1874
 
1877
     #define X_STALL_SENSITIVITY  8
1885
     #define X_STALL_SENSITIVITY  8
1878
     #define Y_STALL_SENSITIVITY  8
1886
     #define Y_STALL_SENSITIVITY  8
1879
     //#define Z_STALL_SENSITIVITY  8
1887
     //#define Z_STALL_SENSITIVITY  8
1888
+    //#define SPI_ENDSTOPS              // TMC2130 only
1889
+    //#define IMPROVE_HOMING_RELIABILITY
1880
   #endif
1890
   #endif
1881
 
1891
 
1882
   /**
1892
   /**

+ 17
- 7
config/examples/FYSETC/Cheetah/BLTouch/Configuration_adv.h 查看文件

1850
   #define E5_HYBRID_THRESHOLD     30
1850
   #define E5_HYBRID_THRESHOLD     30
1851
 
1851
 
1852
   /**
1852
   /**
1853
+   * Use StallGuard2 to home / probe X, Y, Z.
1854
+   *
1853
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1854
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1855
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1856
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    *
1858
    *
1858
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1859
-   * Higher values make the system LESS sensitive.
1860
-   * Lower value make the system MORE sensitive.
1861
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1862
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1863
-   * M914 X/Y/Z to live tune the setting
1859
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1860
+   * Use M914 X Y Z to live-adjust the sensitivity.
1861
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1862
+   *   Lower: MORE sensitive. (Too low  => false positives)
1863
+   *
1864
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1865
+   *
1866
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1867
+   * Poll the driver through SPI to determine load when homing.
1868
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1869
+   *
1870
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1871
+   * homing and adds a guard period for endstop triggering.
1864
    */
1872
    */
1865
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1873
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1866
 
1874
 
1877
     #define X_STALL_SENSITIVITY  8
1885
     #define X_STALL_SENSITIVITY  8
1878
     #define Y_STALL_SENSITIVITY  8
1886
     #define Y_STALL_SENSITIVITY  8
1879
     //#define Z_STALL_SENSITIVITY  8
1887
     //#define Z_STALL_SENSITIVITY  8
1888
+    //#define SPI_ENDSTOPS              // TMC2130 only
1889
+    //#define IMPROVE_HOMING_RELIABILITY
1880
   #endif
1890
   #endif
1881
 
1891
 
1882
   /**
1892
   /**

+ 17
- 7
config/examples/FYSETC/Cheetah/base/Configuration_adv.h 查看文件

1850
   #define E5_HYBRID_THRESHOLD     30
1850
   #define E5_HYBRID_THRESHOLD     30
1851
 
1851
 
1852
   /**
1852
   /**
1853
+   * Use StallGuard2 to home / probe X, Y, Z.
1854
+   *
1853
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1854
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1855
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1856
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    *
1858
    *
1858
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1859
-   * Higher values make the system LESS sensitive.
1860
-   * Lower value make the system MORE sensitive.
1861
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1862
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1863
-   * M914 X/Y/Z to live tune the setting
1859
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1860
+   * Use M914 X Y Z to live-adjust the sensitivity.
1861
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1862
+   *   Lower: MORE sensitive. (Too low  => false positives)
1863
+   *
1864
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1865
+   *
1866
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1867
+   * Poll the driver through SPI to determine load when homing.
1868
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1869
+   *
1870
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1871
+   * homing and adds a guard period for endstop triggering.
1864
    */
1872
    */
1865
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1873
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1866
 
1874
 
1877
     #define X_STALL_SENSITIVITY  8
1885
     #define X_STALL_SENSITIVITY  8
1878
     #define Y_STALL_SENSITIVITY  8
1886
     #define Y_STALL_SENSITIVITY  8
1879
     //#define Z_STALL_SENSITIVITY  8
1887
     //#define Z_STALL_SENSITIVITY  8
1888
+    //#define SPI_ENDSTOPS              // TMC2130 only
1889
+    //#define IMPROVE_HOMING_RELIABILITY
1880
   #endif
1890
   #endif
1881
 
1891
 
1882
   /**
1892
   /**

+ 17
- 7
config/examples/FYSETC/F6_13/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Felix/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/FlashForge/CreatorPro/Configuration_adv.h 查看文件

1850
   #define E5_HYBRID_THRESHOLD     30
1850
   #define E5_HYBRID_THRESHOLD     30
1851
 
1851
 
1852
   /**
1852
   /**
1853
+   * Use StallGuard2 to home / probe X, Y, Z.
1854
+   *
1853
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1854
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1855
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1856
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    *
1858
    *
1858
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1859
-   * Higher values make the system LESS sensitive.
1860
-   * Lower value make the system MORE sensitive.
1861
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1862
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1863
-   * M914 X/Y/Z to live tune the setting
1859
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1860
+   * Use M914 X Y Z to live-adjust the sensitivity.
1861
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1862
+   *   Lower: MORE sensitive. (Too low  => false positives)
1863
+   *
1864
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1865
+   *
1866
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1867
+   * Poll the driver through SPI to determine load when homing.
1868
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1869
+   *
1870
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1871
+   * homing and adds a guard period for endstop triggering.
1864
    */
1872
    */
1865
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1873
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1866
 
1874
 
1877
     #define X_STALL_SENSITIVITY  8
1885
     #define X_STALL_SENSITIVITY  8
1878
     #define Y_STALL_SENSITIVITY  8
1886
     #define Y_STALL_SENSITIVITY  8
1879
     //#define Z_STALL_SENSITIVITY  8
1887
     //#define Z_STALL_SENSITIVITY  8
1888
+    //#define SPI_ENDSTOPS              // TMC2130 only
1889
+    //#define IMPROVE_HOMING_RELIABILITY
1880
   #endif
1890
   #endif
1881
 
1891
 
1882
   /**
1892
   /**

+ 17
- 7
config/examples/FolgerTech/i3-2020/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Formbot/Raptor/Configuration_adv.h 查看文件

1853
   #define E5_HYBRID_THRESHOLD     30
1853
   #define E5_HYBRID_THRESHOLD     30
1854
 
1854
 
1855
   /**
1855
   /**
1856
+   * Use StallGuard2 to home / probe X, Y, Z.
1857
+   *
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1857
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1858
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    *
1861
    *
1861
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1862
-   * Higher values make the system LESS sensitive.
1863
-   * Lower value make the system MORE sensitive.
1864
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1865
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1866
-   * M914 X/Y/Z to live tune the setting
1862
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1863
+   * Use M914 X Y Z to live-adjust the sensitivity.
1864
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1865
+   *   Lower: MORE sensitive. (Too low  => false positives)
1866
+   *
1867
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1868
+   *
1869
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1870
+   * Poll the driver through SPI to determine load when homing.
1871
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1872
+   *
1873
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1874
+   * homing and adds a guard period for endstop triggering.
1867
    */
1875
    */
1868
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1876
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1869
 
1877
 
1880
     #define X_STALL_SENSITIVITY  8
1888
     #define X_STALL_SENSITIVITY  8
1881
     #define Y_STALL_SENSITIVITY  8
1889
     #define Y_STALL_SENSITIVITY  8
1882
     //#define Z_STALL_SENSITIVITY  8
1890
     //#define Z_STALL_SENSITIVITY  8
1891
+    //#define SPI_ENDSTOPS              // TMC2130 only
1892
+    //#define IMPROVE_HOMING_RELIABILITY
1883
   #endif
1893
   #endif
1884
 
1894
 
1885
   /**
1895
   /**

+ 17
- 7
config/examples/Formbot/T_Rex_2+/Configuration_adv.h 查看文件

1855
   #define E5_HYBRID_THRESHOLD     30
1855
   #define E5_HYBRID_THRESHOLD     30
1856
 
1856
 
1857
   /**
1857
   /**
1858
+   * Use StallGuard2 to home / probe X, Y, Z.
1859
+   *
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1860
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1859
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1860
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1861
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1861
    * X, Y, and Z homing will always be done in spreadCycle mode.
1862
    * X, Y, and Z homing will always be done in spreadCycle mode.
1862
    *
1863
    *
1863
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1864
-   * Higher values make the system LESS sensitive.
1865
-   * Lower value make the system MORE sensitive.
1866
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1867
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1868
-   * M914 X/Y/Z to live tune the setting
1864
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1865
+   * Use M914 X Y Z to live-adjust the sensitivity.
1866
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1867
+   *   Lower: MORE sensitive. (Too low  => false positives)
1868
+   *
1869
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1870
+   *
1871
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1872
+   * Poll the driver through SPI to determine load when homing.
1873
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1874
+   *
1875
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1876
+   * homing and adds a guard period for endstop triggering.
1869
    */
1877
    */
1870
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1878
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1871
 
1879
 
1882
     #define X_STALL_SENSITIVITY  8
1890
     #define X_STALL_SENSITIVITY  8
1883
     #define Y_STALL_SENSITIVITY  8
1891
     #define Y_STALL_SENSITIVITY  8
1884
     //#define Z_STALL_SENSITIVITY  8
1892
     //#define Z_STALL_SENSITIVITY  8
1893
+    //#define SPI_ENDSTOPS              // TMC2130 only
1894
+    //#define IMPROVE_HOMING_RELIABILITY
1885
   #endif
1895
   #endif
1886
 
1896
 
1887
   /**
1897
   /**

+ 17
- 7
config/examples/Formbot/T_Rex_3/Configuration_adv.h 查看文件

1855
   #define E5_HYBRID_THRESHOLD     30
1855
   #define E5_HYBRID_THRESHOLD     30
1856
 
1856
 
1857
   /**
1857
   /**
1858
+   * Use StallGuard2 to home / probe X, Y, Z.
1859
+   *
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1860
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1859
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1860
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1861
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1861
    * X, Y, and Z homing will always be done in spreadCycle mode.
1862
    * X, Y, and Z homing will always be done in spreadCycle mode.
1862
    *
1863
    *
1863
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1864
-   * Higher values make the system LESS sensitive.
1865
-   * Lower value make the system MORE sensitive.
1866
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1867
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1868
-   * M914 X/Y/Z to live tune the setting
1864
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1865
+   * Use M914 X Y Z to live-adjust the sensitivity.
1866
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1867
+   *   Lower: MORE sensitive. (Too low  => false positives)
1868
+   *
1869
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1870
+   *
1871
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1872
+   * Poll the driver through SPI to determine load when homing.
1873
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1874
+   *
1875
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1876
+   * homing and adds a guard period for endstop triggering.
1869
    */
1877
    */
1870
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1878
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1871
 
1879
 
1882
     #define X_STALL_SENSITIVITY  8
1890
     #define X_STALL_SENSITIVITY  8
1883
     #define Y_STALL_SENSITIVITY  8
1891
     #define Y_STALL_SENSITIVITY  8
1884
     //#define Z_STALL_SENSITIVITY  8
1892
     //#define Z_STALL_SENSITIVITY  8
1893
+    //#define SPI_ENDSTOPS              // TMC2130 only
1894
+    //#define IMPROVE_HOMING_RELIABILITY
1885
   #endif
1895
   #endif
1886
 
1896
 
1887
   /**
1897
   /**

+ 17
- 7
config/examples/Geeetech/A10/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Geeetech/A10M/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Geeetech/A20M/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Geeetech/MeCreator2/Configuration_adv.h 查看文件

1850
   #define E5_HYBRID_THRESHOLD     30
1850
   #define E5_HYBRID_THRESHOLD     30
1851
 
1851
 
1852
   /**
1852
   /**
1853
+   * Use StallGuard2 to home / probe X, Y, Z.
1854
+   *
1853
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1854
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1855
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1856
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    *
1858
    *
1858
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1859
-   * Higher values make the system LESS sensitive.
1860
-   * Lower value make the system MORE sensitive.
1861
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1862
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1863
-   * M914 X/Y/Z to live tune the setting
1859
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1860
+   * Use M914 X Y Z to live-adjust the sensitivity.
1861
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1862
+   *   Lower: MORE sensitive. (Too low  => false positives)
1863
+   *
1864
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1865
+   *
1866
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1867
+   * Poll the driver through SPI to determine load when homing.
1868
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1869
+   *
1870
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1871
+   * homing and adds a guard period for endstop triggering.
1864
    */
1872
    */
1865
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1873
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1866
 
1874
 
1877
     #define X_STALL_SENSITIVITY  8
1885
     #define X_STALL_SENSITIVITY  8
1878
     #define Y_STALL_SENSITIVITY  8
1886
     #define Y_STALL_SENSITIVITY  8
1879
     //#define Z_STALL_SENSITIVITY  8
1887
     //#define Z_STALL_SENSITIVITY  8
1888
+    //#define SPI_ENDSTOPS              // TMC2130 only
1889
+    //#define IMPROVE_HOMING_RELIABILITY
1880
   #endif
1890
   #endif
1881
 
1891
 
1882
   /**
1892
   /**

+ 17
- 7
config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Infitary/i3-M508/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/JGAurora/A1/Configuration_adv.h 查看文件

1856
   #define E5_HYBRID_THRESHOLD     30
1856
   #define E5_HYBRID_THRESHOLD     30
1857
 
1857
 
1858
   /**
1858
   /**
1859
+   * Use StallGuard2 to home / probe X, Y, Z.
1860
+   *
1859
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1861
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1860
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1861
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1862
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1862
    * X, Y, and Z homing will always be done in spreadCycle mode.
1863
    * X, Y, and Z homing will always be done in spreadCycle mode.
1863
    *
1864
    *
1864
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1865
-   * Higher values make the system LESS sensitive.
1866
-   * Lower value make the system MORE sensitive.
1867
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1868
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1869
-   * M914 X/Y/Z to live tune the setting
1865
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1866
+   * Use M914 X Y Z to live-adjust the sensitivity.
1867
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1868
+   *   Lower: MORE sensitive. (Too low  => false positives)
1869
+   *
1870
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1871
+   *
1872
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1873
+   * Poll the driver through SPI to determine load when homing.
1874
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1875
+   *
1876
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1877
+   * homing and adds a guard period for endstop triggering.
1870
    */
1878
    */
1871
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1879
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1872
 
1880
 
1883
     #define X_STALL_SENSITIVITY  8
1891
     #define X_STALL_SENSITIVITY  8
1884
     #define Y_STALL_SENSITIVITY  8
1892
     #define Y_STALL_SENSITIVITY  8
1885
     //#define Z_STALL_SENSITIVITY  8
1893
     //#define Z_STALL_SENSITIVITY  8
1894
+    //#define SPI_ENDSTOPS              // TMC2130 only
1895
+    //#define IMPROVE_HOMING_RELIABILITY
1886
   #endif
1896
   #endif
1887
 
1897
 
1888
   /**
1898
   /**

+ 17
- 7
config/examples/JGAurora/A5/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/JGAurora/A5S/Configuration_adv.h 查看文件

1856
   #define E5_HYBRID_THRESHOLD     30
1856
   #define E5_HYBRID_THRESHOLD     30
1857
 
1857
 
1858
   /**
1858
   /**
1859
+   * Use StallGuard2 to home / probe X, Y, Z.
1860
+   *
1859
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1861
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1860
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1861
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1862
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1862
    * X, Y, and Z homing will always be done in spreadCycle mode.
1863
    * X, Y, and Z homing will always be done in spreadCycle mode.
1863
    *
1864
    *
1864
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1865
-   * Higher values make the system LESS sensitive.
1866
-   * Lower value make the system MORE sensitive.
1867
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1868
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1869
-   * M914 X/Y/Z to live tune the setting
1865
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1866
+   * Use M914 X Y Z to live-adjust the sensitivity.
1867
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1868
+   *   Lower: MORE sensitive. (Too low  => false positives)
1869
+   *
1870
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1871
+   *
1872
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1873
+   * Poll the driver through SPI to determine load when homing.
1874
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1875
+   *
1876
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1877
+   * homing and adds a guard period for endstop triggering.
1870
    */
1878
    */
1871
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1879
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1872
 
1880
 
1883
     #define X_STALL_SENSITIVITY  8
1891
     #define X_STALL_SENSITIVITY  8
1884
     #define Y_STALL_SENSITIVITY  8
1892
     #define Y_STALL_SENSITIVITY  8
1885
     //#define Z_STALL_SENSITIVITY  8
1893
     //#define Z_STALL_SENSITIVITY  8
1894
+    //#define SPI_ENDSTOPS              // TMC2130 only
1895
+    //#define IMPROVE_HOMING_RELIABILITY
1886
   #endif
1896
   #endif
1887
 
1897
 
1888
   /**
1898
   /**

+ 17
- 7
config/examples/MakerParts/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Malyan/M150/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Malyan/M200/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Micromake/C1/enhanced/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Mks/Robin/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Mks/Sbase/Configuration_adv.h 查看文件

1852
   #define E5_HYBRID_THRESHOLD     30
1852
   #define E5_HYBRID_THRESHOLD     30
1853
 
1853
 
1854
   /**
1854
   /**
1855
+   * Use StallGuard2 to home / probe X, Y, Z.
1856
+   *
1855
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1857
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1857
    * 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.
1858
    * 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.
1859
    *
1860
    *
1860
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1861
-   * Higher values make the system LESS sensitive.
1862
-   * Lower value make the system MORE sensitive.
1863
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1864
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1865
-   * M914 X/Y/Z to live tune the setting
1861
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1862
+   * Use M914 X Y Z to live-adjust the sensitivity.
1863
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1864
+   *   Lower: MORE sensitive. (Too low  => false positives)
1865
+   *
1866
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1867
+   *
1868
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1869
+   * Poll the driver through SPI to determine load when homing.
1870
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1871
+   *
1872
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1873
+   * homing and adds a guard period for endstop triggering.
1866
    */
1874
    */
1867
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1875
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1868
 
1876
 
1879
     #define X_STALL_SENSITIVITY  8
1887
     #define X_STALL_SENSITIVITY  8
1880
     #define Y_STALL_SENSITIVITY  8
1888
     #define Y_STALL_SENSITIVITY  8
1881
     //#define Z_STALL_SENSITIVITY  8
1889
     //#define Z_STALL_SENSITIVITY  8
1890
+    //#define SPI_ENDSTOPS              // TMC2130 only
1891
+    //#define IMPROVE_HOMING_RELIABILITY
1882
   #endif
1892
   #endif
1883
 
1893
 
1884
   /**
1894
   /**

+ 17
- 7
config/examples/RapideLite/RL200/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/RigidBot/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/SCARA/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Sanguinololu/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Tevo/Michelangelo/Configuration_adv.h 查看文件

1850
   #define E5_HYBRID_THRESHOLD     30
1850
   #define E5_HYBRID_THRESHOLD     30
1851
 
1851
 
1852
   /**
1852
   /**
1853
+   * Use StallGuard2 to home / probe X, Y, Z.
1854
+   *
1853
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1854
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1855
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1856
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    *
1858
    *
1858
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1859
-   * Higher values make the system LESS sensitive.
1860
-   * Lower value make the system MORE sensitive.
1861
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1862
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1863
-   * M914 X/Y/Z to live tune the setting
1859
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1860
+   * Use M914 X Y Z to live-adjust the sensitivity.
1861
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1862
+   *   Lower: MORE sensitive. (Too low  => false positives)
1863
+   *
1864
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1865
+   *
1866
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1867
+   * Poll the driver through SPI to determine load when homing.
1868
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1869
+   *
1870
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1871
+   * homing and adds a guard period for endstop triggering.
1864
    */
1872
    */
1865
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1873
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1866
 
1874
 
1877
     #define X_STALL_SENSITIVITY  8
1885
     #define X_STALL_SENSITIVITY  8
1878
     #define Y_STALL_SENSITIVITY  8
1886
     #define Y_STALL_SENSITIVITY  8
1879
     //#define Z_STALL_SENSITIVITY  8
1887
     //#define Z_STALL_SENSITIVITY  8
1888
+    //#define SPI_ENDSTOPS              // TMC2130 only
1889
+    //#define IMPROVE_HOMING_RELIABILITY
1880
   #endif
1890
   #endif
1881
 
1891
 
1882
   /**
1892
   /**

+ 17
- 7
config/examples/Tevo/Tarantula Pro/Configuration_adv.h 查看文件

1847
   #define E5_HYBRID_THRESHOLD     30
1847
   #define E5_HYBRID_THRESHOLD     30
1848
 
1848
 
1849
   /**
1849
   /**
1850
+   * Use StallGuard2 to home / probe X, Y, Z.
1851
+   *
1850
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1852
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1851
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1852
    * 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.
1853
    * 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.
1854
    *
1855
    *
1855
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1856
-   * Higher values make the system LESS sensitive.
1857
-   * Lower value make the system MORE sensitive.
1858
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1859
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1860
-   * M914 X/Y/Z to live tune the setting
1856
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1857
+   * Use M914 X Y Z to live-adjust the sensitivity.
1858
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1859
+   *   Lower: MORE sensitive. (Too low  => false positives)
1860
+   *
1861
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1862
+   *
1863
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1864
+   * Poll the driver through SPI to determine load when homing.
1865
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1866
+   *
1867
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1868
+   * homing and adds a guard period for endstop triggering.
1861
    */
1869
    */
1862
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1870
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1863
 
1871
 
1874
     #define X_STALL_SENSITIVITY  8
1882
     #define X_STALL_SENSITIVITY  8
1875
     #define Y_STALL_SENSITIVITY  8
1883
     #define Y_STALL_SENSITIVITY  8
1876
     //#define Z_STALL_SENSITIVITY  8
1884
     //#define Z_STALL_SENSITIVITY  8
1885
+    //#define SPI_ENDSTOPS              // TMC2130 only
1886
+    //#define IMPROVE_HOMING_RELIABILITY
1877
   #endif
1887
   #endif
1878
 
1888
 
1879
   /**
1889
   /**

+ 17
- 7
config/examples/Tevo/Tornado/V1 (MKS Base)/Configuration_adv.h 查看文件

1850
   #define E5_HYBRID_THRESHOLD     30
1850
   #define E5_HYBRID_THRESHOLD     30
1851
 
1851
 
1852
   /**
1852
   /**
1853
+   * Use StallGuard2 to home / probe X, Y, Z.
1854
+   *
1853
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1854
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1855
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1856
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    *
1858
    *
1858
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1859
-   * Higher values make the system LESS sensitive.
1860
-   * Lower value make the system MORE sensitive.
1861
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1862
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1863
-   * M914 X/Y/Z to live tune the setting
1859
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1860
+   * Use M914 X Y Z to live-adjust the sensitivity.
1861
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1862
+   *   Lower: MORE sensitive. (Too low  => false positives)
1863
+   *
1864
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1865
+   *
1866
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1867
+   * Poll the driver through SPI to determine load when homing.
1868
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1869
+   *
1870
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1871
+   * homing and adds a guard period for endstop triggering.
1864
    */
1872
    */
1865
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1873
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1866
 
1874
 
1877
     #define X_STALL_SENSITIVITY  8
1885
     #define X_STALL_SENSITIVITY  8
1878
     #define Y_STALL_SENSITIVITY  8
1886
     #define Y_STALL_SENSITIVITY  8
1879
     //#define Z_STALL_SENSITIVITY  8
1887
     //#define Z_STALL_SENSITIVITY  8
1888
+    //#define SPI_ENDSTOPS              // TMC2130 only
1889
+    //#define IMPROVE_HOMING_RELIABILITY
1880
   #endif
1890
   #endif
1881
 
1891
 
1882
   /**
1892
   /**

+ 17
- 7
config/examples/Tevo/Tornado/V2 (MKS GEN-L)/Configuration_adv.h 查看文件

1850
   #define E5_HYBRID_THRESHOLD     30
1850
   #define E5_HYBRID_THRESHOLD     30
1851
 
1851
 
1852
   /**
1852
   /**
1853
+   * Use StallGuard2 to home / probe X, Y, Z.
1854
+   *
1853
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1854
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1855
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1856
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1857
    *
1858
    *
1858
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1859
-   * Higher values make the system LESS sensitive.
1860
-   * Lower value make the system MORE sensitive.
1861
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1862
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1863
-   * M914 X/Y/Z to live tune the setting
1859
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1860
+   * Use M914 X Y Z to live-adjust the sensitivity.
1861
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1862
+   *   Lower: MORE sensitive. (Too low  => false positives)
1863
+   *
1864
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1865
+   *
1866
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1867
+   * Poll the driver through SPI to determine load when homing.
1868
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1869
+   *
1870
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1871
+   * homing and adds a guard period for endstop triggering.
1864
    */
1872
    */
1865
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1873
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1866
 
1874
 
1877
     #define X_STALL_SENSITIVITY  8
1885
     #define X_STALL_SENSITIVITY  8
1878
     #define Y_STALL_SENSITIVITY  8
1886
     #define Y_STALL_SENSITIVITY  8
1879
     //#define Z_STALL_SENSITIVITY  8
1887
     //#define Z_STALL_SENSITIVITY  8
1888
+    //#define SPI_ENDSTOPS              // TMC2130 only
1889
+    //#define IMPROVE_HOMING_RELIABILITY
1880
   #endif
1890
   #endif
1881
 
1891
 
1882
   /**
1892
   /**

+ 17
- 7
config/examples/TheBorg/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/TinyBoy2/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Tronxy/X3A/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Tronxy/X5S-2E/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/UltiMachine/Archim1/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/UltiMachine/Archim2/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/VORONDesign/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Velleman/K8200/Configuration_adv.h 查看文件

1864
   #define E5_HYBRID_THRESHOLD     30
1864
   #define E5_HYBRID_THRESHOLD     30
1865
 
1865
 
1866
   /**
1866
   /**
1867
+   * Use StallGuard2 to home / probe X, Y, Z.
1868
+   *
1867
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1869
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1868
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1869
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1870
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1870
    * X, Y, and Z homing will always be done in spreadCycle mode.
1871
    * X, Y, and Z homing will always be done in spreadCycle mode.
1871
    *
1872
    *
1872
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1873
-   * Higher values make the system LESS sensitive.
1874
-   * Lower value make the system MORE sensitive.
1875
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1876
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1877
-   * M914 X/Y/Z to live tune the setting
1873
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1874
+   * Use M914 X Y Z to live-adjust the sensitivity.
1875
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1876
+   *   Lower: MORE sensitive. (Too low  => false positives)
1877
+   *
1878
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1879
+   *
1880
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1881
+   * Poll the driver through SPI to determine load when homing.
1882
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1883
+   *
1884
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1885
+   * homing and adds a guard period for endstop triggering.
1878
    */
1886
    */
1879
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1887
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1880
 
1888
 
1891
     #define X_STALL_SENSITIVITY  8
1899
     #define X_STALL_SENSITIVITY  8
1892
     #define Y_STALL_SENSITIVITY  8
1900
     #define Y_STALL_SENSITIVITY  8
1893
     //#define Z_STALL_SENSITIVITY  8
1901
     //#define Z_STALL_SENSITIVITY  8
1902
+    //#define SPI_ENDSTOPS              // TMC2130 only
1903
+    //#define IMPROVE_HOMING_RELIABILITY
1894
   #endif
1904
   #endif
1895
 
1905
 
1896
   /**
1906
   /**

+ 17
- 7
config/examples/Velleman/K8400/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/WASP/PowerWASP/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/Wanhao/Duplicator 6/Configuration_adv.h 查看文件

1853
   #define E5_HYBRID_THRESHOLD     30
1853
   #define E5_HYBRID_THRESHOLD     30
1854
 
1854
 
1855
   /**
1855
   /**
1856
+   * Use StallGuard2 to home / probe X, Y, Z.
1857
+   *
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1857
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1858
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    *
1861
    *
1861
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1862
-   * Higher values make the system LESS sensitive.
1863
-   * Lower value make the system MORE sensitive.
1864
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1865
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1866
-   * M914 X/Y/Z to live tune the setting
1862
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1863
+   * Use M914 X Y Z to live-adjust the sensitivity.
1864
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1865
+   *   Lower: MORE sensitive. (Too low  => false positives)
1866
+   *
1867
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1868
+   *
1869
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1870
+   * Poll the driver through SPI to determine load when homing.
1871
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1872
+   *
1873
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1874
+   * homing and adds a guard period for endstop triggering.
1867
    */
1875
    */
1868
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1876
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1869
 
1877
 
1880
     #define X_STALL_SENSITIVITY  8
1888
     #define X_STALL_SENSITIVITY  8
1881
     #define Y_STALL_SENSITIVITY  8
1889
     #define Y_STALL_SENSITIVITY  8
1882
     //#define Z_STALL_SENSITIVITY  8
1890
     //#define Z_STALL_SENSITIVITY  8
1891
+    //#define SPI_ENDSTOPS              // TMC2130 only
1892
+    //#define IMPROVE_HOMING_RELIABILITY
1883
   #endif
1893
   #endif
1884
 
1894
 
1885
   /**
1895
   /**

+ 17
- 7
config/examples/Wanhao/Duplicator i3 Mini/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/delta/Anycubic/Kossel/Configuration_adv.h 查看文件

1853
   #define E5_HYBRID_THRESHOLD     30
1853
   #define E5_HYBRID_THRESHOLD     30
1854
 
1854
 
1855
   /**
1855
   /**
1856
+   * Use StallGuard2 to home / probe X, Y, Z.
1857
+   *
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1857
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1858
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    *
1861
    *
1861
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1862
-   * Higher values make the system LESS sensitive.
1863
-   * Lower value make the system MORE sensitive.
1864
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1865
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1866
-   * M914 X/Y/Z to live tune the setting
1862
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1863
+   * Use M914 X Y Z to live-adjust the sensitivity.
1864
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1865
+   *   Lower: MORE sensitive. (Too low  => false positives)
1866
+   *
1867
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1868
+   *
1869
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1870
+   * Poll the driver through SPI to determine load when homing.
1871
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1872
+   *
1873
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1874
+   * homing and adds a guard period for endstop triggering.
1867
    */
1875
    */
1868
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1876
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1869
 
1877
 
1880
     #define X_STALL_SENSITIVITY  8
1888
     #define X_STALL_SENSITIVITY  8
1881
     #define Y_STALL_SENSITIVITY  8
1889
     #define Y_STALL_SENSITIVITY  8
1882
     //#define Z_STALL_SENSITIVITY  8
1890
     //#define Z_STALL_SENSITIVITY  8
1891
+    //#define SPI_ENDSTOPS              // TMC2130 only
1892
+    //#define IMPROVE_HOMING_RELIABILITY
1883
   #endif
1893
   #endif
1884
 
1894
 
1885
   /**
1895
   /**

+ 17
- 7
config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h 查看文件

1853
   #define E5_HYBRID_THRESHOLD     30
1853
   #define E5_HYBRID_THRESHOLD     30
1854
 
1854
 
1855
   /**
1855
   /**
1856
+   * Use StallGuard2 to home / probe X, Y, Z.
1857
+   *
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1857
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1858
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    *
1861
    *
1861
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1862
-   * Higher values make the system LESS sensitive.
1863
-   * Lower value make the system MORE sensitive.
1864
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1865
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1866
-   * M914 X/Y/Z to live tune the setting
1862
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1863
+   * Use M914 X Y Z to live-adjust the sensitivity.
1864
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1865
+   *   Lower: MORE sensitive. (Too low  => false positives)
1866
+   *
1867
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1868
+   *
1869
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1870
+   * Poll the driver through SPI to determine load when homing.
1871
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1872
+   *
1873
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1874
+   * homing and adds a guard period for endstop triggering.
1867
    */
1875
    */
1868
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1876
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1869
 
1877
 
1880
     #define X_STALL_SENSITIVITY  8
1888
     #define X_STALL_SENSITIVITY  8
1881
     #define Y_STALL_SENSITIVITY  8
1889
     #define Y_STALL_SENSITIVITY  8
1882
     //#define Z_STALL_SENSITIVITY  8
1890
     //#define Z_STALL_SENSITIVITY  8
1891
+    //#define SPI_ENDSTOPS              // TMC2130 only
1892
+    //#define IMPROVE_HOMING_RELIABILITY
1883
   #endif
1893
   #endif
1884
 
1894
 
1885
   /**
1895
   /**

+ 17
- 7
config/examples/delta/FLSUN/kossel/Configuration_adv.h 查看文件

1853
   #define E5_HYBRID_THRESHOLD     30
1853
   #define E5_HYBRID_THRESHOLD     30
1854
 
1854
 
1855
   /**
1855
   /**
1856
+   * Use StallGuard2 to home / probe X, Y, Z.
1857
+   *
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1857
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1858
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    *
1861
    *
1861
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1862
-   * Higher values make the system LESS sensitive.
1863
-   * Lower value make the system MORE sensitive.
1864
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1865
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1866
-   * M914 X/Y/Z to live tune the setting
1862
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1863
+   * Use M914 X Y Z to live-adjust the sensitivity.
1864
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1865
+   *   Lower: MORE sensitive. (Too low  => false positives)
1866
+   *
1867
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1868
+   *
1869
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1870
+   * Poll the driver through SPI to determine load when homing.
1871
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1872
+   *
1873
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1874
+   * homing and adds a guard period for endstop triggering.
1867
    */
1875
    */
1868
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1876
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1869
 
1877
 
1880
     #define X_STALL_SENSITIVITY  8
1888
     #define X_STALL_SENSITIVITY  8
1881
     #define Y_STALL_SENSITIVITY  8
1889
     #define Y_STALL_SENSITIVITY  8
1882
     //#define Z_STALL_SENSITIVITY  8
1890
     //#define Z_STALL_SENSITIVITY  8
1891
+    //#define SPI_ENDSTOPS              // TMC2130 only
1892
+    //#define IMPROVE_HOMING_RELIABILITY
1883
   #endif
1893
   #endif
1884
 
1894
 
1885
   /**
1895
   /**

+ 17
- 7
config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h 查看文件

1853
   #define E5_HYBRID_THRESHOLD     30
1853
   #define E5_HYBRID_THRESHOLD     30
1854
 
1854
 
1855
   /**
1855
   /**
1856
+   * Use StallGuard2 to home / probe X, Y, Z.
1857
+   *
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1857
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1858
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    *
1861
    *
1861
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1862
-   * Higher values make the system LESS sensitive.
1863
-   * Lower value make the system MORE sensitive.
1864
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1865
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1866
-   * M914 X/Y/Z to live tune the setting
1862
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1863
+   * Use M914 X Y Z to live-adjust the sensitivity.
1864
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1865
+   *   Lower: MORE sensitive. (Too low  => false positives)
1866
+   *
1867
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1868
+   *
1869
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1870
+   * Poll the driver through SPI to determine load when homing.
1871
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1872
+   *
1873
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1874
+   * homing and adds a guard period for endstop triggering.
1867
    */
1875
    */
1868
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1876
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1869
 
1877
 
1880
     #define X_STALL_SENSITIVITY  8
1888
     #define X_STALL_SENSITIVITY  8
1881
     #define Y_STALL_SENSITIVITY  8
1889
     #define Y_STALL_SENSITIVITY  8
1882
     //#define Z_STALL_SENSITIVITY  8
1890
     //#define Z_STALL_SENSITIVITY  8
1891
+    //#define SPI_ENDSTOPS              // TMC2130 only
1892
+    //#define IMPROVE_HOMING_RELIABILITY
1883
   #endif
1893
   #endif
1884
 
1894
 
1885
   /**
1895
   /**

+ 17
- 7
config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h 查看文件

1853
   #define E5_HYBRID_THRESHOLD     30
1853
   #define E5_HYBRID_THRESHOLD     30
1854
 
1854
 
1855
   /**
1855
   /**
1856
+   * Use StallGuard2 to home / probe X, Y, Z.
1857
+   *
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1857
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1858
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    *
1861
    *
1861
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1862
-   * Higher values make the system LESS sensitive.
1863
-   * Lower value make the system MORE sensitive.
1864
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1865
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1866
-   * M914 X/Y/Z to live tune the setting
1862
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1863
+   * Use M914 X Y Z to live-adjust the sensitivity.
1864
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1865
+   *   Lower: MORE sensitive. (Too low  => false positives)
1866
+   *
1867
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1868
+   *
1869
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1870
+   * Poll the driver through SPI to determine load when homing.
1871
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1872
+   *
1873
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1874
+   * homing and adds a guard period for endstop triggering.
1867
    */
1875
    */
1868
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1876
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1869
 
1877
 
1880
     #define X_STALL_SENSITIVITY  8
1888
     #define X_STALL_SENSITIVITY  8
1881
     #define Y_STALL_SENSITIVITY  8
1889
     #define Y_STALL_SENSITIVITY  8
1882
     //#define Z_STALL_SENSITIVITY  8
1890
     //#define Z_STALL_SENSITIVITY  8
1891
+    //#define SPI_ENDSTOPS              // TMC2130 only
1892
+    //#define IMPROVE_HOMING_RELIABILITY
1883
   #endif
1893
   #endif
1884
 
1894
 
1885
   /**
1895
   /**

+ 17
- 7
config/examples/delta/MKS/SBASE/Configuration_adv.h 查看文件

1853
   #define E5_HYBRID_THRESHOLD     30
1853
   #define E5_HYBRID_THRESHOLD     30
1854
 
1854
 
1855
   /**
1855
   /**
1856
+   * Use StallGuard2 to home / probe X, Y, Z.
1857
+   *
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1857
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1858
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    *
1861
    *
1861
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1862
-   * Higher values make the system LESS sensitive.
1863
-   * Lower value make the system MORE sensitive.
1864
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1865
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1866
-   * M914 X/Y/Z to live tune the setting
1862
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1863
+   * Use M914 X Y Z to live-adjust the sensitivity.
1864
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1865
+   *   Lower: MORE sensitive. (Too low  => false positives)
1866
+   *
1867
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1868
+   *
1869
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1870
+   * Poll the driver through SPI to determine load when homing.
1871
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1872
+   *
1873
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1874
+   * homing and adds a guard period for endstop triggering.
1867
    */
1875
    */
1868
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1876
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1869
 
1877
 
1880
     #define X_STALL_SENSITIVITY  8
1888
     #define X_STALL_SENSITIVITY  8
1881
     #define Y_STALL_SENSITIVITY  8
1889
     #define Y_STALL_SENSITIVITY  8
1882
     //#define Z_STALL_SENSITIVITY  8
1890
     //#define Z_STALL_SENSITIVITY  8
1891
+    //#define SPI_ENDSTOPS              // TMC2130 only
1892
+    //#define IMPROVE_HOMING_RELIABILITY
1883
   #endif
1893
   #endif
1884
 
1894
 
1885
   /**
1895
   /**

+ 17
- 7
config/examples/delta/Tevo Little Monster/Configuration_adv.h 查看文件

1853
   #define E5_HYBRID_THRESHOLD     30
1853
   #define E5_HYBRID_THRESHOLD     30
1854
 
1854
 
1855
   /**
1855
   /**
1856
+   * Use StallGuard2 to home / probe X, Y, Z.
1857
+   *
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1857
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1858
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    *
1861
    *
1861
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1862
-   * Higher values make the system LESS sensitive.
1863
-   * Lower value make the system MORE sensitive.
1864
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1865
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1866
-   * M914 X/Y/Z to live tune the setting
1862
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1863
+   * Use M914 X Y Z to live-adjust the sensitivity.
1864
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1865
+   *   Lower: MORE sensitive. (Too low  => false positives)
1866
+   *
1867
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1868
+   *
1869
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1870
+   * Poll the driver through SPI to determine load when homing.
1871
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1872
+   *
1873
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1874
+   * homing and adds a guard period for endstop triggering.
1867
    */
1875
    */
1868
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1876
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1869
 
1877
 
1880
     #define X_STALL_SENSITIVITY  8
1888
     #define X_STALL_SENSITIVITY  8
1881
     #define Y_STALL_SENSITIVITY  8
1889
     #define Y_STALL_SENSITIVITY  8
1882
     //#define Z_STALL_SENSITIVITY  8
1890
     //#define Z_STALL_SENSITIVITY  8
1891
+    //#define SPI_ENDSTOPS              // TMC2130 only
1892
+    //#define IMPROVE_HOMING_RELIABILITY
1883
   #endif
1893
   #endif
1884
 
1894
 
1885
   /**
1895
   /**

+ 17
- 7
config/examples/delta/generic/Configuration_adv.h 查看文件

1853
   #define E5_HYBRID_THRESHOLD     30
1853
   #define E5_HYBRID_THRESHOLD     30
1854
 
1854
 
1855
   /**
1855
   /**
1856
+   * Use StallGuard2 to home / probe X, Y, Z.
1857
+   *
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1857
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1858
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    *
1861
    *
1861
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1862
-   * Higher values make the system LESS sensitive.
1863
-   * Lower value make the system MORE sensitive.
1864
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1865
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1866
-   * M914 X/Y/Z to live tune the setting
1862
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1863
+   * Use M914 X Y Z to live-adjust the sensitivity.
1864
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1865
+   *   Lower: MORE sensitive. (Too low  => false positives)
1866
+   *
1867
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1868
+   *
1869
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1870
+   * Poll the driver through SPI to determine load when homing.
1871
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1872
+   *
1873
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1874
+   * homing and adds a guard period for endstop triggering.
1867
    */
1875
    */
1868
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1876
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1869
 
1877
 
1880
     #define X_STALL_SENSITIVITY  8
1888
     #define X_STALL_SENSITIVITY  8
1881
     #define Y_STALL_SENSITIVITY  8
1889
     #define Y_STALL_SENSITIVITY  8
1882
     //#define Z_STALL_SENSITIVITY  8
1890
     //#define Z_STALL_SENSITIVITY  8
1891
+    //#define SPI_ENDSTOPS              // TMC2130 only
1892
+    //#define IMPROVE_HOMING_RELIABILITY
1883
   #endif
1893
   #endif
1884
 
1894
 
1885
   /**
1895
   /**

+ 17
- 7
config/examples/delta/kossel_mini/Configuration_adv.h 查看文件

1853
   #define E5_HYBRID_THRESHOLD     30
1853
   #define E5_HYBRID_THRESHOLD     30
1854
 
1854
 
1855
   /**
1855
   /**
1856
+   * Use StallGuard2 to home / probe X, Y, Z.
1857
+   *
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1857
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1858
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    *
1861
    *
1861
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1862
-   * Higher values make the system LESS sensitive.
1863
-   * Lower value make the system MORE sensitive.
1864
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1865
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1866
-   * M914 X/Y/Z to live tune the setting
1862
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1863
+   * Use M914 X Y Z to live-adjust the sensitivity.
1864
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1865
+   *   Lower: MORE sensitive. (Too low  => false positives)
1866
+   *
1867
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1868
+   *
1869
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1870
+   * Poll the driver through SPI to determine load when homing.
1871
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1872
+   *
1873
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1874
+   * homing and adds a guard period for endstop triggering.
1867
    */
1875
    */
1868
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1876
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1869
 
1877
 
1880
     #define X_STALL_SENSITIVITY  8
1888
     #define X_STALL_SENSITIVITY  8
1881
     #define Y_STALL_SENSITIVITY  8
1889
     #define Y_STALL_SENSITIVITY  8
1882
     //#define Z_STALL_SENSITIVITY  8
1890
     //#define Z_STALL_SENSITIVITY  8
1891
+    //#define SPI_ENDSTOPS              // TMC2130 only
1892
+    //#define IMPROVE_HOMING_RELIABILITY
1883
   #endif
1893
   #endif
1884
 
1894
 
1885
   /**
1895
   /**

+ 17
- 7
config/examples/delta/kossel_xl/Configuration_adv.h 查看文件

1853
   #define E5_HYBRID_THRESHOLD     30
1853
   #define E5_HYBRID_THRESHOLD     30
1854
 
1854
 
1855
   /**
1855
   /**
1856
+   * Use StallGuard2 to home / probe X, Y, Z.
1857
+   *
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1858
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1857
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1858
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1859
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    * X, Y, and Z homing will always be done in spreadCycle mode.
1860
    *
1861
    *
1861
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1862
-   * Higher values make the system LESS sensitive.
1863
-   * Lower value make the system MORE sensitive.
1864
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1865
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1866
-   * M914 X/Y/Z to live tune the setting
1862
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1863
+   * Use M914 X Y Z to live-adjust the sensitivity.
1864
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1865
+   *   Lower: MORE sensitive. (Too low  => false positives)
1866
+   *
1867
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1868
+   *
1869
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1870
+   * Poll the driver through SPI to determine load when homing.
1871
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1872
+   *
1873
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1874
+   * homing and adds a guard period for endstop triggering.
1867
    */
1875
    */
1868
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1876
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1869
 
1877
 
1880
     #define X_STALL_SENSITIVITY  8
1888
     #define X_STALL_SENSITIVITY  8
1881
     #define Y_STALL_SENSITIVITY  8
1889
     #define Y_STALL_SENSITIVITY  8
1882
     //#define Z_STALL_SENSITIVITY  8
1890
     //#define Z_STALL_SENSITIVITY  8
1891
+    //#define SPI_ENDSTOPS              // TMC2130 only
1892
+    //#define IMPROVE_HOMING_RELIABILITY
1883
   #endif
1893
   #endif
1884
 
1894
 
1885
   /**
1895
   /**

+ 17
- 7
config/examples/gCreate/gMax1.5+/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/makibox/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/tvrrug/Round2/Configuration_adv.h 查看文件

1851
   #define E5_HYBRID_THRESHOLD     30
1851
   #define E5_HYBRID_THRESHOLD     30
1852
 
1852
 
1853
   /**
1853
   /**
1854
+   * Use StallGuard2 to home / probe X, Y, Z.
1855
+   *
1854
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1855
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1856
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
1857
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    * X, Y, and Z homing will always be done in spreadCycle mode.
1858
    *
1859
    *
1859
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1860
-   * Higher values make the system LESS sensitive.
1861
-   * Lower value make the system MORE sensitive.
1862
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1863
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1864
-   * M914 X/Y/Z to live tune the setting
1860
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1861
+   * Use M914 X Y Z to live-adjust the sensitivity.
1862
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1863
+   *   Lower: MORE sensitive. (Too low  => false positives)
1864
+   *
1865
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1866
+   *
1867
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1868
+   * Poll the driver through SPI to determine load when homing.
1869
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1870
+   *
1871
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1872
+   * homing and adds a guard period for endstop triggering.
1865
    */
1873
    */
1866
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1874
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1867
 
1875
 
1878
     #define X_STALL_SENSITIVITY  8
1886
     #define X_STALL_SENSITIVITY  8
1879
     #define Y_STALL_SENSITIVITY  8
1887
     #define Y_STALL_SENSITIVITY  8
1880
     //#define Z_STALL_SENSITIVITY  8
1888
     //#define Z_STALL_SENSITIVITY  8
1889
+    //#define SPI_ENDSTOPS              // TMC2130 only
1890
+    //#define IMPROVE_HOMING_RELIABILITY
1881
   #endif
1891
   #endif
1882
 
1892
 
1883
   /**
1893
   /**

+ 17
- 7
config/examples/wt150/Configuration_adv.h 查看文件

1852
   #define E5_HYBRID_THRESHOLD     30
1852
   #define E5_HYBRID_THRESHOLD     30
1853
 
1853
 
1854
   /**
1854
   /**
1855
+   * Use StallGuard2 to home / probe X, Y, Z.
1856
+   *
1855
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1857
    * TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
1856
-   * Use StallGuard2 to sense an obstacle and trigger an endstop.
1857
    * 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.
1858
    * 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.
1859
    *
1860
    *
1860
-   * X/Y/Z_STALL_SENSITIVITY is used for tuning the trigger sensitivity.
1861
-   * Higher values make the system LESS sensitive.
1862
-   * Lower value make the system MORE sensitive.
1863
-   * Too low values can lead to false positives, while too high values will collide the axis without triggering.
1864
-   * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
1865
-   * M914 X/Y/Z to live tune the setting
1861
+   * X/Y/Z_STALL_SENSITIVITY is used to tune the trigger sensitivity.
1862
+   * Use M914 X Y Z to live-adjust the sensitivity.
1863
+   *  Higher: LESS sensitive. (Too high => failure to trigger)
1864
+   *   Lower: MORE sensitive. (Too low  => false positives)
1865
+   *
1866
+   * It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
1867
+   *
1868
+   * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
1869
+   * Poll the driver through SPI to determine load when homing.
1870
+   * Removes the need for a wire from DIAG1 to an endstop pin.
1871
+   *
1872
+   * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
1873
+   * homing and adds a guard period for endstop triggering.
1866
    */
1874
    */
1867
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1875
   //#define SENSORLESS_HOMING // StallGuard capable drivers only
1868
 
1876
 
1879
     #define X_STALL_SENSITIVITY  8
1887
     #define X_STALL_SENSITIVITY  8
1880
     #define Y_STALL_SENSITIVITY  8
1888
     #define Y_STALL_SENSITIVITY  8
1881
     //#define Z_STALL_SENSITIVITY  8
1889
     //#define Z_STALL_SENSITIVITY  8
1890
+    //#define SPI_ENDSTOPS              // TMC2130 only
1891
+    //#define IMPROVE_HOMING_RELIABILITY
1882
   #endif
1892
   #endif
1883
 
1893
 
1884
   /**
1894
   /**

Loading…
取消
儲存