diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 51e7eb3c2f0bcf440ac983547a6de24c082df565..ef0a4352db993ca75dc79ae2fe700c3f18d4a76b 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/Marlin/src/module/stepper_indirection.cpp b/Marlin/src/module/stepper_indirection.cpp index cb1b4113e101324e1be7ede039294eec7c715172..02b6af60f26d229c5a978479c571dd028dcf0a40 100644 --- a/Marlin/src/module/stepper_indirection.cpp +++ b/Marlin/src/module/stepper_indirection.cpp @@ -234,6 +234,9 @@ chopconf.intpol = INTERPOLATE; chopconf.hend = chopper_timing.hend + 3; chopconf.hstrt = chopper_timing.hstrt - 1; + #if ENABLED(SQUARE_WAVE_STEPPING) + chopconf.dedge = true; + #endif st.CHOPCONF(chopconf.sr); st.rms_current(mA, HOLD_MULTIPLIER); @@ -274,6 +277,9 @@ chopconf.intpol = INTERPOLATE; chopconf.hend = timings[1] + 3; chopconf.hstrt = timings[2] - 1; + #if ENABLED(SQUARE_WAVE_STEPPING) + chopconf.dedge = true; + #endif st.CHOPCONF(chopconf.sr); st.rms_current(mA, HOLD_MULTIPLIER); @@ -515,6 +521,9 @@ chopconf.intpol = INTERPOLATE; chopconf.hend = chopper_timing.hend + 3; chopconf.hstrt = chopper_timing.hstrt - 1; + #if ENABLED(SQUARE_WAVE_STEPPING) + chopconf.dedge = true; + #endif st.CHOPCONF(chopconf.sr); st.rms_current(mA, HOLD_MULTIPLIER); @@ -553,6 +562,9 @@ chopconf.toff = chopper_timing.toff; chopconf.hend = chopper_timing.hend + 3; chopconf.hstrt = chopper_timing.hstrt - 1; + #if ENABLED(SQUARE_WAVE_STEPPING) + chopconf.dedge = true; + #endif st.CHOPCONF(chopconf.sr); st.rms_current(mA); @@ -577,6 +589,9 @@ chopconf.intpol = INTERPOLATE; chopconf.hend = chopper_timing.hend + 3; chopconf.hstrt = chopper_timing.hstrt - 1; + #if ENABLED(SQUARE_WAVE_STEPPING) + chopconf.dedge = true; + #endif st.CHOPCONF(chopconf.sr); st.rms_current(mA, HOLD_MULTIPLIER); @@ -617,6 +632,9 @@ chopconf.intpol = INTERPOLATE; chopconf.hend = timings[1] + 3; chopconf.hstrt = timings[2] - 1; + #if ENABLED(SQUARE_WAVE_STEPPING) + chopconf.dedge = true; + #endif st.CHOPCONF(chopconf.sr); st.rms_current(mA, HOLD_MULTIPLIER); diff --git a/Marlin/src/module/stepper_indirection.h b/Marlin/src/module/stepper_indirection.h index bd55532ae5b3150ac13edb7a4ae31eb6a1db2c98..1680148617b37985855d1628e2892ffd3fc1dd53 100644 --- a/Marlin/src/module/stepper_indirection.h +++ b/Marlin/src/module/stepper_indirection.h @@ -127,7 +127,11 @@ void reset_stepper_drivers(); // Called by settings.load / settings.reset #define X_DIR_READ READ(X_DIR_PIN) #endif #define X_STEP_INIT SET_OUTPUT(X_STEP_PIN) -#define X_STEP_WRITE(STATE) WRITE(X_STEP_PIN,STATE) +#if AXIS_IS_TMC(X) && ENABLED(SQUARE_WAVE_STEPPING) + #define X_STEP_WRITE(STATE) do { if(STATE) TOGGLE(X_STEP_PIN); } while(0) +#else + #define X_STEP_WRITE(STATE) WRITE(X_STEP_PIN,STATE) +#endif #define X_STEP_READ READ(X_STEP_PIN) // Y Stepper @@ -162,7 +166,11 @@ void reset_stepper_drivers(); // Called by settings.load / settings.reset #define Y_DIR_READ READ(Y_DIR_PIN) #endif #define Y_STEP_INIT SET_OUTPUT(Y_STEP_PIN) -#define Y_STEP_WRITE(STATE) WRITE(Y_STEP_PIN,STATE) +#if AXIS_IS_TMC(Y) && ENABLED(SQUARE_WAVE_STEPPING) + #define Y_STEP_WRITE(STATE) do { if (STATE) TOGGLE(Y_STEP_PIN); } while(0) +#else + #define Y_STEP_WRITE(STATE) WRITE(Y_STEP_PIN,STATE) +#endif #define Y_STEP_READ READ(Y_STEP_PIN) // Z Stepper @@ -197,7 +205,11 @@ void reset_stepper_drivers(); // Called by settings.load / settings.reset #define Z_DIR_READ READ(Z_DIR_PIN) #endif #define Z_STEP_INIT SET_OUTPUT(Z_STEP_PIN) -#define Z_STEP_WRITE(STATE) WRITE(Z_STEP_PIN,STATE) +#if AXIS_IS_TMC(Z) && ENABLED(SQUARE_WAVE_STEPPING) + #define Z_STEP_WRITE(STATE) do { if(STATE) TOGGLE(Z_STEP_PIN); } while(0) +#else + #define Z_STEP_WRITE(STATE) WRITE(Z_STEP_PIN,STATE) +#endif #define Z_STEP_READ READ(Z_STEP_PIN) // X2 Stepper @@ -233,7 +245,12 @@ void reset_stepper_drivers(); // Called by settings.load / settings.reset #define X2_DIR_READ READ(X2_DIR_PIN) #endif #define X2_STEP_INIT SET_OUTPUT(X2_STEP_PIN) - #define X2_STEP_WRITE(STATE) WRITE(X2_STEP_PIN,STATE) + #if AXIS_IS_TMC(X2) && ENABLED(SQUARE_WAVE_STEPPING) + #define X2_STEP_WRITE(STATE) do { if(STATE) TOGGLE(X2_STEP_PIN); } while(0) + #else + #define X2_STEP_WRITE(STATE) WRITE(X2_STEP_PIN,STATE) + #endif + #define X2_STEP_READ READ(X2_STEP_PIN) #endif @@ -270,7 +287,12 @@ void reset_stepper_drivers(); // Called by settings.load / settings.reset #define Y2_DIR_READ READ(Y2_DIR_PIN) #endif #define Y2_STEP_INIT SET_OUTPUT(Y2_STEP_PIN) - #define Y2_STEP_WRITE(STATE) WRITE(Y2_STEP_PIN,STATE) + #if AXIS_IS_TMC(Y2) && ENABLED(SQUARE_WAVE_STEPPING) + #define Y2_STEP_WRITE(STATE) do { if(STATE) TOGGLE(Y2_STEP_PIN); } while(0) + #else + #define Y2_STEP_WRITE(STATE) WRITE(Y2_STEP_PIN,STATE) + #endif + #define Y2_STEP_READ READ(Y2_STEP_PIN) #else #define Y2_DIR_WRITE(STATE) NOOP @@ -309,7 +331,12 @@ void reset_stepper_drivers(); // Called by settings.load / settings.reset #define Z2_DIR_READ READ(Z2_DIR_PIN) #endif #define Z2_STEP_INIT SET_OUTPUT(Z2_STEP_PIN) - #define Z2_STEP_WRITE(STATE) WRITE(Z2_STEP_PIN,STATE) + #if AXIS_IS_TMC(Z2) && ENABLED(SQUARE_WAVE_STEPPING) + #define Z2_STEP_WRITE(STATE) do { if(STATE) TOGGLE(Z2_STEP_PIN); } while(0) + #else + #define Z2_STEP_WRITE(STATE) WRITE(Z2_STEP_PIN,STATE) + #endif + #define Z2_STEP_READ READ(Z2_STEP_PIN) #else #define Z2_DIR_WRITE(STATE) NOOP @@ -348,7 +375,12 @@ void reset_stepper_drivers(); // Called by settings.load / settings.reset #define Z3_DIR_READ READ(Z3_DIR_PIN) #endif #define Z3_STEP_INIT SET_OUTPUT(Z3_STEP_PIN) - #define Z3_STEP_WRITE(STATE) WRITE(Z3_STEP_PIN,STATE) + #if AXIS_IS_TMC(Z3) && ENABLED(SQUARE_WAVE_STEPPING) + #define Z3_STEP_WRITE(STATE) do { if(STATE) TOGGLE(Z3_STEP_PIN); } while(0) + #else + #define Z3_STEP_WRITE(STATE) WRITE(Z3_STEP_PIN,STATE) + #endif + #define Z3_STEP_READ READ(Z3_STEP_PIN) #else #define Z3_DIR_WRITE(STATE) NOOP @@ -386,7 +418,11 @@ void reset_stepper_drivers(); // Called by settings.load / settings.reset #define E0_DIR_READ READ(E0_DIR_PIN) #endif #define E0_STEP_INIT SET_OUTPUT(E0_STEP_PIN) -#define E0_STEP_WRITE(STATE) WRITE(E0_STEP_PIN,STATE) +#if AXIS_IS_TMC(E0) && ENABLED(SQUARE_WAVE_STEPPING) + #define E0_STEP_WRITE(STATE) do { if(STATE) TOGGLE(E0_STEP_PIN); } while(0) +#else + #define E0_STEP_WRITE(STATE) WRITE(E0_STEP_PIN,STATE) +#endif #define E0_STEP_READ READ(E0_STEP_PIN) // E1 Stepper @@ -421,7 +457,11 @@ void reset_stepper_drivers(); // Called by settings.load / settings.reset #define E1_DIR_READ READ(E1_DIR_PIN) #endif #define E1_STEP_INIT SET_OUTPUT(E1_STEP_PIN) -#define E1_STEP_WRITE(STATE) WRITE(E1_STEP_PIN,STATE) +#if AXIS_IS_TMC(E1) && ENABLED(SQUARE_WAVE_STEPPING) + #define E1_STEP_WRITE(STATE) do { if(STATE) TOGGLE(E1_STEP_PIN); } while(0) +#else + #define E1_STEP_WRITE(STATE) WRITE(E1_STEP_PIN,STATE) +#endif #define E1_STEP_READ READ(E1_STEP_PIN) // E2 Stepper @@ -456,7 +496,11 @@ void reset_stepper_drivers(); // Called by settings.load / settings.reset #define E2_DIR_READ READ(E2_DIR_PIN) #endif #define E2_STEP_INIT SET_OUTPUT(E2_STEP_PIN) -#define E2_STEP_WRITE(STATE) WRITE(E2_STEP_PIN,STATE) +#if AXIS_IS_TMC(E2) && ENABLED(SQUARE_WAVE_STEPPING) + #define E2_STEP_WRITE(STATE) do { if(STATE) TOGGLE(E2_STEP_PIN); } while(0) +#else + #define E2_STEP_WRITE(STATE) WRITE(E2_STEP_PIN,STATE) +#endif #define E2_STEP_READ READ(E2_STEP_PIN) // E3 Stepper @@ -491,7 +535,11 @@ void reset_stepper_drivers(); // Called by settings.load / settings.reset #define E3_DIR_READ READ(E3_DIR_PIN) #endif #define E3_STEP_INIT SET_OUTPUT(E3_STEP_PIN) -#define E3_STEP_WRITE(STATE) WRITE(E3_STEP_PIN,STATE) +#if AXIS_IS_TMC(E3) && ENABLED(SQUARE_WAVE_STEPPING) + #define E3_STEP_WRITE(STATE) do { if(STATE) TOGGLE(E3_STEP_PIN); } while(0) +#else + #define E3_STEP_WRITE(STATE) WRITE(E3_STEP_PIN,STATE) +#endif #define E3_STEP_READ READ(E3_STEP_PIN) // E4 Stepper @@ -526,7 +574,11 @@ void reset_stepper_drivers(); // Called by settings.load / settings.reset #define E4_DIR_READ READ(E4_DIR_PIN) #endif #define E4_STEP_INIT SET_OUTPUT(E4_STEP_PIN) -#define E4_STEP_WRITE(STATE) WRITE(E4_STEP_PIN,STATE) +#if AXIS_IS_TMC(E4) && ENABLED(SQUARE_WAVE_STEPPING) + #define E4_STEP_WRITE(STATE) do { if(STATE) TOGGLE(E4_STEP_PIN); } while(0) +#else + #define E4_STEP_WRITE(STATE) WRITE(E4_STEP_PIN,STATE) +#endif #define E4_STEP_READ READ(E4_STEP_PIN) // E5 Stepper @@ -561,7 +613,11 @@ void reset_stepper_drivers(); // Called by settings.load / settings.reset #define E5_DIR_READ READ(E5_DIR_PIN) #endif #define E5_STEP_INIT SET_OUTPUT(E5_STEP_PIN) -#define E5_STEP_WRITE(STATE) WRITE(E5_STEP_PIN,STATE) +#if AXIS_IS_TMC(E5) && ENABLED(SQUARE_WAVE_STEPPING) + #define E5_STEP_WRITE(STATE) do { if(STATE) TOGGLE(E5_STEP_PIN); } while(0) +#else + #define E5_STEP_WRITE(STATE) WRITE(E5_STEP_PIN,STATE) +#endif #define E5_STEP_READ READ(E5_STEP_PIN) /** diff --git a/config/default/Configuration_adv.h b/config/default/Configuration_adv.h index 357ae9c2b4938d899b3b44e457dc459cc230960a..d2098d52e36bf6f6e37a3550e5aa1843fd6fff69 100644 --- a/config/default/Configuration_adv.h +++ b/config/default/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/3DFabXYZ/Migbot/Configuration_adv.h b/config/examples/3DFabXYZ/Migbot/Configuration_adv.h index 496480094114069be75307e31da81b4c5d16d852..9e379dc6501e85316a51e90cdf6ff071924a88c2 100644 --- a/config/examples/3DFabXYZ/Migbot/Configuration_adv.h +++ b/config/examples/3DFabXYZ/Migbot/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/AlephObjects/TAZ4/Configuration_adv.h b/config/examples/AlephObjects/TAZ4/Configuration_adv.h index c171665de44ef9ea67bf502ce1ea492b613348d4..2aa28a6368491c37c2dd9344034b5d324024ce0c 100644 --- a/config/examples/AlephObjects/TAZ4/Configuration_adv.h +++ b/config/examples/AlephObjects/TAZ4/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/AliExpress/UM2pExt/Configuration_adv.h b/config/examples/AliExpress/UM2pExt/Configuration_adv.h index 831df84a08ea90fbf1bbb81b3bf8eae95d95a222..8aca71449d6277f601ac9f22746034111f8b7c70 100644 --- a/config/examples/AliExpress/UM2pExt/Configuration_adv.h +++ b/config/examples/AliExpress/UM2pExt/Configuration_adv.h @@ -1763,6 +1763,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Anet/A2/Configuration_adv.h b/config/examples/Anet/A2/Configuration_adv.h index 9e76c2e1b7d756ef305bfb31dfe575aae4623019..560e46c375c1732c0a0cb8054c7e46dfef4045e7 100644 --- a/config/examples/Anet/A2/Configuration_adv.h +++ b/config/examples/Anet/A2/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Anet/A2plus/Configuration_adv.h b/config/examples/Anet/A2plus/Configuration_adv.h index 9e76c2e1b7d756ef305bfb31dfe575aae4623019..560e46c375c1732c0a0cb8054c7e46dfef4045e7 100644 --- a/config/examples/Anet/A2plus/Configuration_adv.h +++ b/config/examples/Anet/A2plus/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Anet/A6/Configuration_adv.h b/config/examples/Anet/A6/Configuration_adv.h index 41a47fbea6d146647685242b27e37090857d6b47..2f1b68bd744522a142d50b3fa28aa7f64ce78702 100644 --- a/config/examples/Anet/A6/Configuration_adv.h +++ b/config/examples/Anet/A6/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Anet/A8/Configuration_adv.h b/config/examples/Anet/A8/Configuration_adv.h index 2b52a8f85f386213d3083b7c7228d4b762ac79ee..64ebaec0339e7381785e77e3af39bb5577b3d0da 100644 --- a/config/examples/Anet/A8/Configuration_adv.h +++ b/config/examples/Anet/A8/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Anet/A8plus/Configuration_adv.h b/config/examples/Anet/A8plus/Configuration_adv.h index d98a129cae2abd9d46206b042d278a8405381471..6f24305a3ac2fbb24cd22b9e26eec0d138609926 100644 --- a/config/examples/Anet/A8plus/Configuration_adv.h +++ b/config/examples/Anet/A8plus/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Anet/E16/Configuration_adv.h b/config/examples/Anet/E16/Configuration_adv.h index 227b5ccbe72059da6979bb7a7714c6abfa48b377..373697717b86116e8081b8dc8b0e38346827ed28 100644 --- a/config/examples/Anet/E16/Configuration_adv.h +++ b/config/examples/Anet/E16/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/AnyCubic/i3/Configuration_adv.h b/config/examples/AnyCubic/i3/Configuration_adv.h index a2bf1a6731d21d3637f9e9cf4930cbf3a6728622..e7349fafd5960347083973e5fc6bd0cbce9d5007 100644 --- a/config/examples/AnyCubic/i3/Configuration_adv.h +++ b/config/examples/AnyCubic/i3/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/ArmEd/Configuration_adv.h b/config/examples/ArmEd/Configuration_adv.h index c204ead146b2a0ccac712b57b5803d67a1f5d88e..e040a6c863c5c8c3e471f4f6849e809cbd0624a8 100644 --- a/config/examples/ArmEd/Configuration_adv.h +++ b/config/examples/ArmEd/Configuration_adv.h @@ -1765,6 +1765,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h b/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h index 2e807171fe54b7dd046083df338f9ff1bc62c6f0..27d6272f0f88ee7995aa6da64153a741dd4b02e5 100644 --- a/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h +++ b/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/BIBO/TouchX/default/Configuration_adv.h b/config/examples/BIBO/TouchX/default/Configuration_adv.h index 2760b7975fb4dca59f050615154bc422e4f467a2..7ce8a4629cf8ca57f49288489e6e8ce98c541987 100644 --- a/config/examples/BIBO/TouchX/default/Configuration_adv.h +++ b/config/examples/BIBO/TouchX/default/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/BQ/Hephestos/Configuration_adv.h b/config/examples/BQ/Hephestos/Configuration_adv.h index 7164fc81ba73dd99688bbcbfc45fcb43421e6653..6d8d1b23636fe74eaf537d3bf8204ad35c86f264 100644 --- a/config/examples/BQ/Hephestos/Configuration_adv.h +++ b/config/examples/BQ/Hephestos/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/BQ/Hephestos_2/Configuration_adv.h b/config/examples/BQ/Hephestos_2/Configuration_adv.h index 1a5053b1c8d541335582576954c4c093fc512dcc..b305e40fa287ab77be327a6e1287a0a481da39bd 100644 --- a/config/examples/BQ/Hephestos_2/Configuration_adv.h +++ b/config/examples/BQ/Hephestos_2/Configuration_adv.h @@ -1769,6 +1769,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/BQ/WITBOX/Configuration_adv.h b/config/examples/BQ/WITBOX/Configuration_adv.h index 7164fc81ba73dd99688bbcbfc45fcb43421e6653..6d8d1b23636fe74eaf537d3bf8204ad35c86f264 100644 --- a/config/examples/BQ/WITBOX/Configuration_adv.h +++ b/config/examples/BQ/WITBOX/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Cartesio/Configuration_adv.h b/config/examples/Cartesio/Configuration_adv.h index 559c0ed0c98ca70258a271f407d07411cc2ec3e3..3a20a0b5868b7d35d05427078a8d0fdf058c8d62 100644 --- a/config/examples/Cartesio/Configuration_adv.h +++ b/config/examples/Cartesio/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Creality/CR-10/Configuration_adv.h b/config/examples/Creality/CR-10/Configuration_adv.h index 0ead0163a2add925817ce90e5e1a1ab34e4db38d..38c3d66fd2c5ac1e21c410c4b1c3b643ba16a534 100644 --- a/config/examples/Creality/CR-10/Configuration_adv.h +++ b/config/examples/Creality/CR-10/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Creality/CR-10S/Configuration_adv.h b/config/examples/Creality/CR-10S/Configuration_adv.h index 96b1edfbb4de916153c539181ed64f116dc7076a..6cd1c6a935e8a175ea317e40cd15c0870c7928b0 100644 --- a/config/examples/Creality/CR-10S/Configuration_adv.h +++ b/config/examples/Creality/CR-10S/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Creality/CR-10_5S/Configuration_adv.h b/config/examples/Creality/CR-10_5S/Configuration_adv.h index 21e182147edb209bae53fc33f0ddf04d95be8c46..fb4d91ab6a7b104544a752a9940994519519db7a 100644 --- a/config/examples/Creality/CR-10_5S/Configuration_adv.h +++ b/config/examples/Creality/CR-10_5S/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Creality/CR-10mini/Configuration_adv.h b/config/examples/Creality/CR-10mini/Configuration_adv.h index 0ec60ea1a96e87131dc48f90ab34d33499d8b81e..7ad3db93ccf86f8eab9ea9e186c70a2fc568fee1 100644 --- a/config/examples/Creality/CR-10mini/Configuration_adv.h +++ b/config/examples/Creality/CR-10mini/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Creality/CR-8/Configuration_adv.h b/config/examples/Creality/CR-8/Configuration_adv.h index 073c6f5d49e4e72f91078dc47532b92be280169a..ff71cb150aae7f794aa543aed1b3d268b8979bb0 100644 --- a/config/examples/Creality/CR-8/Configuration_adv.h +++ b/config/examples/Creality/CR-8/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Creality/Ender-2/Configuration_adv.h b/config/examples/Creality/Ender-2/Configuration_adv.h index 858079ab554d6d9dcc61577b10628a69351ed2dd..3cefaffa2b505b86ed19820818c9c8b59ac7e53c 100644 --- a/config/examples/Creality/Ender-2/Configuration_adv.h +++ b/config/examples/Creality/Ender-2/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Creality/Ender-3/Configuration_adv.h b/config/examples/Creality/Ender-3/Configuration_adv.h index 9c6efede3cb989d2ade6ac6bcabb42f726bca850..30944639578923df57b3091ef4ce1495e562595e 100644 --- a/config/examples/Creality/Ender-3/Configuration_adv.h +++ b/config/examples/Creality/Ender-3/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Creality/Ender-4/Configuration_adv.h b/config/examples/Creality/Ender-4/Configuration_adv.h index 3731f3998a1a84e2fc23b4082d71d12cd0ed8c27..4032f7f7ccbd8051f690ee0cc35cbbf28977bc33 100644 --- a/config/examples/Creality/Ender-4/Configuration_adv.h +++ b/config/examples/Creality/Ender-4/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Einstart-S/Configuration_adv.h b/config/examples/Einstart-S/Configuration_adv.h index 843337b507da9758735ac8393559aaad952fe14d..a50efe12b1655931d41162a2bf724335c5092c44 100644 --- a/config/examples/Einstart-S/Configuration_adv.h +++ b/config/examples/Einstart-S/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Felix/Configuration_adv.h b/config/examples/Felix/Configuration_adv.h index b72dee9902d4f46f41a8314e53208355b7d2d223..d75713e39033e632c64ee0e69270cdefa143c24a 100644 --- a/config/examples/Felix/Configuration_adv.h +++ b/config/examples/Felix/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/FlashForge/CreatorPro/Configuration_adv.h b/config/examples/FlashForge/CreatorPro/Configuration_adv.h index c9d539e76c5ae81451b4567257ecdb8344ef0531..7e72152b83c079b97b8f44aa41e11474759b5f33 100644 --- a/config/examples/FlashForge/CreatorPro/Configuration_adv.h +++ b/config/examples/FlashForge/CreatorPro/Configuration_adv.h @@ -1760,6 +1760,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/FolgerTech/i3-2020/Configuration_adv.h b/config/examples/FolgerTech/i3-2020/Configuration_adv.h index 2d5d9087a5b536dc943610f6ebe2582c45542bdc..e1d32435df096c1619d6d0dcff417254ff9c4ef2 100644 --- a/config/examples/FolgerTech/i3-2020/Configuration_adv.h +++ b/config/examples/FolgerTech/i3-2020/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Formbot/Raptor/Configuration_adv.h b/config/examples/Formbot/Raptor/Configuration_adv.h index d2820bfe3dae9be2e1ebf3625271d2f42bcd4182..671e4b608d423abd0e31f9e41c0528a51da1339a 100644 --- a/config/examples/Formbot/Raptor/Configuration_adv.h +++ b/config/examples/Formbot/Raptor/Configuration_adv.h @@ -1763,6 +1763,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Formbot/T_Rex_2+/Configuration_adv.h b/config/examples/Formbot/T_Rex_2+/Configuration_adv.h index 25d2406546739d0b5a815459c3f1db08f3b75029..909174179fd390a9299f02bda1ad3a5365011874 100644 --- a/config/examples/Formbot/T_Rex_2+/Configuration_adv.h +++ b/config/examples/Formbot/T_Rex_2+/Configuration_adv.h @@ -1765,6 +1765,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Formbot/T_Rex_3/Configuration_adv.h b/config/examples/Formbot/T_Rex_3/Configuration_adv.h index 233cfb8b251d3f04824c86c9bfa9334e880e56e4..e6bdb8d3e5b41318c8fe97daa70885cad9fe9931 100644 --- a/config/examples/Formbot/T_Rex_3/Configuration_adv.h +++ b/config/examples/Formbot/T_Rex_3/Configuration_adv.h @@ -1765,6 +1765,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Geeetech/A10M/Configuration_adv.h b/config/examples/Geeetech/A10M/Configuration_adv.h index 995cf8730f8446247ecc9ac09a3538a9e1457f37..c7af71224603061ffdac06f4060a038325170cfa 100644 --- a/config/examples/Geeetech/A10M/Configuration_adv.h +++ b/config/examples/Geeetech/A10M/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Geeetech/A20M/Configuration_adv.h b/config/examples/Geeetech/A20M/Configuration_adv.h index fb70132db2b837891ca6d483448216e8489cf675..739aac4a391e05b292d921e39ff4c4a1408ac49a 100644 --- a/config/examples/Geeetech/A20M/Configuration_adv.h +++ b/config/examples/Geeetech/A20M/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Geeetech/MeCreator2/Configuration_adv.h b/config/examples/Geeetech/MeCreator2/Configuration_adv.h index bd6911fa3a8b0a248358ea5ce2f8272b53a79d35..2e57c1876ebe3a57d781d3d31265d0199a757090 100644 --- a/config/examples/Geeetech/MeCreator2/Configuration_adv.h +++ b/config/examples/Geeetech/MeCreator2/Configuration_adv.h @@ -1760,6 +1760,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h b/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h index 0af12f93edae76e0ff72a8702376c7d438c91fa7..d04c477b6d06a3a2d4d840d58d6e74441b3f3cb8 100644 --- a/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h +++ b/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h b/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h index 0af12f93edae76e0ff72a8702376c7d438c91fa7..d04c477b6d06a3a2d4d840d58d6e74441b3f3cb8 100644 --- a/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h +++ b/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Infitary/i3-M508/Configuration_adv.h b/config/examples/Infitary/i3-M508/Configuration_adv.h index 3bf491c29da218da5031726e4599a2cbd41eb876..54bcf67391de2776305a424ffbf82b0b72a0cf22 100644 --- a/config/examples/Infitary/i3-M508/Configuration_adv.h +++ b/config/examples/Infitary/i3-M508/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/JGAurora/A5/Configuration_adv.h b/config/examples/JGAurora/A5/Configuration_adv.h index c5db3ccd712024878d5287270cfcbd296fd915f2..3cebdd9a2073dc9cd39ea189c5ed1cb24a3da91f 100644 --- a/config/examples/JGAurora/A5/Configuration_adv.h +++ b/config/examples/JGAurora/A5/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/MakerParts/Configuration_adv.h b/config/examples/MakerParts/Configuration_adv.h index c772ecb8bebb0a71b84a51a22346debb09d5960d..6d2efad563927773b8970b63133fba56cf1ddd1a 100644 --- a/config/examples/MakerParts/Configuration_adv.h +++ b/config/examples/MakerParts/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Malyan/M150/Configuration_adv.h b/config/examples/Malyan/M150/Configuration_adv.h index b32fc548abe7df016e3efa3eac1a8aa2ff1018c0..c0192404009a1b6fd4283fd70e01c4735ded9db5 100644 --- a/config/examples/Malyan/M150/Configuration_adv.h +++ b/config/examples/Malyan/M150/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Malyan/M200/Configuration_adv.h b/config/examples/Malyan/M200/Configuration_adv.h index 4e2b835cdd8c4f14ceb2ed95cb024b34079b3e2d..45ca408b3f9425fad881feda2748edd35597d978 100644 --- a/config/examples/Malyan/M200/Configuration_adv.h +++ b/config/examples/Malyan/M200/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Micromake/C1/enhanced/Configuration_adv.h b/config/examples/Micromake/C1/enhanced/Configuration_adv.h index be1292e5bb83b461403dfdfb9e7f5d55a8a047cc..8941a02094ef9f08aac43743c40e12307724a3d7 100644 --- a/config/examples/Micromake/C1/enhanced/Configuration_adv.h +++ b/config/examples/Micromake/C1/enhanced/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Mks/Robin/Configuration_adv.h b/config/examples/Mks/Robin/Configuration_adv.h index d12c0d0c3fafbab93cbe713b9de4aca3b0de404e..b318e9eaf5ec649e37213c5d81a0e30a3e8343c6 100644 --- a/config/examples/Mks/Robin/Configuration_adv.h +++ b/config/examples/Mks/Robin/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Mks/Sbase/Configuration_adv.h b/config/examples/Mks/Sbase/Configuration_adv.h index aa50533fb31247caf2aaa0df591e41e569df7f5e..b7eb00fb171973c095805e932cecf9522e28ec91 100644 --- a/config/examples/Mks/Sbase/Configuration_adv.h +++ b/config/examples/Mks/Sbase/Configuration_adv.h @@ -1762,6 +1762,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/RapideLite/RL200/Configuration_adv.h b/config/examples/RapideLite/RL200/Configuration_adv.h index 63e366aa77f4883d129396d7ee731e1a376bccae..0897013e437d2a64307f86fb094384649c86c197 100644 --- a/config/examples/RapideLite/RL200/Configuration_adv.h +++ b/config/examples/RapideLite/RL200/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/RigidBot/Configuration_adv.h b/config/examples/RigidBot/Configuration_adv.h index 5eee1818a560168ec618c82d5569ad224684b8e2..84fbabd8ac43817c5fe818317933f45a4b497358 100644 --- a/config/examples/RigidBot/Configuration_adv.h +++ b/config/examples/RigidBot/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/SCARA/Configuration_adv.h b/config/examples/SCARA/Configuration_adv.h index 44526c296d4109c6afc0dae5ba00e10dae1b267a..10495a1f7e3a8009cf9f34f016d5603700400f4f 100644 --- a/config/examples/SCARA/Configuration_adv.h +++ b/config/examples/SCARA/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h b/config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h index 8cfd3774dadb9423a5ff68f27cae5cc0a57efcdd..e1860e86aa5c53521f6f681665d7f60022cae7f0 100644 --- a/config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h +++ b/config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h @@ -1759,6 +1759,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Sanguinololu/Configuration_adv.h b/config/examples/Sanguinololu/Configuration_adv.h index 7938a1ae5c04d2b7b91ab7c170765835bf45daea..7fe3e9b0912b5d0e445d8f222e9b5dc40da294ec 100644 --- a/config/examples/Sanguinololu/Configuration_adv.h +++ b/config/examples/Sanguinololu/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/TheBorg/Configuration_adv.h b/config/examples/TheBorg/Configuration_adv.h index 8e237e69a9ccf66fe05cfdd809e4b5018f81c0ff..8c8d2d099b14a8d3166bfbed69476e27b073caea 100644 --- a/config/examples/TheBorg/Configuration_adv.h +++ b/config/examples/TheBorg/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/TinyBoy2/Configuration_adv.h b/config/examples/TinyBoy2/Configuration_adv.h index f1c46c41cba606f967db36b72594d7c79da8e728..297c4e6c2f2e86cf5f2896a06a4348df6f3d6857 100644 --- a/config/examples/TinyBoy2/Configuration_adv.h +++ b/config/examples/TinyBoy2/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Tronxy/X3A/Configuration_adv.h b/config/examples/Tronxy/X3A/Configuration_adv.h index 5534519c754103d0bca8979eb7aeb1ff01e2922d..65dd5f610058a08673dbc336124fc13ab73c17a5 100644 --- a/config/examples/Tronxy/X3A/Configuration_adv.h +++ b/config/examples/Tronxy/X3A/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Tronxy/X5S-2E/Configuration_adv.h b/config/examples/Tronxy/X5S-2E/Configuration_adv.h index 44d27eb8ad7c7e518f1c5e8c838849d5df5b3f63..d2d68a3a5fb85c900d97a6eda0e1a63ae1d9dcf5 100644 --- a/config/examples/Tronxy/X5S-2E/Configuration_adv.h +++ b/config/examples/Tronxy/X5S-2E/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/UltiMachine/Archim1/Configuration_adv.h b/config/examples/UltiMachine/Archim1/Configuration_adv.h index 18b36351aff731e1e832ec844f3210752069dbe0..2d1a67bc8cb2a9a8ce9e3f4bc8fe95b1b2e18384 100644 --- a/config/examples/UltiMachine/Archim1/Configuration_adv.h +++ b/config/examples/UltiMachine/Archim1/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/UltiMachine/Archim2/Configuration_adv.h b/config/examples/UltiMachine/Archim2/Configuration_adv.h index b87e0752008f159c3b75d462f9e261ee7b823b5b..dafaa054b4bd418a07fdf571f9c2b87b744de1e0 100644 --- a/config/examples/UltiMachine/Archim2/Configuration_adv.h +++ b/config/examples/UltiMachine/Archim2/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/VORONDesign/Configuration_adv.h b/config/examples/VORONDesign/Configuration_adv.h index f78bfc8141f5100e259d406a73672c642e3fbd2e..003bc78c540294bf6c643c8ac193a532db4ddbc8 100644 --- a/config/examples/VORONDesign/Configuration_adv.h +++ b/config/examples/VORONDesign/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Velleman/K8200/Configuration_adv.h b/config/examples/Velleman/K8200/Configuration_adv.h index f0d5f41dd8ae55f6ff6a3211cff48d33398ee9dd..67bf8c57790d003b88961051deae0475a138bea6 100644 --- a/config/examples/Velleman/K8200/Configuration_adv.h +++ b/config/examples/Velleman/K8200/Configuration_adv.h @@ -1774,6 +1774,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Velleman/K8400/Configuration_adv.h b/config/examples/Velleman/K8400/Configuration_adv.h index b47ac8dc56064f8479fa1395b8e12d2172714b07..910ff7d2f4d8a3a08f3529135682c921fa7e0d54 100644 --- a/config/examples/Velleman/K8400/Configuration_adv.h +++ b/config/examples/Velleman/K8400/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/WASP/PowerWASP/Configuration_adv.h b/config/examples/WASP/PowerWASP/Configuration_adv.h index 37cdaf7af0f4ae4572414d956a88131ba722eceb..bcfa748e77df0c6e13fb3763079928431c201331 100644 --- a/config/examples/WASP/PowerWASP/Configuration_adv.h +++ b/config/examples/WASP/PowerWASP/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/Wanhao/Duplicator 6/Configuration_adv.h b/config/examples/Wanhao/Duplicator 6/Configuration_adv.h index af877f42d0dc257cdb0d37a8f9b7ad708987c978..37393c07f856ecaeeef180f69f2f65c9c79f8932 100644 --- a/config/examples/Wanhao/Duplicator 6/Configuration_adv.h +++ b/config/examples/Wanhao/Duplicator 6/Configuration_adv.h @@ -1763,6 +1763,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/delta/Anycubic/Kossel/Configuration_adv.h b/config/examples/delta/Anycubic/Kossel/Configuration_adv.h index dcf9c76ba213c1a74cbf4a5ad4288dbcf6fb5b4c..40ed2135dbf336857fe0bbfaf2569f1003cda7d2 100644 --- a/config/examples/delta/Anycubic/Kossel/Configuration_adv.h +++ b/config/examples/delta/Anycubic/Kossel/Configuration_adv.h @@ -1760,6 +1760,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h b/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h index 7c01c872d72a745a5f4adbbc0b7aafdffdee5e9a..dfb2acb16529584265ce0a2befb53418e79919c3 100644 --- a/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h +++ b/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h @@ -1760,6 +1760,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/delta/FLSUN/kossel/Configuration_adv.h b/config/examples/delta/FLSUN/kossel/Configuration_adv.h index 7c01c872d72a745a5f4adbbc0b7aafdffdee5e9a..dfb2acb16529584265ce0a2befb53418e79919c3 100644 --- a/config/examples/delta/FLSUN/kossel/Configuration_adv.h +++ b/config/examples/delta/FLSUN/kossel/Configuration_adv.h @@ -1760,6 +1760,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h b/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h index 491f35c835c34cb4fb1fad2d67fefe6cdd9c4993..4f1d8e7a4121efaa678762cfbba5f570c6dd7452 100644 --- a/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h +++ b/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h @@ -1760,6 +1760,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h b/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h index 491f35c835c34cb4fb1fad2d67fefe6cdd9c4993..4f1d8e7a4121efaa678762cfbba5f570c6dd7452 100644 --- a/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h +++ b/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h @@ -1760,6 +1760,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/delta/MKS/SBASE/Configuration_adv.h b/config/examples/delta/MKS/SBASE/Configuration_adv.h index a1c0131185b8f677563f0c261d7b8b2c52217fb2..3928c2c72668d9f19a8f01047b1ef7155fe8f2f3 100644 --- a/config/examples/delta/MKS/SBASE/Configuration_adv.h +++ b/config/examples/delta/MKS/SBASE/Configuration_adv.h @@ -1760,6 +1760,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/delta/Tevo Little Monster/Configuration_adv.h b/config/examples/delta/Tevo Little Monster/Configuration_adv.h index cae43ef295bbd436d192160a3849f7853ad48b59..e21015a51ed4d50faee74c1b1ef34f90b38caecf 100644 --- a/config/examples/delta/Tevo Little Monster/Configuration_adv.h +++ b/config/examples/delta/Tevo Little Monster/Configuration_adv.h @@ -1760,6 +1760,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/delta/generic/Configuration_adv.h b/config/examples/delta/generic/Configuration_adv.h index 491f35c835c34cb4fb1fad2d67fefe6cdd9c4993..4f1d8e7a4121efaa678762cfbba5f570c6dd7452 100644 --- a/config/examples/delta/generic/Configuration_adv.h +++ b/config/examples/delta/generic/Configuration_adv.h @@ -1760,6 +1760,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/delta/kossel_mini/Configuration_adv.h b/config/examples/delta/kossel_mini/Configuration_adv.h index f182647ec3c603eccddc9d6c5ab6d971ec920f15..acc0a65305663b1e7856c863c5da286be6a5cf9e 100644 --- a/config/examples/delta/kossel_mini/Configuration_adv.h +++ b/config/examples/delta/kossel_mini/Configuration_adv.h @@ -1759,6 +1759,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/delta/kossel_xl/Configuration_adv.h b/config/examples/delta/kossel_xl/Configuration_adv.h index 33c40d773552594fb159c4e2283e84b5edf6138b..90fc5e6fa2d3aa2bf527702b028e2ebc11385b82 100644 --- a/config/examples/delta/kossel_xl/Configuration_adv.h +++ b/config/examples/delta/kossel_xl/Configuration_adv.h @@ -1760,6 +1760,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/gCreate/gMax1.5+/Configuration_adv.h b/config/examples/gCreate/gMax1.5+/Configuration_adv.h index 0adf4b56ec93116eeea627d605a442baa5107aad..aacc7dd1765efa546a90a320347127269de31eca 100644 --- a/config/examples/gCreate/gMax1.5+/Configuration_adv.h +++ b/config/examples/gCreate/gMax1.5+/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/makibox/Configuration_adv.h b/config/examples/makibox/Configuration_adv.h index 36cc9ad53008d1503c29daa405ec4ab572f87dd0..00cef739b544993b5aefd46ffacfc492aea1e0ac 100644 --- a/config/examples/makibox/Configuration_adv.h +++ b/config/examples/makibox/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/tvrrug/Round2/Configuration_adv.h b/config/examples/tvrrug/Round2/Configuration_adv.h index 5ca965007ee9c3fd6ea23f825544d40393505b22..adb3e2945e90be155ed94ec36e1b854ebae17a22 100644 --- a/config/examples/tvrrug/Round2/Configuration_adv.h +++ b/config/examples/tvrrug/Round2/Configuration_adv.h @@ -1761,6 +1761,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting. diff --git a/config/examples/wt150/Configuration_adv.h b/config/examples/wt150/Configuration_adv.h index cb0fb77273f5704c50da67400ce1893fa3de0279..27f3772ed4e26eb8c797dd7690dca0bf150dda94 100644 --- a/config/examples/wt150/Configuration_adv.h +++ b/config/examples/wt150/Configuration_adv.h @@ -1762,6 +1762,12 @@ //#define Z_STALL_SENSITIVITY 8 #endif + /** + * Beta feature! + * Create a 50/50 square wave step pulse optimal for stepper drivers. + */ + //#define SQUARE_WAVE_STEPPING + /** * Enable M122 debugging command for TMC stepper drivers. * M122 S0/1 will enable continous reporting.