Update examples
This commit is contained in:
parent
e89a47c8b5
commit
14fb683682
83 changed files with 626 additions and 621 deletions
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1734,7 +1734,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1776,7 +1775,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1802,7 +1801,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1820,7 +1819,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1843,7 +1842,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1855,7 +1854,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1863,9 +1862,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1736,7 +1736,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1778,7 +1777,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1804,7 +1803,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1822,7 +1821,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1845,7 +1844,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1857,7 +1856,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1865,9 +1864,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1740,7 +1740,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1782,7 +1781,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1808,7 +1807,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1826,7 +1825,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1849,7 +1848,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1861,7 +1860,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1869,9 +1868,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/**
|
/**
|
||||||
* Marlin 3D Printer Firmware
|
* Marlin 3D Printer Firmware
|
||||||
* Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
* Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||||
*
|
*
|
||||||
* Based on Sprinter and grbl.
|
* Based on Sprinter and grbl.
|
||||||
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/**
|
/**
|
||||||
* Marlin 3D Printer Firmware
|
* Marlin 3D Printer Firmware
|
||||||
* Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
* Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||||
*
|
*
|
||||||
* Based on Sprinter and grbl.
|
* Based on Sprinter and grbl.
|
||||||
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -352,8 +352,11 @@
|
||||||
#define E4_AUTO_FAN_PIN -1
|
#define E4_AUTO_FAN_PIN -1
|
||||||
#define E5_AUTO_FAN_PIN -1
|
#define E5_AUTO_FAN_PIN -1
|
||||||
#define CHAMBER_AUTO_FAN_PIN -1
|
#define CHAMBER_AUTO_FAN_PIN -1
|
||||||
|
|
||||||
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
||||||
#define EXTRUDER_AUTO_FAN_SPEED 255 // 255 == full speed
|
#define EXTRUDER_AUTO_FAN_SPEED 255 // 255 == full speed
|
||||||
|
#define CHAMBER_AUTO_FAN_TEMPERATURE 30
|
||||||
|
#define CHAMBER_AUTO_FAN_SPEED 255
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Part-Cooling Fan Multiplexer
|
* Part-Cooling Fan Multiplexer
|
||||||
|
@ -2118,17 +2121,19 @@
|
||||||
*
|
*
|
||||||
* See http://marlinfw.org/docs/configuration/laser_spindle.html for more config details.
|
* See http://marlinfw.org/docs/configuration/laser_spindle.html for more config details.
|
||||||
*/
|
*/
|
||||||
//#define SPINDLE_LASER_ENABLE
|
//#define SPINDLE_FEATURE
|
||||||
#if ENABLED(SPINDLE_LASER_ENABLE)
|
//#define LASER_FEATURE
|
||||||
|
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||||
#define SPINDLE_LASER_ENABLE_INVERT false // Set to "true" if the on/off function is reversed
|
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||||
#define SPINDLE_LASER_PWM true // Set to true if your controller supports setting the speed/power
|
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||||
#define SPINDLE_LASER_POWERUP_DELAY 5000 // (ms) Delay to allow the spindle/laser to come up to speed/power
|
#define SPINDLE_LASER_POWERUP_DELAY 5000 // (ms) Delay to allow the spindle/laser to come up to speed/power
|
||||||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||||
#define SPINDLE_DIR_CHANGE true // Set to true if your spindle controller supports changing spindle direction
|
|
||||||
#define SPINDLE_INVERT_DIR false
|
#if ENABLED(SPINDLE_FEATURE)
|
||||||
#define SPINDLE_STOP_ON_DIR_CHANGE true // Set to true if Marlin should stop the spindle before changing rotation direction
|
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||||
|
#define SPINDLE_CHANGE_DIR_STOP // Enable if the spindle should stop before changing spin direction
|
||||||
|
#define SPINDLE_INVERT_DIR false // Set to "true" if the spin direction is reversed
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The M3 & M4 commands use the following equation to convert PWM duty cycle to speed/power
|
* The M3 & M4 commands use the following equation to convert PWM duty cycle to speed/power
|
||||||
|
@ -2138,16 +2143,16 @@
|
||||||
*
|
*
|
||||||
* set the following for your controller (ALL MUST BE SET)
|
* set the following for your controller (ALL MUST BE SET)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define SPEED_POWER_SLOPE 118.4
|
#define SPEED_POWER_SLOPE 118.4
|
||||||
#define SPEED_POWER_INTERCEPT 0
|
#define SPEED_POWER_INTERCEPT 0
|
||||||
#define SPEED_POWER_MIN 5000
|
#define SPEED_POWER_MIN 5000
|
||||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||||
|
#else
|
||||||
//#define SPEED_POWER_SLOPE 0.3922
|
#define SPEED_POWER_SLOPE 0.3922
|
||||||
//#define SPEED_POWER_INTERCEPT 0
|
#define SPEED_POWER_INTERCEPT 0
|
||||||
//#define SPEED_POWER_MIN 10
|
#define SPEED_POWER_MIN 10
|
||||||
//#define SPEED_POWER_MAX 100 // 0-100%
|
#define SPEED_POWER_MAX 100 // 0-100%
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1731,7 +1731,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1773,7 +1772,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1799,7 +1798,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1817,7 +1816,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1840,7 +1839,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1852,7 +1851,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1860,9 +1859,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1734,7 +1734,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1776,7 +1775,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1802,7 +1801,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1820,7 +1819,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1843,7 +1842,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1855,7 +1854,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1863,9 +1862,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1736,7 +1736,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1778,7 +1777,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1804,7 +1803,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1822,7 +1821,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1845,7 +1844,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1857,7 +1856,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1865,9 +1864,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1736,7 +1736,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1778,7 +1777,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1804,7 +1803,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1822,7 +1821,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1845,7 +1844,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1857,7 +1856,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1865,9 +1864,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1731,7 +1731,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1773,7 +1772,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1799,7 +1798,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1817,7 +1816,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1840,7 +1839,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1852,7 +1851,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1860,9 +1859,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1737,7 +1737,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1779,7 +1778,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1805,7 +1804,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1823,7 +1822,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1846,7 +1845,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1858,7 +1857,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1866,9 +1865,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1737,7 +1737,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1779,7 +1778,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1805,7 +1804,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1823,7 +1822,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1846,7 +1845,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1858,7 +1857,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1866,9 +1865,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1733,7 +1733,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1775,7 +1774,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1801,7 +1800,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1819,7 +1818,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1842,7 +1841,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1854,7 +1853,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1862,9 +1861,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1745,7 +1745,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1787,7 +1786,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1813,7 +1812,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1831,7 +1830,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1854,7 +1853,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1866,7 +1865,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1874,9 +1873,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1734,7 +1734,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1776,7 +1775,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1802,7 +1801,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1820,7 +1819,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1843,7 +1842,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1855,7 +1854,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1863,9 +1862,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1734,7 +1734,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1776,7 +1775,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1802,7 +1801,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1820,7 +1819,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1843,7 +1842,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1855,7 +1854,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1863,9 +1862,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1734,7 +1734,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1776,7 +1775,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1802,7 +1801,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1820,7 +1819,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1843,7 +1842,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1855,7 +1854,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1863,9 +1862,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1734,7 +1734,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1776,7 +1775,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1802,7 +1801,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1820,7 +1819,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1843,7 +1842,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1855,7 +1854,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1863,9 +1862,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1734,7 +1734,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1776,7 +1775,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1802,7 +1801,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1820,7 +1819,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1843,7 +1842,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1855,7 +1854,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1863,9 +1862,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1734,7 +1734,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1776,7 +1775,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1802,7 +1801,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1820,7 +1819,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1843,7 +1842,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1855,7 +1854,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1863,9 +1862,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1734,7 +1734,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1776,7 +1775,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1802,7 +1801,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1820,7 +1819,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1843,7 +1842,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1855,7 +1854,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1863,9 +1862,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1734,7 +1734,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1776,7 +1775,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1802,7 +1801,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1820,7 +1819,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1843,7 +1842,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1855,7 +1854,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1863,9 +1862,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1734,7 +1734,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1776,7 +1775,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1802,7 +1801,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1820,7 +1819,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1843,7 +1842,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1855,7 +1854,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1863,9 +1862,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1734,7 +1734,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1776,7 +1775,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1802,7 +1801,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1820,7 +1819,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1843,7 +1842,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1855,7 +1854,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1863,9 +1862,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -946,40 +946,40 @@
|
||||||
// 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
|
// 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
|
||||||
// if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
|
// if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
|
||||||
|
|
||||||
//#define Z_PROBE_ALLEN_KEY_DEPLOY_1_X 30.0
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_1_X 30.0
|
||||||
//#define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y DELTA_PRINTABLE_RADIUS
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y DELTA_PRINTABLE_RADIUS
|
||||||
//#define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0
|
||||||
//#define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE XY_PROBE_SPEED
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE XY_PROBE_SPEED
|
||||||
|
|
||||||
//#define Z_PROBE_ALLEN_KEY_DEPLOY_2_X 0.0
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_2_X 0.0
|
||||||
//#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y DELTA_PRINTABLE_RADIUS
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y DELTA_PRINTABLE_RADIUS
|
||||||
//#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
|
||||||
//#define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_PROBE_SPEED)/10
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_PROBE_SPEED)/10
|
||||||
|
|
||||||
//#define Z_PROBE_ALLEN_KEY_DEPLOY_3_X Z_PROBE_ALLEN_KEY_DEPLOY_2_X * 0.75
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_3_X Z_PROBE_ALLEN_KEY_DEPLOY_2_X * 0.75
|
||||||
//#define Z_PROBE_ALLEN_KEY_DEPLOY_3_Y Z_PROBE_ALLEN_KEY_DEPLOY_2_Y * 0.75
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_3_Y Z_PROBE_ALLEN_KEY_DEPLOY_2_Y * 0.75
|
||||||
//#define Z_PROBE_ALLEN_KEY_DEPLOY_3_Z Z_PROBE_ALLEN_KEY_DEPLOY_2_Z
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_3_Z Z_PROBE_ALLEN_KEY_DEPLOY_2_Z
|
||||||
//#define Z_PROBE_ALLEN_KEY_DEPLOY_3_FEEDRATE XY_PROBE_SPEED
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_3_FEEDRATE XY_PROBE_SPEED
|
||||||
|
|
||||||
//#define Z_PROBE_ALLEN_KEY_STOW_1_X -64.0 // Move the probe into position
|
#define Z_PROBE_ALLEN_KEY_STOW_1_X -64.0 // Move the probe into position
|
||||||
//#define Z_PROBE_ALLEN_KEY_STOW_1_Y 56.0
|
#define Z_PROBE_ALLEN_KEY_STOW_1_Y 56.0
|
||||||
//#define Z_PROBE_ALLEN_KEY_STOW_1_Z 23.0
|
#define Z_PROBE_ALLEN_KEY_STOW_1_Z 23.0
|
||||||
//#define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE XY_PROBE_SPEED
|
#define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE XY_PROBE_SPEED
|
||||||
|
|
||||||
//#define Z_PROBE_ALLEN_KEY_STOW_2_X -64.0 // Push it down
|
#define Z_PROBE_ALLEN_KEY_STOW_2_X -64.0 // Push it down
|
||||||
//#define Z_PROBE_ALLEN_KEY_STOW_2_Y 56.0
|
#define Z_PROBE_ALLEN_KEY_STOW_2_Y 56.0
|
||||||
//#define Z_PROBE_ALLEN_KEY_STOW_2_Z 3.0
|
#define Z_PROBE_ALLEN_KEY_STOW_2_Z 3.0
|
||||||
//#define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (XY_PROBE_SPEED)/10
|
#define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (XY_PROBE_SPEED)/10
|
||||||
|
|
||||||
//#define Z_PROBE_ALLEN_KEY_STOW_3_X -64.0 // Move it up to clear
|
#define Z_PROBE_ALLEN_KEY_STOW_3_X -64.0 // Move it up to clear
|
||||||
//#define Z_PROBE_ALLEN_KEY_STOW_3_Y 56.0
|
#define Z_PROBE_ALLEN_KEY_STOW_3_Y 56.0
|
||||||
//#define Z_PROBE_ALLEN_KEY_STOW_3_Z 50.0
|
#define Z_PROBE_ALLEN_KEY_STOW_3_Z 50.0
|
||||||
//#define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE XY_PROBE_SPEED
|
#define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE XY_PROBE_SPEED
|
||||||
|
|
||||||
//#define Z_PROBE_ALLEN_KEY_STOW_4_X 0.0
|
#define Z_PROBE_ALLEN_KEY_STOW_4_X 0.0
|
||||||
//#define Z_PROBE_ALLEN_KEY_STOW_4_Y 0.0
|
#define Z_PROBE_ALLEN_KEY_STOW_4_Y 0.0
|
||||||
//#define Z_PROBE_ALLEN_KEY_STOW_4_Z Z_PROBE_ALLEN_KEY_STOW_3_Z
|
#define Z_PROBE_ALLEN_KEY_STOW_4_Z Z_PROBE_ALLEN_KEY_STOW_3_Z
|
||||||
//#define Z_PROBE_ALLEN_KEY_STOW_4_FEEDRATE XY_PROBE_SPEED
|
#define Z_PROBE_ALLEN_KEY_STOW_4_FEEDRATE XY_PROBE_SPEED
|
||||||
|
|
||||||
#endif // Z_PROBE_ALLEN_KEY
|
#endif // Z_PROBE_ALLEN_KEY
|
||||||
|
|
||||||
|
@ -1298,10 +1298,10 @@
|
||||||
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
|
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
|
||||||
|
|
||||||
// Set the boundaries for probing (where the probe can reach).
|
// Set the boundaries for probing (where the probe can reach).
|
||||||
//#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS + MIN_PROBE_EDGE)
|
//#define LEFT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE))
|
||||||
//#define RIGHT_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS - (MIN_PROBE_EDGE)
|
//#define RIGHT_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)
|
||||||
//#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS + MIN_PROBE_EDGE)
|
//#define FRONT_PROBE_BED_POSITION -(DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE))
|
||||||
//#define BACK_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS - (MIN_PROBE_EDGE)
|
//#define BACK_PROBE_BED_POSITION DELTA_PRINTABLE_RADIUS -(MIN_PROBE_EDGE)
|
||||||
|
|
||||||
// Probe along the Y axis, advancing X after each column
|
// Probe along the Y axis, advancing X after each column
|
||||||
//#define PROBE_Y_FIRST
|
//#define PROBE_Y_FIRST
|
||||||
|
|
|
@ -1734,7 +1734,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1776,7 +1775,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1802,7 +1801,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1820,7 +1819,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1843,7 +1842,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1855,7 +1854,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1863,9 +1862,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1732,7 +1732,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1774,7 +1773,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1800,7 +1799,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1818,7 +1817,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1841,7 +1840,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1853,7 +1852,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1861,9 +1860,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
|
@ -1733,7 +1733,6 @@
|
||||||
//#define E5_CS_PIN -1
|
//#define E5_CS_PIN -1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use software SPI for TMC2130.
|
|
||||||
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
* Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
|
||||||
* The default SW SPI pins are defined the respective pins files,
|
* The default SW SPI pins are defined the respective pins files,
|
||||||
* but you can override or define them here.
|
* but you can override or define them here.
|
||||||
|
@ -1775,7 +1774,7 @@
|
||||||
//#define SOFTWARE_DRIVER_ENABLE
|
//#define SOFTWARE_DRIVER_ENABLE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* Use Trinamic's ultra quiet stepping mode.
|
* Use Trinamic's ultra quiet stepping mode.
|
||||||
* When disabled, Marlin will use spreadCycle stepping mode.
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
||||||
*/
|
*/
|
||||||
|
@ -1801,7 +1800,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monitor Trinamic drivers for error conditions,
|
* Monitor Trinamic drivers for error conditions,
|
||||||
* like overtemperature and short to ground. TMC2208 requires hardware serial.
|
* like overtemperature and short to ground.
|
||||||
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
|
||||||
* Other detected conditions can be used to stop the current print.
|
* Other detected conditions can be used to stop the current print.
|
||||||
* Relevant g-codes:
|
* Relevant g-codes:
|
||||||
|
@ -1819,7 +1818,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2208, TMC5130 and TMC5160 only
|
* TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
|
||||||
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
* The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
|
||||||
* This mode allows for faster movements at the expense of higher noise levels.
|
* This mode allows for faster movements at the expense of higher noise levels.
|
||||||
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
* STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
|
||||||
|
@ -1842,7 +1841,7 @@
|
||||||
#define E5_HYBRID_THRESHOLD 30
|
#define E5_HYBRID_THRESHOLD 30
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TMC2130, TMC2160, TMC2660, TMC5130, and TMC5160 only
|
* TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
|
||||||
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
* Use StallGuard2 to sense an obstacle and trigger an endstop.
|
||||||
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
* Connect the stepper driver's DIAG1 pin to the X/Y endstop pin.
|
||||||
* X, Y, and Z homing will always be done in spreadCycle mode.
|
* X, Y, and Z homing will always be done in spreadCycle mode.
|
||||||
|
@ -1854,7 +1853,7 @@
|
||||||
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
* It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
|
||||||
* M914 X/Y/Z to live tune the setting
|
* M914 X/Y/Z to live tune the setting
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_HOMING // TMC2130 only
|
//#define SENSORLESS_HOMING // StallGuard capable drivers only
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use StallGuard2 to probe the bed with the nozzle.
|
* Use StallGuard2 to probe the bed with the nozzle.
|
||||||
|
@ -1862,9 +1861,10 @@
|
||||||
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
* CAUTION: This could cause damage to machines that use a lead screw or threaded rod
|
||||||
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
* to move the Z axis. Take extreme care when attempting to enable this feature.
|
||||||
*/
|
*/
|
||||||
//#define SENSORLESS_PROBING // TMC2130 only
|
//#define SENSORLESS_PROBING // StallGuard capable drivers only
|
||||||
|
|
||||||
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
|
||||||
|
// TMC2209: 0...255. TMC2130: -64...63
|
||||||
#define X_STALL_SENSITIVITY 8
|
#define X_STALL_SENSITIVITY 8
|
||||||
#define Y_STALL_SENSITIVITY 8
|
#define Y_STALL_SENSITIVITY 8
|
||||||
//#define Z_STALL_SENSITIVITY 8
|
//#define Z_STALL_SENSITIVITY 8
|
||||||
|
|
Reference in a new issue