diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 8c926e5ae8..e0f419ad4a 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 1282cb6b10..1d33ce7a07 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 906d4bc684..6a645ce4d8 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 605b8021fb..5a59d354ec 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 605b8021fb..5a59d354ec 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 127bf2ffac..b5cc0134ab 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 97a20d8ecf..740cda6a33 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 21c80ff053..3415a94d3d 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 d91a09291b..3496e1ad58 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 0e6a9d2458..d7db914559 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 3c03260d3a..bf832e5a8e 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 0c934e265c..6be41ec3ad 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 3c03260d3a..bf832e5a8e 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 99ccacbd23..efe803d18e 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 74b539e537..2376abdf61 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 1fa49dfea1..7042b8638b 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 e408ac17dd..ef8ec2f8b0 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 7a659fb581..06731bbafe 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 a48415953d..d737ba538a 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 e45104e2a9..56089712ce 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 87bad6a855..aff2c0a1d5 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 989153ed3b..3017436bde 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 895d76af3d..3ab4dbaf15 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 18edf294a6..beeb79a890 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 486e1a59a0..6dc45d0b91 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 3fdc0a4a99..1856c14c7b 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 cb079dd8a5..7e285aa2b0 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 622da7ce1e..f7a0e4c9bc 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 204c84fc32..9160f8f9bd 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 204c84fc32..9160f8f9bd 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 0bc9c4ec22..e80e313ffd 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 4b22180dce..d8ff9c1244 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 b8161b2826..8132279bb2 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 2d625c2d6c..3283e7e486 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 51b1786d01..4e67ed124f 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 a9cb575f56..dec37290d9 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 ca5562e682..a2859e4d22 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 f9491f3aaf..b13e4d5f58 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 d6fea7efdf..533a032558 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 c26e644dd8..b3a18db968 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 9be10e846f..cffee73c31 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 96e7ec8ba3..9cc0a08837 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 e7d74011b1..33bcfb7289 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 eaf8dbdc79..4b8e4db8f2 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 51b11234c2..e05b446eb9 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 dc6c928369..3d212e3e0d 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 d1134eb22b..9543562296 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 fc73aa165a..3338b1ccb1 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 8c6a775706..9bf661bf13 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 e6173d8ca2..6595ac6dd5 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 e6173d8ca2..6595ac6dd5 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 5dc8f44bb0..d18304297a 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 492af30f92..4131c91115 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 8bdd58de4f..dfcc0e7506 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 f0282d0150..b6bef1765d 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 5dc8f44bb0..d18304297a 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 5dc8f44bb0..d18304297a 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 aa0628e470..8e8d7b3aa4 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 c071fad066..6cc356f76b 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 6f84aebd47..26e8150a4f 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 2774e981d9..85f916835d 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 e523848eaf..b6d7811b17 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 d9bf8143f6..3acfdc9cbc 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: