Browse Source

More conservative Trinamic DIR delay

See #17323

This makes babystepping more reliable and may improve Trinamic motion overall.

Co-Authored-By: chgi <chgi@users.noreply.github.com>
vanilla_fb_2.0.x
Scott Lahteine 5 years ago
parent
commit
33127f4476
  1. 5
      Marlin/src/inc/Conditionals_adv.h

5
Marlin/src/inc/Conditionals_adv.h

@ -259,11 +259,10 @@
#endif #endif
/** /**
* Driver Timings * Driver Timings (in nanoseconds)
* NOTE: Driver timing order is longest-to-shortest duration. * NOTE: Driver timing order is longest-to-shortest duration.
* Preserve this ordering when adding new drivers. * Preserve this ordering when adding new drivers.
*/ */
#ifndef MINIMUM_STEPPER_POST_DIR_DELAY #ifndef MINIMUM_STEPPER_POST_DIR_DELAY
#if HAS_DRIVER(TB6560) #if HAS_DRIVER(TB6560)
#define MINIMUM_STEPPER_POST_DIR_DELAY 15000 #define MINIMUM_STEPPER_POST_DIR_DELAY 15000
@ -278,7 +277,7 @@
#elif HAS_DRIVER(A4988) #elif HAS_DRIVER(A4988)
#define MINIMUM_STEPPER_POST_DIR_DELAY 200 #define MINIMUM_STEPPER_POST_DIR_DELAY 200
#elif HAS_TRINAMIC_CONFIG || HAS_TRINAMIC_STANDALONE #elif HAS_TRINAMIC_CONFIG || HAS_TRINAMIC_STANDALONE
#define MINIMUM_STEPPER_POST_DIR_DELAY 20 #define MINIMUM_STEPPER_POST_DIR_DELAY 60
#else #else
#define MINIMUM_STEPPER_POST_DIR_DELAY 0 // Expect at least 10µS since one Stepper ISR must transpire #define MINIMUM_STEPPER_POST_DIR_DELAY 0 // Expect at least 10µS since one Stepper ISR must transpire
#endif #endif

Loading…
Cancel
Save