Add minimum step dir delay option, A4988 pulse note (#11122)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
This commit is contained in:
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -816,9 +816,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -811,9 +811,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -810,9 +810,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -810,9 +810,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -810,9 +810,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -810,9 +810,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -810,9 +810,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -810,9 +810,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -815,9 +815,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -810,9 +810,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -808,9 +808,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -809,9 +809,22 @@
|
|||||||
// Moves (or segments) with fewer steps than this will be joined with the next move
|
// Moves (or segments) with fewer steps than this will be joined with the next move
|
||||||
#define MIN_STEPS_PER_SEGMENT 6
|
#define MIN_STEPS_PER_SEGMENT 6
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Minimum delay after setting the stepper DIR (in ns)
|
||||||
|
* 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire)
|
||||||
|
* 20 : Minimum for TMC2xxx drivers
|
||||||
|
* 200 : Minimum for A4988 drivers
|
||||||
|
* 500 : Minimum for LV8729 drivers (guess, no info in datasheet)
|
||||||
|
* 650 : Minimum for DRV8825 drivers
|
||||||
|
* 1500 : Minimum for TB6600 drivers (guess, no info in datasheet)
|
||||||
|
*15000 : Minimum for TB6560 drivers (guess, no info in datasheet)
|
||||||
|
*/
|
||||||
|
#define MINIMUM_STEPPER_DIR_DELAY 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum stepper driver pulse width (in µs)
|
* Minimum stepper driver pulse width (in µs)
|
||||||
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
* 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers
|
||||||
|
* 1 : Minimum for A4988 stepper drivers
|
||||||
* 1 : Minimum for LV8729 stepper drivers
|
* 1 : Minimum for LV8729 stepper drivers
|
||||||
* 2 : Minimum for DRV8825 stepper drivers
|
* 2 : Minimum for DRV8825 stepper drivers
|
||||||
* 3 : Minimum for TB6600 stepper drivers
|
* 3 : Minimum for TB6600 stepper drivers
|
||||||
|
@@ -688,7 +688,7 @@ class Planner {
|
|||||||
*/
|
*/
|
||||||
FORCE_INLINE static void discard_current_block() {
|
FORCE_INLINE static void discard_current_block() {
|
||||||
if (has_blocks_queued()) { // Discard non-empty buffer.
|
if (has_blocks_queued()) { // Discard non-empty buffer.
|
||||||
uint8_t block_index = next_block_index( block_buffer_tail );
|
uint8_t block_index = next_block_index(block_buffer_tail);
|
||||||
|
|
||||||
// Push block_buffer_planned pointer, if encountered.
|
// Push block_buffer_planned pointer, if encountered.
|
||||||
if (!has_blocks_queued()) block_buffer_planned = block_index;
|
if (!has_blocks_queued()) block_buffer_planned = block_index;
|
||||||
|
@@ -379,6 +379,11 @@ void Stepper::set_directions() {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif // !LIN_ADVANCE
|
#endif // !LIN_ADVANCE
|
||||||
|
|
||||||
|
// A small delay may be needed after changing direction
|
||||||
|
#if MINIMUM_STEPPER_DIR_DELAY > 0
|
||||||
|
DELAY_NS(MINIMUM_STEPPER_DIR_DELAY);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if ENABLED(S_CURVE_ACCELERATION)
|
#if ENABLED(S_CURVE_ACCELERATION)
|
||||||
|
Reference in New Issue
Block a user