|
|
|
@ -456,7 +456,7 @@
|
|
|
|
|
#define MINIMUM_STEPPER_DIR_DELAY 400
|
|
|
|
|
#elif HAS_DRIVER(A4988)
|
|
|
|
|
#define MINIMUM_STEPPER_DIR_DELAY 200
|
|
|
|
|
#elif HAS_TRINAMIC || HAS_DRIVER(TMC2130_STANDALONE) || HAS_DRIVER(TMC2208_STANDALONE) || HAS_DRIVER(TMC26X_STANDALONE) || HAS_DRIVER(TMC2660_STANDALONE)
|
|
|
|
|
#elif HAS_TRINAMIC || HAS_DRIVER(TMC2660) || HAS_DRIVER(TMC2130_STANDALONE) || HAS_DRIVER(TMC2208_STANDALONE) || HAS_DRIVER(TMC26X_STANDALONE) || HAS_DRIVER(TMC2660_STANDALONE)
|
|
|
|
|
#define MINIMUM_STEPPER_DIR_DELAY 20
|
|
|
|
|
#else
|
|
|
|
|
#define MINIMUM_STEPPER_DIR_DELAY 0 // Expect at least 10µS since one Stepper ISR must transpire
|
|
|
|
@ -472,7 +472,7 @@
|
|
|
|
|
#define MINIMUM_STEPPER_PULSE 2
|
|
|
|
|
#elif HAS_DRIVER(A4988) || HAS_DRIVER(LV8729) || HAS_DRIVER(A5984)
|
|
|
|
|
#define MINIMUM_STEPPER_PULSE 1
|
|
|
|
|
#elif HAS_TRINAMIC || HAS_DRIVER(TMC2130_STANDALONE) || HAS_DRIVER(TMC2208_STANDALONE) || HAS_DRIVER(TMC26X_STANDALONE) || HAS_DRIVER(TMC2660_STANDALONE)
|
|
|
|
|
#elif HAS_TRINAMIC || HAS_DRIVER(TMC2660) || HAS_DRIVER(TMC2130_STANDALONE) || HAS_DRIVER(TMC2208_STANDALONE) || HAS_DRIVER(TMC26X_STANDALONE) || HAS_DRIVER(TMC2660_STANDALONE)
|
|
|
|
|
#define MINIMUM_STEPPER_PULSE 0
|
|
|
|
|
#else
|
|
|
|
|
#define MINIMUM_STEPPER_PULSE 2
|
|
|
|
@ -488,7 +488,7 @@
|
|
|
|
|
#define MAXIMUM_STEPPER_RATE 150000
|
|
|
|
|
#elif HAS_DRIVER(DRV8825)
|
|
|
|
|
#define MAXIMUM_STEPPER_RATE 250000
|
|
|
|
|
#elif HAS_TRINAMIC || HAS_DRIVER(TMC2130_STANDALONE) || HAS_DRIVER(TMC2208_STANDALONE) || HAS_DRIVER(TMC26X_STANDALONE) || HAS_DRIVER(TMC2660_STANDALONE)
|
|
|
|
|
#elif HAS_TRINAMIC || HAS_DRIVER(TMC2660) || HAS_DRIVER(TMC2130_STANDALONE) || HAS_DRIVER(TMC2208_STANDALONE) || HAS_DRIVER(TMC26X_STANDALONE) || HAS_DRIVER(TMC2660_STANDALONE)
|
|
|
|
|
#define MAXIMUM_STEPPER_RATE 400000
|
|
|
|
|
#elif HAS_DRIVER(A4988)
|
|
|
|
|
#define MAXIMUM_STEPPER_RATE 500000
|
|
|
|
@ -783,9 +783,9 @@
|
|
|
|
|
|
|
|
|
|
// Trinamic Stepper Drivers
|
|
|
|
|
#define HAS_STEALTHCHOP (HAS_DRIVER(TMC2130) || HAS_DRIVER(TMC2208))
|
|
|
|
|
#define HAS_STALLGUARD (HAS_DRIVER(TMC2130) || HAS_DRIVER(TMC2660))
|
|
|
|
|
#define HAS_STALLGUARD HAS_DRIVER(TMC2130)
|
|
|
|
|
#define AXIS_HAS_STEALTHCHOP(ST) ( AXIS_DRIVER_TYPE(ST, TMC2130) || AXIS_DRIVER_TYPE(ST, TMC2208) )
|
|
|
|
|
#define AXIS_HAS_STALLGUARD(ST) ( AXIS_DRIVER_TYPE(ST, TMC2130) || AXIS_DRIVER_TYPE(ST, TMC2660) )
|
|
|
|
|
#define AXIS_HAS_STALLGUARD(ST) AXIS_DRIVER_TYPE(ST, TMC2130)
|
|
|
|
|
|
|
|
|
|
#if ENABLED(SENSORLESS_HOMING)
|
|
|
|
|
// Disable Z axis sensorless homing if a probe is used to home the Z axis
|
|
|
|
|