diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 8c926e5ae88d..e0f419ad4a41 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -1389,10 +1389,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/default/Configuration_adv.h b/Marlin/src/config/default/Configuration_adv.h index 1282cb6b1025..1d33ce7a07cf 100755 --- a/Marlin/src/config/default/Configuration_adv.h +++ b/Marlin/src/config/default/Configuration_adv.h @@ -1389,10 +1389,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h b/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h index 906d4bc68477..6a645ce4d846 100644 --- a/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h +++ b/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Anet/A2/Configuration_adv.h b/Marlin/src/config/examples/Anet/A2/Configuration_adv.h index 605b8021fbb7..5a59d354ec76 100644 --- a/Marlin/src/config/examples/Anet/A2/Configuration_adv.h +++ b/Marlin/src/config/examples/Anet/A2/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h b/Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h index 605b8021fbb7..5a59d354ec76 100644 --- a/Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h +++ b/Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Anet/A6/Configuration_adv.h b/Marlin/src/config/examples/Anet/A6/Configuration_adv.h index 127bf2ffac59..b5cc0134ab0d 100644 --- a/Marlin/src/config/examples/Anet/A6/Configuration_adv.h +++ b/Marlin/src/config/examples/Anet/A6/Configuration_adv.h @@ -1387,10 +1387,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Anet/A8/Configuration_adv.h b/Marlin/src/config/examples/Anet/A8/Configuration_adv.h index 97a20d8ecfd3..740cda6a331e 100644 --- a/Marlin/src/config/examples/Anet/A8/Configuration_adv.h +++ b/Marlin/src/config/examples/Anet/A8/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/ArmEd/Configuration_adv.h b/Marlin/src/config/examples/ArmEd/Configuration_adv.h index 21c80ff05394..3415a94d3d70 100644 --- a/Marlin/src/config/examples/ArmEd/Configuration_adv.h +++ b/Marlin/src/config/examples/ArmEd/Configuration_adv.h @@ -1362,10 +1362,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h b/Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h index d91a09291bda..3496e1ad584a 100644 --- a/Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h +++ b/Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h @@ -1387,10 +1387,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h b/Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h index 0e6a9d24586a..d7db91455937 100644 --- a/Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h +++ b/Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h b/Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h index 3c03260d3ac5..bf832e5a8e2d 100644 --- a/Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h +++ b/Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h b/Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h index 0c934e265ca6..6be41ec3adcd 100644 --- a/Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h +++ b/Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h @@ -1396,10 +1396,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h b/Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h index 3c03260d3ac5..bf832e5a8e2d 100644 --- a/Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h +++ b/Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Cartesio/Configuration_adv.h b/Marlin/src/config/examples/Cartesio/Configuration_adv.h index 99ccacbd238e..efe803d18ea4 100644 --- a/Marlin/src/config/examples/Cartesio/Configuration_adv.h +++ b/Marlin/src/config/examples/Cartesio/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h b/Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h index 74b539e53783..2376abdf612f 100755 --- a/Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h +++ b/Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h b/Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h index 1fa49dfea1ea..7042b8638b16 100644 --- a/Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h +++ b/Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h b/Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h index e408ac17dd1c..ef8ec2f8b0c8 100644 --- a/Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h +++ b/Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h b/Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h index 7a659fb5814e..06731bbafead 100644 --- a/Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h +++ b/Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h b/Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h index a48415953d1f..d737ba538a5a 100644 --- a/Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h +++ b/Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h b/Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h index e45104e2a92e..56089712ce66 100644 --- a/Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h +++ b/Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h b/Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h index 87bad6a8553a..aff2c0a1d577 100644 --- a/Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h +++ b/Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Einstart-S/Configuration_adv.h b/Marlin/src/config/examples/Einstart-S/Configuration_adv.h index 989153ed3b93..3017436bdefe 100644 --- a/Marlin/src/config/examples/Einstart-S/Configuration_adv.h +++ b/Marlin/src/config/examples/Einstart-S/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Felix/Configuration_adv.h b/Marlin/src/config/examples/Felix/Configuration_adv.h index 895d76af3d5d..3ab4dbaf1511 100644 --- a/Marlin/src/config/examples/Felix/Configuration_adv.h +++ b/Marlin/src/config/examples/Felix/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h b/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h index 18edf294a6f2..beeb79a89001 100644 --- a/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h +++ b/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h b/Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h index 486e1a59a067..6dc45d0b913f 100644 --- a/Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h +++ b/Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h @@ -1390,10 +1390,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h b/Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h index 3fdc0a4a99fa..1856c14c7b5e 100644 --- a/Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h +++ b/Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h @@ -1393,10 +1393,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h b/Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h index cb079dd8a5b4..7e285aa2b054 100644 --- a/Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h +++ b/Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h @@ -1393,10 +1393,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h b/Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h index 622da7ce1ea0..f7a0e4c9bce8 100644 --- a/Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h +++ b/Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h @@ -1389,10 +1389,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h index 204c84fc32b8..9160f8f9bdec 100644 --- a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h +++ b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h index 204c84fc32b8..9160f8f9bdec 100644 --- a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h +++ b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h b/Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h index 0bc9c4ec2223..e80e313ffdf2 100644 --- a/Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h +++ b/Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h b/Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h index 4b22180dcee4..d8ff9c1244a2 100644 --- a/Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h +++ b/Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/MakerParts/Configuration_adv.h b/Marlin/src/config/examples/MakerParts/Configuration_adv.h index b8161b28262e..8132279bb20f 100644 --- a/Marlin/src/config/examples/MakerParts/Configuration_adv.h +++ b/Marlin/src/config/examples/MakerParts/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Malyan/M150/Configuration_adv.h b/Marlin/src/config/examples/Malyan/M150/Configuration_adv.h index 2d625c2d6cdf..3283e7e486e3 100644 --- a/Marlin/src/config/examples/Malyan/M150/Configuration_adv.h +++ b/Marlin/src/config/examples/Malyan/M150/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Malyan/M200/Configuration_adv.h b/Marlin/src/config/examples/Malyan/M200/Configuration_adv.h index 51b1786d0136..4e67ed124faf 100644 --- a/Marlin/src/config/examples/Malyan/M200/Configuration_adv.h +++ b/Marlin/src/config/examples/Malyan/M200/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h b/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h index a9cb575f564c..dec37290d9e0 100644 --- a/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h +++ b/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h b/Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h index ca5562e682f4..a2859e4d2257 100644 --- a/Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h +++ b/Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h @@ -1396,10 +1396,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/RigidBot/Configuration_adv.h b/Marlin/src/config/examples/RigidBot/Configuration_adv.h index f9491f3aaf2b..b13e4d5f5814 100644 --- a/Marlin/src/config/examples/RigidBot/Configuration_adv.h +++ b/Marlin/src/config/examples/RigidBot/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/SCARA/Configuration_adv.h b/Marlin/src/config/examples/SCARA/Configuration_adv.h index d6fea7efdf8c..533a03255810 100644 --- a/Marlin/src/config/examples/SCARA/Configuration_adv.h +++ b/Marlin/src/config/examples/SCARA/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Sanguinololu/Configuration_adv.h b/Marlin/src/config/examples/Sanguinololu/Configuration_adv.h index c26e644dd84b..b3a18db96853 100644 --- a/Marlin/src/config/examples/Sanguinololu/Configuration_adv.h +++ b/Marlin/src/config/examples/Sanguinololu/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/TheBorg/Configuration_adv.h b/Marlin/src/config/examples/TheBorg/Configuration_adv.h index 9be10e846f42..cffee73c3100 100644 --- a/Marlin/src/config/examples/TheBorg/Configuration_adv.h +++ b/Marlin/src/config/examples/TheBorg/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/TinyBoy2/Configuration_adv.h b/Marlin/src/config/examples/TinyBoy2/Configuration_adv.h index 96e7ec8ba39d..9cc0a0883722 100644 --- a/Marlin/src/config/examples/TinyBoy2/Configuration_adv.h +++ b/Marlin/src/config/examples/TinyBoy2/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h b/Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h index e7d74011b158..33bcfb72890f 100644 --- a/Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h +++ b/Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h b/Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h index eaf8dbdc79e8..4b8e4db8f2b0 100644 --- a/Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h +++ b/Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h @@ -1389,10 +1389,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h b/Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h index 51b11234c2ed..e05b446eb910 100644 --- a/Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h +++ b/Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h b/Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h index dc6c928369bc..3d212e3e0dfa 100644 --- a/Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h +++ b/Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h @@ -1401,10 +1401,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h b/Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h index d1134eb22b5d..9543562296c4 100644 --- a/Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h +++ b/Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h b/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h index fc73aa165a25..3338b1ccb1b2 100644 --- a/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h +++ b/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h @@ -1390,10 +1390,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h b/Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h index 8c6a775706d4..9bf661bf136c 100644 --- a/Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h @@ -1390,10 +1390,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h b/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h index e6173d8ca25a..6595ac6dd54b 100644 --- a/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h @@ -1390,10 +1390,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h b/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h index e6173d8ca25a..6595ac6dd54b 100644 --- a/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h @@ -1390,10 +1390,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h b/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h index 5dc8f44bb070..d18304297ac8 100644 --- a/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h @@ -1390,10 +1390,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h b/Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h index 492af30f921c..4131c9111550 100644 --- a/Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h @@ -1363,10 +1363,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/delta/MKS/SBASE/Configuration_adv.h b/Marlin/src/config/examples/delta/MKS/SBASE/Configuration_adv.h index 8bdd58de4f32..dfcc0e75065e 100644 --- a/Marlin/src/config/examples/delta/MKS/SBASE/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/MKS/SBASE/Configuration_adv.h @@ -1390,10 +1390,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h b/Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h index f0282d0150d0..b6bef1765d74 100644 --- a/Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h @@ -1390,10 +1390,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/delta/generic/Configuration_adv.h b/Marlin/src/config/examples/delta/generic/Configuration_adv.h index 5dc8f44bb070..d18304297ac8 100644 --- a/Marlin/src/config/examples/delta/generic/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/generic/Configuration_adv.h @@ -1390,10 +1390,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h b/Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h index 5dc8f44bb070..d18304297ac8 100644 --- a/Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h @@ -1390,10 +1390,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h b/Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h index aa0628e47087..8e8d7b3aa407 100644 --- a/Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h @@ -1390,10 +1390,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h b/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h index c071fad0668b..6cc356f76b1e 100644 --- a/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h +++ b/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/makibox/Configuration_adv.h b/Marlin/src/config/examples/makibox/Configuration_adv.h index 6f84aebd4795..26e8150a4f4d 100644 --- a/Marlin/src/config/examples/makibox/Configuration_adv.h +++ b/Marlin/src/config/examples/makibox/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h b/Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h index 2774e981d91c..85f916835d4b 100644 --- a/Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h +++ b/Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h @@ -1388,10 +1388,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/config/examples/wt150/Configuration_adv.h b/Marlin/src/config/examples/wt150/Configuration_adv.h index e523848eaf25..b6d7811b170f 100644 --- a/Marlin/src/config/examples/wt150/Configuration_adv.h +++ b/Marlin/src/config/examples/wt150/Configuration_adv.h @@ -1389,10 +1389,20 @@ #define STEALTHCHOP_E /** - * Adjust spreadCycle chopper parameters with the help of an example included in the library. - * The parameters are off time, hysteresis end and hysteresis start. + * Optimize spreadCycle chopper parameters by using predefined parameter sets + * or with the help of an example included in the library. + * Provided parameter sets are + * CHOPPER_DEFAULT_12V + * CHOPPER_DEFAULT_19V + * CHOPPER_DEFAULT_24V + * CHOPPER_DEFAULT_36V + * CHOPPER_PRUSAMK3_24V // Imported parameters from the official Prusa firmware for MK3 (24V) + * CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9 + * + * Define you own with + * { , , hysteresis_start[1..8] } */ - #define CHOPPER_TIMING { 4, -2, 1 } + #define CHOPPER_TIMING CHOPPER_DEFAULT_12V /** * Monitor Trinamic TMC2130 and TMC2208 drivers for error conditions, diff --git a/Marlin/src/feature/tmc_util.h b/Marlin/src/feature/tmc_util.h index d9bf8143f69c..3acfdc9cbce8 100644 --- a/Marlin/src/feature/tmc_util.h +++ b/Marlin/src/feature/tmc_util.h @@ -43,6 +43,13 @@ #define TMC_E4_LABEL 'E', '4' #define TMC_E5_LABEL 'E', '5' +#define CHOPPER_DEFAULT_12V { 3, -1, 1 } +#define CHOPPER_DEFAULT_19V { 4, 1, 1 } +#define CHOPPER_DEFAULT_24V { 4, 2, 1 } +#define CHOPPER_DEFAULT_36V { 5, 2, 4 } +#define CHOPPER_PRUSAMK3_24V { 4, 1, 4 } +#define CHOPPER_MARLIN_119 { 5, 2, 3 } + template class TMCStorage { protected: