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>
Scott Lahteine 5 years ago
parent
commit
33127f4476
1 changed files with 2 additions and 3 deletions
  1. 2
    3
      Marlin/src/inc/Conditionals_adv.h

+ 2
- 3
Marlin/src/inc/Conditionals_adv.h View File

259
 #endif
259
 #endif
260
 
260
 
261
 /**
261
 /**
262
- * Driver Timings
262
+ * Driver Timings (in nanoseconds)
263
  * NOTE: Driver timing order is longest-to-shortest duration.
263
  * NOTE: Driver timing order is longest-to-shortest duration.
264
  *       Preserve this ordering when adding new drivers.
264
  *       Preserve this ordering when adding new drivers.
265
  */
265
  */
266
-
267
 #ifndef MINIMUM_STEPPER_POST_DIR_DELAY
266
 #ifndef MINIMUM_STEPPER_POST_DIR_DELAY
268
   #if HAS_DRIVER(TB6560)
267
   #if HAS_DRIVER(TB6560)
269
     #define MINIMUM_STEPPER_POST_DIR_DELAY 15000
268
     #define MINIMUM_STEPPER_POST_DIR_DELAY 15000
278
   #elif HAS_DRIVER(A4988)
277
   #elif HAS_DRIVER(A4988)
279
     #define MINIMUM_STEPPER_POST_DIR_DELAY 200
278
     #define MINIMUM_STEPPER_POST_DIR_DELAY 200
280
   #elif HAS_TRINAMIC_CONFIG || HAS_TRINAMIC_STANDALONE
279
   #elif HAS_TRINAMIC_CONFIG || HAS_TRINAMIC_STANDALONE
281
-    #define MINIMUM_STEPPER_POST_DIR_DELAY 20
280
+    #define MINIMUM_STEPPER_POST_DIR_DELAY 60
282
   #else
281
   #else
283
     #define MINIMUM_STEPPER_POST_DIR_DELAY 0   // Expect at least 10µS since one Stepper ISR must transpire
282
     #define MINIMUM_STEPPER_POST_DIR_DELAY 0   // Expect at least 10µS since one Stepper ISR must transpire
284
   #endif
283
   #endif

Loading…
Cancel
Save