Browse Source

TMC Square Wave Stepping mode (#14195)

teemuatlut 5 years ago
parent
commit
cccc51ee0e
79 changed files with 549 additions and 13 deletions
  1. 6
    0
      Marlin/Configuration_adv.h
  2. 18
    0
      Marlin/src/module/stepper_indirection.cpp
  3. 69
    13
      Marlin/src/module/stepper_indirection.h
  4. 6
    0
      config/default/Configuration_adv.h
  5. 6
    0
      config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  6. 6
    0
      config/examples/AlephObjects/TAZ4/Configuration_adv.h
  7. 6
    0
      config/examples/AliExpress/UM2pExt/Configuration_adv.h
  8. 6
    0
      config/examples/Anet/A2/Configuration_adv.h
  9. 6
    0
      config/examples/Anet/A2plus/Configuration_adv.h
  10. 6
    0
      config/examples/Anet/A6/Configuration_adv.h
  11. 6
    0
      config/examples/Anet/A8/Configuration_adv.h
  12. 6
    0
      config/examples/Anet/A8plus/Configuration_adv.h
  13. 6
    0
      config/examples/Anet/E16/Configuration_adv.h
  14. 6
    0
      config/examples/AnyCubic/i3/Configuration_adv.h
  15. 6
    0
      config/examples/ArmEd/Configuration_adv.h
  16. 6
    0
      config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  17. 6
    0
      config/examples/BIBO/TouchX/default/Configuration_adv.h
  18. 6
    0
      config/examples/BQ/Hephestos/Configuration_adv.h
  19. 6
    0
      config/examples/BQ/Hephestos_2/Configuration_adv.h
  20. 6
    0
      config/examples/BQ/WITBOX/Configuration_adv.h
  21. 6
    0
      config/examples/Cartesio/Configuration_adv.h
  22. 6
    0
      config/examples/Creality/CR-10/Configuration_adv.h
  23. 6
    0
      config/examples/Creality/CR-10S/Configuration_adv.h
  24. 6
    0
      config/examples/Creality/CR-10_5S/Configuration_adv.h
  25. 6
    0
      config/examples/Creality/CR-10mini/Configuration_adv.h
  26. 6
    0
      config/examples/Creality/CR-8/Configuration_adv.h
  27. 6
    0
      config/examples/Creality/Ender-2/Configuration_adv.h
  28. 6
    0
      config/examples/Creality/Ender-3/Configuration_adv.h
  29. 6
    0
      config/examples/Creality/Ender-4/Configuration_adv.h
  30. 6
    0
      config/examples/Einstart-S/Configuration_adv.h
  31. 6
    0
      config/examples/Felix/Configuration_adv.h
  32. 6
    0
      config/examples/FlashForge/CreatorPro/Configuration_adv.h
  33. 6
    0
      config/examples/FolgerTech/i3-2020/Configuration_adv.h
  34. 6
    0
      config/examples/Formbot/Raptor/Configuration_adv.h
  35. 6
    0
      config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  36. 6
    0
      config/examples/Formbot/T_Rex_3/Configuration_adv.h
  37. 6
    0
      config/examples/Geeetech/A10M/Configuration_adv.h
  38. 6
    0
      config/examples/Geeetech/A20M/Configuration_adv.h
  39. 6
    0
      config/examples/Geeetech/MeCreator2/Configuration_adv.h
  40. 6
    0
      config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  41. 6
    0
      config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  42. 6
    0
      config/examples/Infitary/i3-M508/Configuration_adv.h
  43. 6
    0
      config/examples/JGAurora/A5/Configuration_adv.h
  44. 6
    0
      config/examples/MakerParts/Configuration_adv.h
  45. 6
    0
      config/examples/Malyan/M150/Configuration_adv.h
  46. 6
    0
      config/examples/Malyan/M200/Configuration_adv.h
  47. 6
    0
      config/examples/Micromake/C1/enhanced/Configuration_adv.h
  48. 6
    0
      config/examples/Mks/Robin/Configuration_adv.h
  49. 6
    0
      config/examples/Mks/Sbase/Configuration_adv.h
  50. 6
    0
      config/examples/RapideLite/RL200/Configuration_adv.h
  51. 6
    0
      config/examples/RigidBot/Configuration_adv.h
  52. 6
    0
      config/examples/SCARA/Configuration_adv.h
  53. 6
    0
      config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h
  54. 6
    0
      config/examples/Sanguinololu/Configuration_adv.h
  55. 6
    0
      config/examples/TheBorg/Configuration_adv.h
  56. 6
    0
      config/examples/TinyBoy2/Configuration_adv.h
  57. 6
    0
      config/examples/Tronxy/X3A/Configuration_adv.h
  58. 6
    0
      config/examples/Tronxy/X5S-2E/Configuration_adv.h
  59. 6
    0
      config/examples/UltiMachine/Archim1/Configuration_adv.h
  60. 6
    0
      config/examples/UltiMachine/Archim2/Configuration_adv.h
  61. 6
    0
      config/examples/VORONDesign/Configuration_adv.h
  62. 6
    0
      config/examples/Velleman/K8200/Configuration_adv.h
  63. 6
    0
      config/examples/Velleman/K8400/Configuration_adv.h
  64. 6
    0
      config/examples/WASP/PowerWASP/Configuration_adv.h
  65. 6
    0
      config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  66. 6
    0
      config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  67. 6
    0
      config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  68. 6
    0
      config/examples/delta/FLSUN/kossel/Configuration_adv.h
  69. 6
    0
      config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  70. 6
    0
      config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  71. 6
    0
      config/examples/delta/MKS/SBASE/Configuration_adv.h
  72. 6
    0
      config/examples/delta/Tevo Little Monster/Configuration_adv.h
  73. 6
    0
      config/examples/delta/generic/Configuration_adv.h
  74. 6
    0
      config/examples/delta/kossel_mini/Configuration_adv.h
  75. 6
    0
      config/examples/delta/kossel_xl/Configuration_adv.h
  76. 6
    0
      config/examples/gCreate/gMax1.5+/Configuration_adv.h
  77. 6
    0
      config/examples/makibox/Configuration_adv.h
  78. 6
    0
      config/examples/tvrrug/Round2/Configuration_adv.h
  79. 6
    0
      config/examples/wt150/Configuration_adv.h

+ 6
- 0
Marlin/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 18
- 0
Marlin/src/module/stepper_indirection.cpp View File

234
     chopconf.intpol = INTERPOLATE;
234
     chopconf.intpol = INTERPOLATE;
235
     chopconf.hend = chopper_timing.hend + 3;
235
     chopconf.hend = chopper_timing.hend + 3;
236
     chopconf.hstrt = chopper_timing.hstrt - 1;
236
     chopconf.hstrt = chopper_timing.hstrt - 1;
237
+    #if ENABLED(SQUARE_WAVE_STEPPING)
238
+      chopconf.dedge = true;
239
+    #endif
237
     st.CHOPCONF(chopconf.sr);
240
     st.CHOPCONF(chopconf.sr);
238
 
241
 
239
     st.rms_current(mA, HOLD_MULTIPLIER);
242
     st.rms_current(mA, HOLD_MULTIPLIER);
274
     chopconf.intpol = INTERPOLATE;
277
     chopconf.intpol = INTERPOLATE;
275
     chopconf.hend = timings[1] + 3;
278
     chopconf.hend = timings[1] + 3;
276
     chopconf.hstrt = timings[2] - 1;
279
     chopconf.hstrt = timings[2] - 1;
280
+    #if ENABLED(SQUARE_WAVE_STEPPING)
281
+      chopconf.dedge = true;
282
+    #endif
277
     st.CHOPCONF(chopconf.sr);
283
     st.CHOPCONF(chopconf.sr);
278
 
284
 
279
     st.rms_current(mA, HOLD_MULTIPLIER);
285
     st.rms_current(mA, HOLD_MULTIPLIER);
515
     chopconf.intpol = INTERPOLATE;
521
     chopconf.intpol = INTERPOLATE;
516
     chopconf.hend = chopper_timing.hend + 3;
522
     chopconf.hend = chopper_timing.hend + 3;
517
     chopconf.hstrt = chopper_timing.hstrt - 1;
523
     chopconf.hstrt = chopper_timing.hstrt - 1;
524
+    #if ENABLED(SQUARE_WAVE_STEPPING)
525
+      chopconf.dedge = true;
526
+    #endif
518
     st.CHOPCONF(chopconf.sr);
527
     st.CHOPCONF(chopconf.sr);
519
 
528
 
520
     st.rms_current(mA, HOLD_MULTIPLIER);
529
     st.rms_current(mA, HOLD_MULTIPLIER);
553
     chopconf.toff = chopper_timing.toff;
562
     chopconf.toff = chopper_timing.toff;
554
     chopconf.hend = chopper_timing.hend + 3;
563
     chopconf.hend = chopper_timing.hend + 3;
555
     chopconf.hstrt = chopper_timing.hstrt - 1;
564
     chopconf.hstrt = chopper_timing.hstrt - 1;
565
+    #if ENABLED(SQUARE_WAVE_STEPPING)
566
+      chopconf.dedge = true;
567
+    #endif
556
     st.CHOPCONF(chopconf.sr);
568
     st.CHOPCONF(chopconf.sr);
557
 
569
 
558
     st.rms_current(mA);
570
     st.rms_current(mA);
577
     chopconf.intpol = INTERPOLATE;
589
     chopconf.intpol = INTERPOLATE;
578
     chopconf.hend = chopper_timing.hend + 3;
590
     chopconf.hend = chopper_timing.hend + 3;
579
     chopconf.hstrt = chopper_timing.hstrt - 1;
591
     chopconf.hstrt = chopper_timing.hstrt - 1;
592
+    #if ENABLED(SQUARE_WAVE_STEPPING)
593
+      chopconf.dedge = true;
594
+    #endif
580
     st.CHOPCONF(chopconf.sr);
595
     st.CHOPCONF(chopconf.sr);
581
 
596
 
582
     st.rms_current(mA, HOLD_MULTIPLIER);
597
     st.rms_current(mA, HOLD_MULTIPLIER);
617
     chopconf.intpol = INTERPOLATE;
632
     chopconf.intpol = INTERPOLATE;
618
     chopconf.hend = timings[1] + 3;
633
     chopconf.hend = timings[1] + 3;
619
     chopconf.hstrt = timings[2] - 1;
634
     chopconf.hstrt = timings[2] - 1;
635
+    #if ENABLED(SQUARE_WAVE_STEPPING)
636
+      chopconf.dedge = true;
637
+    #endif
620
     st.CHOPCONF(chopconf.sr);
638
     st.CHOPCONF(chopconf.sr);
621
 
639
 
622
     st.rms_current(mA, HOLD_MULTIPLIER);
640
     st.rms_current(mA, HOLD_MULTIPLIER);

+ 69
- 13
Marlin/src/module/stepper_indirection.h View File

127
   #define X_DIR_READ READ(X_DIR_PIN)
127
   #define X_DIR_READ READ(X_DIR_PIN)
128
 #endif
128
 #endif
129
 #define X_STEP_INIT SET_OUTPUT(X_STEP_PIN)
129
 #define X_STEP_INIT SET_OUTPUT(X_STEP_PIN)
130
-#define X_STEP_WRITE(STATE) WRITE(X_STEP_PIN,STATE)
130
+#if AXIS_IS_TMC(X) && ENABLED(SQUARE_WAVE_STEPPING)
131
+  #define X_STEP_WRITE(STATE) do { if(STATE) TOGGLE(X_STEP_PIN); } while(0)
132
+#else
133
+  #define X_STEP_WRITE(STATE) WRITE(X_STEP_PIN,STATE)
134
+#endif
131
 #define X_STEP_READ READ(X_STEP_PIN)
135
 #define X_STEP_READ READ(X_STEP_PIN)
132
 
136
 
133
 // Y Stepper
137
 // Y Stepper
162
   #define Y_DIR_READ READ(Y_DIR_PIN)
166
   #define Y_DIR_READ READ(Y_DIR_PIN)
163
 #endif
167
 #endif
164
 #define Y_STEP_INIT SET_OUTPUT(Y_STEP_PIN)
168
 #define Y_STEP_INIT SET_OUTPUT(Y_STEP_PIN)
165
-#define Y_STEP_WRITE(STATE) WRITE(Y_STEP_PIN,STATE)
169
+#if AXIS_IS_TMC(Y) && ENABLED(SQUARE_WAVE_STEPPING)
170
+  #define Y_STEP_WRITE(STATE) do { if (STATE) TOGGLE(Y_STEP_PIN); } while(0)
171
+#else
172
+  #define Y_STEP_WRITE(STATE) WRITE(Y_STEP_PIN,STATE)
173
+#endif
166
 #define Y_STEP_READ READ(Y_STEP_PIN)
174
 #define Y_STEP_READ READ(Y_STEP_PIN)
167
 
175
 
168
 // Z Stepper
176
 // Z Stepper
197
   #define Z_DIR_READ READ(Z_DIR_PIN)
205
   #define Z_DIR_READ READ(Z_DIR_PIN)
198
 #endif
206
 #endif
199
 #define Z_STEP_INIT SET_OUTPUT(Z_STEP_PIN)
207
 #define Z_STEP_INIT SET_OUTPUT(Z_STEP_PIN)
200
-#define Z_STEP_WRITE(STATE) WRITE(Z_STEP_PIN,STATE)
208
+#if AXIS_IS_TMC(Z) && ENABLED(SQUARE_WAVE_STEPPING)
209
+  #define Z_STEP_WRITE(STATE) do { if(STATE) TOGGLE(Z_STEP_PIN); } while(0)
210
+#else
211
+  #define Z_STEP_WRITE(STATE) WRITE(Z_STEP_PIN,STATE)
212
+#endif
201
 #define Z_STEP_READ READ(Z_STEP_PIN)
213
 #define Z_STEP_READ READ(Z_STEP_PIN)
202
 
214
 
203
 // X2 Stepper
215
 // X2 Stepper
233
     #define X2_DIR_READ READ(X2_DIR_PIN)
245
     #define X2_DIR_READ READ(X2_DIR_PIN)
234
   #endif
246
   #endif
235
   #define X2_STEP_INIT SET_OUTPUT(X2_STEP_PIN)
247
   #define X2_STEP_INIT SET_OUTPUT(X2_STEP_PIN)
236
-  #define X2_STEP_WRITE(STATE) WRITE(X2_STEP_PIN,STATE)
248
+  #if AXIS_IS_TMC(X2) && ENABLED(SQUARE_WAVE_STEPPING)
249
+    #define X2_STEP_WRITE(STATE) do { if(STATE) TOGGLE(X2_STEP_PIN); } while(0)
250
+  #else
251
+    #define X2_STEP_WRITE(STATE) WRITE(X2_STEP_PIN,STATE)
252
+  #endif
253
+
237
   #define X2_STEP_READ READ(X2_STEP_PIN)
254
   #define X2_STEP_READ READ(X2_STEP_PIN)
238
 #endif
255
 #endif
239
 
256
 
270
     #define Y2_DIR_READ READ(Y2_DIR_PIN)
287
     #define Y2_DIR_READ READ(Y2_DIR_PIN)
271
   #endif
288
   #endif
272
   #define Y2_STEP_INIT SET_OUTPUT(Y2_STEP_PIN)
289
   #define Y2_STEP_INIT SET_OUTPUT(Y2_STEP_PIN)
273
-  #define Y2_STEP_WRITE(STATE) WRITE(Y2_STEP_PIN,STATE)
290
+  #if AXIS_IS_TMC(Y2) && ENABLED(SQUARE_WAVE_STEPPING)
291
+    #define Y2_STEP_WRITE(STATE) do { if(STATE) TOGGLE(Y2_STEP_PIN); } while(0)
292
+  #else
293
+    #define Y2_STEP_WRITE(STATE) WRITE(Y2_STEP_PIN,STATE)
294
+  #endif
295
+
274
   #define Y2_STEP_READ READ(Y2_STEP_PIN)
296
   #define Y2_STEP_READ READ(Y2_STEP_PIN)
275
 #else
297
 #else
276
   #define Y2_DIR_WRITE(STATE) NOOP
298
   #define Y2_DIR_WRITE(STATE) NOOP
309
     #define Z2_DIR_READ READ(Z2_DIR_PIN)
331
     #define Z2_DIR_READ READ(Z2_DIR_PIN)
310
   #endif
332
   #endif
311
   #define Z2_STEP_INIT SET_OUTPUT(Z2_STEP_PIN)
333
   #define Z2_STEP_INIT SET_OUTPUT(Z2_STEP_PIN)
312
-  #define Z2_STEP_WRITE(STATE) WRITE(Z2_STEP_PIN,STATE)
334
+  #if AXIS_IS_TMC(Z2) && ENABLED(SQUARE_WAVE_STEPPING)
335
+    #define Z2_STEP_WRITE(STATE) do { if(STATE) TOGGLE(Z2_STEP_PIN); } while(0)
336
+  #else
337
+    #define Z2_STEP_WRITE(STATE) WRITE(Z2_STEP_PIN,STATE)
338
+  #endif
339
+
313
   #define Z2_STEP_READ READ(Z2_STEP_PIN)
340
   #define Z2_STEP_READ READ(Z2_STEP_PIN)
314
 #else
341
 #else
315
   #define Z2_DIR_WRITE(STATE) NOOP
342
   #define Z2_DIR_WRITE(STATE) NOOP
348
     #define Z3_DIR_READ READ(Z3_DIR_PIN)
375
     #define Z3_DIR_READ READ(Z3_DIR_PIN)
349
   #endif
376
   #endif
350
   #define Z3_STEP_INIT SET_OUTPUT(Z3_STEP_PIN)
377
   #define Z3_STEP_INIT SET_OUTPUT(Z3_STEP_PIN)
351
-  #define Z3_STEP_WRITE(STATE) WRITE(Z3_STEP_PIN,STATE)
378
+  #if AXIS_IS_TMC(Z3) && ENABLED(SQUARE_WAVE_STEPPING)
379
+    #define Z3_STEP_WRITE(STATE) do { if(STATE) TOGGLE(Z3_STEP_PIN); } while(0)
380
+  #else
381
+    #define Z3_STEP_WRITE(STATE) WRITE(Z3_STEP_PIN,STATE)
382
+  #endif
383
+
352
   #define Z3_STEP_READ READ(Z3_STEP_PIN)
384
   #define Z3_STEP_READ READ(Z3_STEP_PIN)
353
 #else
385
 #else
354
   #define Z3_DIR_WRITE(STATE) NOOP
386
   #define Z3_DIR_WRITE(STATE) NOOP
386
   #define E0_DIR_READ READ(E0_DIR_PIN)
418
   #define E0_DIR_READ READ(E0_DIR_PIN)
387
 #endif
419
 #endif
388
 #define E0_STEP_INIT SET_OUTPUT(E0_STEP_PIN)
420
 #define E0_STEP_INIT SET_OUTPUT(E0_STEP_PIN)
389
-#define E0_STEP_WRITE(STATE) WRITE(E0_STEP_PIN,STATE)
421
+#if AXIS_IS_TMC(E0) && ENABLED(SQUARE_WAVE_STEPPING)
422
+  #define E0_STEP_WRITE(STATE) do { if(STATE) TOGGLE(E0_STEP_PIN); } while(0)
423
+#else
424
+  #define E0_STEP_WRITE(STATE) WRITE(E0_STEP_PIN,STATE)
425
+#endif
390
 #define E0_STEP_READ READ(E0_STEP_PIN)
426
 #define E0_STEP_READ READ(E0_STEP_PIN)
391
 
427
 
392
 // E1 Stepper
428
 // E1 Stepper
421
   #define E1_DIR_READ READ(E1_DIR_PIN)
457
   #define E1_DIR_READ READ(E1_DIR_PIN)
422
 #endif
458
 #endif
423
 #define E1_STEP_INIT SET_OUTPUT(E1_STEP_PIN)
459
 #define E1_STEP_INIT SET_OUTPUT(E1_STEP_PIN)
424
-#define E1_STEP_WRITE(STATE) WRITE(E1_STEP_PIN,STATE)
460
+#if AXIS_IS_TMC(E1) && ENABLED(SQUARE_WAVE_STEPPING)
461
+  #define E1_STEP_WRITE(STATE) do { if(STATE) TOGGLE(E1_STEP_PIN); } while(0)
462
+#else
463
+  #define E1_STEP_WRITE(STATE) WRITE(E1_STEP_PIN,STATE)
464
+#endif
425
 #define E1_STEP_READ READ(E1_STEP_PIN)
465
 #define E1_STEP_READ READ(E1_STEP_PIN)
426
 
466
 
427
 // E2 Stepper
467
 // E2 Stepper
456
   #define E2_DIR_READ READ(E2_DIR_PIN)
496
   #define E2_DIR_READ READ(E2_DIR_PIN)
457
 #endif
497
 #endif
458
 #define E2_STEP_INIT SET_OUTPUT(E2_STEP_PIN)
498
 #define E2_STEP_INIT SET_OUTPUT(E2_STEP_PIN)
459
-#define E2_STEP_WRITE(STATE) WRITE(E2_STEP_PIN,STATE)
499
+#if AXIS_IS_TMC(E2) && ENABLED(SQUARE_WAVE_STEPPING)
500
+  #define E2_STEP_WRITE(STATE) do { if(STATE) TOGGLE(E2_STEP_PIN); } while(0)
501
+#else
502
+  #define E2_STEP_WRITE(STATE) WRITE(E2_STEP_PIN,STATE)
503
+#endif
460
 #define E2_STEP_READ READ(E2_STEP_PIN)
504
 #define E2_STEP_READ READ(E2_STEP_PIN)
461
 
505
 
462
 // E3 Stepper
506
 // E3 Stepper
491
   #define E3_DIR_READ READ(E3_DIR_PIN)
535
   #define E3_DIR_READ READ(E3_DIR_PIN)
492
 #endif
536
 #endif
493
 #define E3_STEP_INIT SET_OUTPUT(E3_STEP_PIN)
537
 #define E3_STEP_INIT SET_OUTPUT(E3_STEP_PIN)
494
-#define E3_STEP_WRITE(STATE) WRITE(E3_STEP_PIN,STATE)
538
+#if AXIS_IS_TMC(E3) && ENABLED(SQUARE_WAVE_STEPPING)
539
+  #define E3_STEP_WRITE(STATE) do { if(STATE) TOGGLE(E3_STEP_PIN); } while(0)
540
+#else
541
+  #define E3_STEP_WRITE(STATE) WRITE(E3_STEP_PIN,STATE)
542
+#endif
495
 #define E3_STEP_READ READ(E3_STEP_PIN)
543
 #define E3_STEP_READ READ(E3_STEP_PIN)
496
 
544
 
497
 // E4 Stepper
545
 // E4 Stepper
526
   #define E4_DIR_READ READ(E4_DIR_PIN)
574
   #define E4_DIR_READ READ(E4_DIR_PIN)
527
 #endif
575
 #endif
528
 #define E4_STEP_INIT SET_OUTPUT(E4_STEP_PIN)
576
 #define E4_STEP_INIT SET_OUTPUT(E4_STEP_PIN)
529
-#define E4_STEP_WRITE(STATE) WRITE(E4_STEP_PIN,STATE)
577
+#if AXIS_IS_TMC(E4) && ENABLED(SQUARE_WAVE_STEPPING)
578
+  #define E4_STEP_WRITE(STATE) do { if(STATE) TOGGLE(E4_STEP_PIN); } while(0)
579
+#else
580
+  #define E4_STEP_WRITE(STATE) WRITE(E4_STEP_PIN,STATE)
581
+#endif
530
 #define E4_STEP_READ READ(E4_STEP_PIN)
582
 #define E4_STEP_READ READ(E4_STEP_PIN)
531
 
583
 
532
 // E5 Stepper
584
 // E5 Stepper
561
   #define E5_DIR_READ READ(E5_DIR_PIN)
613
   #define E5_DIR_READ READ(E5_DIR_PIN)
562
 #endif
614
 #endif
563
 #define E5_STEP_INIT SET_OUTPUT(E5_STEP_PIN)
615
 #define E5_STEP_INIT SET_OUTPUT(E5_STEP_PIN)
564
-#define E5_STEP_WRITE(STATE) WRITE(E5_STEP_PIN,STATE)
616
+#if AXIS_IS_TMC(E5) && ENABLED(SQUARE_WAVE_STEPPING)
617
+  #define E5_STEP_WRITE(STATE) do { if(STATE) TOGGLE(E5_STEP_PIN); } while(0)
618
+#else
619
+  #define E5_STEP_WRITE(STATE) WRITE(E5_STEP_PIN,STATE)
620
+#endif
565
 #define E5_STEP_READ READ(E5_STEP_PIN)
621
 #define E5_STEP_READ READ(E5_STEP_PIN)
566
 
622
 
567
 /**
623
 /**

+ 6
- 0
config/default/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/3DFabXYZ/Migbot/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/AlephObjects/TAZ4/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/AliExpress/UM2pExt/Configuration_adv.h View File

1764
   #endif
1764
   #endif
1765
 
1765
 
1766
   /**
1766
   /**
1767
+   * Beta feature!
1768
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1769
+   */
1770
+  //#define SQUARE_WAVE_STEPPING
1771
+
1772
+  /**
1767
    * Enable M122 debugging command for TMC stepper drivers.
1773
    * Enable M122 debugging command for TMC stepper drivers.
1768
    * M122 S0/1 will enable continous reporting.
1774
    * M122 S0/1 will enable continous reporting.
1769
    */
1775
    */

+ 6
- 0
config/examples/Anet/A2/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Anet/A2plus/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Anet/A6/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Anet/A8/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Anet/A8plus/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Anet/E16/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/AnyCubic/i3/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/ArmEd/Configuration_adv.h View File

1766
   #endif
1766
   #endif
1767
 
1767
 
1768
   /**
1768
   /**
1769
+   * Beta feature!
1770
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1771
+   */
1772
+  //#define SQUARE_WAVE_STEPPING
1773
+
1774
+  /**
1769
    * Enable M122 debugging command for TMC stepper drivers.
1775
    * Enable M122 debugging command for TMC stepper drivers.
1770
    * M122 S0/1 will enable continous reporting.
1776
    * M122 S0/1 will enable continous reporting.
1771
    */
1777
    */

+ 6
- 0
config/examples/BIBO/TouchX/cyclops/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/BIBO/TouchX/default/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/BQ/Hephestos/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/BQ/Hephestos_2/Configuration_adv.h View File

1770
   #endif
1770
   #endif
1771
 
1771
 
1772
   /**
1772
   /**
1773
+   * Beta feature!
1774
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1775
+   */
1776
+  //#define SQUARE_WAVE_STEPPING
1777
+
1778
+  /**
1773
    * Enable M122 debugging command for TMC stepper drivers.
1779
    * Enable M122 debugging command for TMC stepper drivers.
1774
    * M122 S0/1 will enable continous reporting.
1780
    * M122 S0/1 will enable continous reporting.
1775
    */
1781
    */

+ 6
- 0
config/examples/BQ/WITBOX/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Cartesio/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Creality/CR-10/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Creality/CR-10S/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Creality/CR-10_5S/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Creality/CR-10mini/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Creality/CR-8/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Creality/Ender-2/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Creality/Ender-3/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Creality/Ender-4/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Einstart-S/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Felix/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/FlashForge/CreatorPro/Configuration_adv.h View File

1761
   #endif
1761
   #endif
1762
 
1762
 
1763
   /**
1763
   /**
1764
+   * Beta feature!
1765
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1766
+   */
1767
+  //#define SQUARE_WAVE_STEPPING
1768
+
1769
+  /**
1764
    * Enable M122 debugging command for TMC stepper drivers.
1770
    * Enable M122 debugging command for TMC stepper drivers.
1765
    * M122 S0/1 will enable continous reporting.
1771
    * M122 S0/1 will enable continous reporting.
1766
    */
1772
    */

+ 6
- 0
config/examples/FolgerTech/i3-2020/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Formbot/Raptor/Configuration_adv.h View File

1764
   #endif
1764
   #endif
1765
 
1765
 
1766
   /**
1766
   /**
1767
+   * Beta feature!
1768
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1769
+   */
1770
+  //#define SQUARE_WAVE_STEPPING
1771
+
1772
+  /**
1767
    * Enable M122 debugging command for TMC stepper drivers.
1773
    * Enable M122 debugging command for TMC stepper drivers.
1768
    * M122 S0/1 will enable continous reporting.
1774
    * M122 S0/1 will enable continous reporting.
1769
    */
1775
    */

+ 6
- 0
config/examples/Formbot/T_Rex_2+/Configuration_adv.h View File

1766
   #endif
1766
   #endif
1767
 
1767
 
1768
   /**
1768
   /**
1769
+   * Beta feature!
1770
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1771
+   */
1772
+  //#define SQUARE_WAVE_STEPPING
1773
+
1774
+  /**
1769
    * Enable M122 debugging command for TMC stepper drivers.
1775
    * Enable M122 debugging command for TMC stepper drivers.
1770
    * M122 S0/1 will enable continous reporting.
1776
    * M122 S0/1 will enable continous reporting.
1771
    */
1777
    */

+ 6
- 0
config/examples/Formbot/T_Rex_3/Configuration_adv.h View File

1766
   #endif
1766
   #endif
1767
 
1767
 
1768
   /**
1768
   /**
1769
+   * Beta feature!
1770
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1771
+   */
1772
+  //#define SQUARE_WAVE_STEPPING
1773
+
1774
+  /**
1769
    * Enable M122 debugging command for TMC stepper drivers.
1775
    * Enable M122 debugging command for TMC stepper drivers.
1770
    * M122 S0/1 will enable continous reporting.
1776
    * M122 S0/1 will enable continous reporting.
1771
    */
1777
    */

+ 6
- 0
config/examples/Geeetech/A10M/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Geeetech/A20M/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Geeetech/MeCreator2/Configuration_adv.h View File

1761
   #endif
1761
   #endif
1762
 
1762
 
1763
   /**
1763
   /**
1764
+   * Beta feature!
1765
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1766
+   */
1767
+  //#define SQUARE_WAVE_STEPPING
1768
+
1769
+  /**
1764
    * Enable M122 debugging command for TMC stepper drivers.
1770
    * Enable M122 debugging command for TMC stepper drivers.
1765
    * M122 S0/1 will enable continous reporting.
1771
    * M122 S0/1 will enable continous reporting.
1766
    */
1772
    */

+ 6
- 0
config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Infitary/i3-M508/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/JGAurora/A5/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/MakerParts/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Malyan/M150/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Malyan/M200/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Micromake/C1/enhanced/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Mks/Robin/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Mks/Sbase/Configuration_adv.h View File

1763
   #endif
1763
   #endif
1764
 
1764
 
1765
   /**
1765
   /**
1766
+   * Beta feature!
1767
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1768
+   */
1769
+  //#define SQUARE_WAVE_STEPPING
1770
+
1771
+  /**
1766
    * Enable M122 debugging command for TMC stepper drivers.
1772
    * Enable M122 debugging command for TMC stepper drivers.
1767
    * M122 S0/1 will enable continous reporting.
1773
    * M122 S0/1 will enable continous reporting.
1768
    */
1774
    */

+ 6
- 0
config/examples/RapideLite/RL200/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/RigidBot/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/SCARA/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h View File

1760
   #endif
1760
   #endif
1761
 
1761
 
1762
   /**
1762
   /**
1763
+   * Beta feature!
1764
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1765
+   */
1766
+  //#define SQUARE_WAVE_STEPPING
1767
+
1768
+  /**
1763
    * Enable M122 debugging command for TMC stepper drivers.
1769
    * Enable M122 debugging command for TMC stepper drivers.
1764
    * M122 S0/1 will enable continous reporting.
1770
    * M122 S0/1 will enable continous reporting.
1765
    */
1771
    */

+ 6
- 0
config/examples/Sanguinololu/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/TheBorg/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/TinyBoy2/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Tronxy/X3A/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Tronxy/X5S-2E/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/UltiMachine/Archim1/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/UltiMachine/Archim2/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/VORONDesign/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Velleman/K8200/Configuration_adv.h View File

1775
   #endif
1775
   #endif
1776
 
1776
 
1777
   /**
1777
   /**
1778
+   * Beta feature!
1779
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1780
+   */
1781
+  //#define SQUARE_WAVE_STEPPING
1782
+
1783
+  /**
1778
    * Enable M122 debugging command for TMC stepper drivers.
1784
    * Enable M122 debugging command for TMC stepper drivers.
1779
    * M122 S0/1 will enable continous reporting.
1785
    * M122 S0/1 will enable continous reporting.
1780
    */
1786
    */

+ 6
- 0
config/examples/Velleman/K8400/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/WASP/PowerWASP/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/Wanhao/Duplicator 6/Configuration_adv.h View File

1764
   #endif
1764
   #endif
1765
 
1765
 
1766
   /**
1766
   /**
1767
+   * Beta feature!
1768
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1769
+   */
1770
+  //#define SQUARE_WAVE_STEPPING
1771
+
1772
+  /**
1767
    * Enable M122 debugging command for TMC stepper drivers.
1773
    * Enable M122 debugging command for TMC stepper drivers.
1768
    * M122 S0/1 will enable continous reporting.
1774
    * M122 S0/1 will enable continous reporting.
1769
    */
1775
    */

+ 6
- 0
config/examples/delta/Anycubic/Kossel/Configuration_adv.h View File

1761
   #endif
1761
   #endif
1762
 
1762
 
1763
   /**
1763
   /**
1764
+   * Beta feature!
1765
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1766
+   */
1767
+  //#define SQUARE_WAVE_STEPPING
1768
+
1769
+  /**
1764
    * Enable M122 debugging command for TMC stepper drivers.
1770
    * Enable M122 debugging command for TMC stepper drivers.
1765
    * M122 S0/1 will enable continous reporting.
1771
    * M122 S0/1 will enable continous reporting.
1766
    */
1772
    */

+ 6
- 0
config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h View File

1761
   #endif
1761
   #endif
1762
 
1762
 
1763
   /**
1763
   /**
1764
+   * Beta feature!
1765
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1766
+   */
1767
+  //#define SQUARE_WAVE_STEPPING
1768
+
1769
+  /**
1764
    * Enable M122 debugging command for TMC stepper drivers.
1770
    * Enable M122 debugging command for TMC stepper drivers.
1765
    * M122 S0/1 will enable continous reporting.
1771
    * M122 S0/1 will enable continous reporting.
1766
    */
1772
    */

+ 6
- 0
config/examples/delta/FLSUN/kossel/Configuration_adv.h View File

1761
   #endif
1761
   #endif
1762
 
1762
 
1763
   /**
1763
   /**
1764
+   * Beta feature!
1765
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1766
+   */
1767
+  //#define SQUARE_WAVE_STEPPING
1768
+
1769
+  /**
1764
    * Enable M122 debugging command for TMC stepper drivers.
1770
    * Enable M122 debugging command for TMC stepper drivers.
1765
    * M122 S0/1 will enable continous reporting.
1771
    * M122 S0/1 will enable continous reporting.
1766
    */
1772
    */

+ 6
- 0
config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h View File

1761
   #endif
1761
   #endif
1762
 
1762
 
1763
   /**
1763
   /**
1764
+   * Beta feature!
1765
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1766
+   */
1767
+  //#define SQUARE_WAVE_STEPPING
1768
+
1769
+  /**
1764
    * Enable M122 debugging command for TMC stepper drivers.
1770
    * Enable M122 debugging command for TMC stepper drivers.
1765
    * M122 S0/1 will enable continous reporting.
1771
    * M122 S0/1 will enable continous reporting.
1766
    */
1772
    */

+ 6
- 0
config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h View File

1761
   #endif
1761
   #endif
1762
 
1762
 
1763
   /**
1763
   /**
1764
+   * Beta feature!
1765
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1766
+   */
1767
+  //#define SQUARE_WAVE_STEPPING
1768
+
1769
+  /**
1764
    * Enable M122 debugging command for TMC stepper drivers.
1770
    * Enable M122 debugging command for TMC stepper drivers.
1765
    * M122 S0/1 will enable continous reporting.
1771
    * M122 S0/1 will enable continous reporting.
1766
    */
1772
    */

+ 6
- 0
config/examples/delta/MKS/SBASE/Configuration_adv.h View File

1761
   #endif
1761
   #endif
1762
 
1762
 
1763
   /**
1763
   /**
1764
+   * Beta feature!
1765
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1766
+   */
1767
+  //#define SQUARE_WAVE_STEPPING
1768
+
1769
+  /**
1764
    * Enable M122 debugging command for TMC stepper drivers.
1770
    * Enable M122 debugging command for TMC stepper drivers.
1765
    * M122 S0/1 will enable continous reporting.
1771
    * M122 S0/1 will enable continous reporting.
1766
    */
1772
    */

+ 6
- 0
config/examples/delta/Tevo Little Monster/Configuration_adv.h View File

1761
   #endif
1761
   #endif
1762
 
1762
 
1763
   /**
1763
   /**
1764
+   * Beta feature!
1765
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1766
+   */
1767
+  //#define SQUARE_WAVE_STEPPING
1768
+
1769
+  /**
1764
    * Enable M122 debugging command for TMC stepper drivers.
1770
    * Enable M122 debugging command for TMC stepper drivers.
1765
    * M122 S0/1 will enable continous reporting.
1771
    * M122 S0/1 will enable continous reporting.
1766
    */
1772
    */

+ 6
- 0
config/examples/delta/generic/Configuration_adv.h View File

1761
   #endif
1761
   #endif
1762
 
1762
 
1763
   /**
1763
   /**
1764
+   * Beta feature!
1765
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1766
+   */
1767
+  //#define SQUARE_WAVE_STEPPING
1768
+
1769
+  /**
1764
    * Enable M122 debugging command for TMC stepper drivers.
1770
    * Enable M122 debugging command for TMC stepper drivers.
1765
    * M122 S0/1 will enable continous reporting.
1771
    * M122 S0/1 will enable continous reporting.
1766
    */
1772
    */

+ 6
- 0
config/examples/delta/kossel_mini/Configuration_adv.h View File

1760
   #endif
1760
   #endif
1761
 
1761
 
1762
   /**
1762
   /**
1763
+   * Beta feature!
1764
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1765
+   */
1766
+  //#define SQUARE_WAVE_STEPPING
1767
+
1768
+  /**
1763
    * Enable M122 debugging command for TMC stepper drivers.
1769
    * Enable M122 debugging command for TMC stepper drivers.
1764
    * M122 S0/1 will enable continous reporting.
1770
    * M122 S0/1 will enable continous reporting.
1765
    */
1771
    */

+ 6
- 0
config/examples/delta/kossel_xl/Configuration_adv.h View File

1761
   #endif
1761
   #endif
1762
 
1762
 
1763
   /**
1763
   /**
1764
+   * Beta feature!
1765
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1766
+   */
1767
+  //#define SQUARE_WAVE_STEPPING
1768
+
1769
+  /**
1764
    * Enable M122 debugging command for TMC stepper drivers.
1770
    * Enable M122 debugging command for TMC stepper drivers.
1765
    * M122 S0/1 will enable continous reporting.
1771
    * M122 S0/1 will enable continous reporting.
1766
    */
1772
    */

+ 6
- 0
config/examples/gCreate/gMax1.5+/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/makibox/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/tvrrug/Round2/Configuration_adv.h View File

1762
   #endif
1762
   #endif
1763
 
1763
 
1764
   /**
1764
   /**
1765
+   * Beta feature!
1766
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1767
+   */
1768
+  //#define SQUARE_WAVE_STEPPING
1769
+
1770
+  /**
1765
    * Enable M122 debugging command for TMC stepper drivers.
1771
    * Enable M122 debugging command for TMC stepper drivers.
1766
    * M122 S0/1 will enable continous reporting.
1772
    * M122 S0/1 will enable continous reporting.
1767
    */
1773
    */

+ 6
- 0
config/examples/wt150/Configuration_adv.h View File

1763
   #endif
1763
   #endif
1764
 
1764
 
1765
   /**
1765
   /**
1766
+   * Beta feature!
1767
+   * Create a 50/50 square wave step pulse optimal for stepper drivers.
1768
+   */
1769
+  //#define SQUARE_WAVE_STEPPING
1770
+
1771
+  /**
1766
    * Enable M122 debugging command for TMC stepper drivers.
1772
    * Enable M122 debugging command for TMC stepper drivers.
1767
    * M122 S0/1 will enable continous reporting.
1773
    * M122 S0/1 will enable continous reporting.
1768
    */
1774
    */

Loading…
Cancel
Save