|
@ -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
|
|
|