diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 8c926e5ae88da73dc111b8fc6741def6bf894fb8..e0f419ad4a41608850980dcc0a77a55498fc050b 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 1282cb6b1025ea7958c782b868db975ed7edde7e..1d33ce7a07cfd012f47f9a6d0d5024d1bb33854d 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 906d4bc6847765823029255089419dc530d55ff8..6a645ce4d84670502846a5d1cbf32c15ecdc0b63 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 605b8021fbb7df801c61121f14db2ef538fe6e0f..5a59d354ec76a98f697093cc7cddee449ef041e0 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 605b8021fbb7df801c61121f14db2ef538fe6e0f..5a59d354ec76a98f697093cc7cddee449ef041e0 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 127bf2ffac595a323bbaed72832d380e3aacece0..b5cc0134ab0d2b12cc5dd8c6533c89ace179c89c 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 97a20d8ecfd35846f41a0ba3320cb2464a639125..740cda6a331ef50f020713ffe1ab065004480d01 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 21c80ff05394ffe3b4ea8675b93ee67acff05fa6..3415a94d3d70eb10c50caafe06d6b32170959ff1 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 d91a09291bdaffd8e0efd5a9625ad66e612c53de..3496e1ad584a352f4fe11f6b97850218b51fd03d 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 0e6a9d24586af08acff30f4313fd6d61b9ec3ca8..d7db91455937f9f066bba9922974e30c4e9817ca 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 3c03260d3ac585743fa389b4454fa7fe254dbdf3..bf832e5a8e2d9beb26aa199e0fb2bd50f2371ac9 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 0c934e265ca6373327c6453ea4a3746c8b003ea5..6be41ec3adcd6c811644299aef8c607dde41d278 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 3c03260d3ac585743fa389b4454fa7fe254dbdf3..bf832e5a8e2d9beb26aa199e0fb2bd50f2371ac9 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 99ccacbd238eb91f4d908df4e30cfbc485ec4e6e..efe803d18ea44be7652ae0ce236d66769b5795e4 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 74b539e53783a2cad0331ede99bf0d3ca143d52c..2376abdf612fed9575709632fd56fa2fc77667c3 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 1fa49dfea1eaf9279e7db42596b2128a96902ba3..7042b8638b16c316bb46248c94ad3456a8acafc9 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 e408ac17dd1cbafc890f5e1ff9ac4e5fe55f53b0..ef8ec2f8b0c8261e73188b5e4a236d7075f29399 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 7a659fb5814e87d71443a5ab67e5014f253b25c8..06731bbafead5b3152ab7482cc2872504a3b36e5 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 a48415953d1f4938a4d2dbc320b59d030b977fcd..d737ba538a5a42888479cb9c6e2b0d75634d51e7 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 e45104e2a92eed6ba8dd4944cd4f66489e6f2778..56089712ce66d099b594767833a5421b5e34a316 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 87bad6a8553ac5f4a6fd55daf555f15699aa2c17..aff2c0a1d5773ce7b03238e8b7426ce5411794ea 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 989153ed3b938729cb2867e29afc960c64696198..3017436bdefe9576fa0ee96099556d4a0f96b197 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 895d76af3d5d387fa9f9d99c446047d2cd4e19b7..3ab4dbaf1511b08567af1b384445d24114a77264 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 18edf294a6f2f27954ffa4895ac3c79ad0deb671..beeb79a89001ecf43d08e74dc9ec2221e64bdde4 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 486e1a59a06779d2e4d3468faffb862f01daf387..6dc45d0b913f93b90f060fee67c49d52b6d555f1 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 3fdc0a4a99facb58d15d2612c0c2c192001e4367..1856c14c7b5e866a10944ee64b2f8f4a4fd3fbd7 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 cb079dd8a5b4575df38233f7eeb582dfe032f988..7e285aa2b054c504fd0f159ac59e0c4aa955a292 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 622da7ce1ea08a4afa9c5a0d1e5058be4e93ac94..f7a0e4c9bce88219750e878cc99484ec47c25d75 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 204c84fc32b89fdf1faa01a7e186a0f934a9ba7b..9160f8f9bdecd7a12545ba73d54cf87f37dc7212 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 204c84fc32b89fdf1faa01a7e186a0f934a9ba7b..9160f8f9bdecd7a12545ba73d54cf87f37dc7212 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 0bc9c4ec2223f71da6046d9e7bae807df5544fee..e80e313ffdf249911c6653331b4fb4c24662b30c 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 4b22180dcee48a059c13632233bbefae12d2a077..d8ff9c1244a240dc7131568e1bcca739761042c1 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 b8161b28262e11f8aea20c556d9a92259fea6073..8132279bb20fe72f7aca30691d235c305ce7ae23 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 2d625c2d6cdf6e5a13c3fbd079059fcde5cf331d..3283e7e486e33cfdafb53aa30b1955f138e34d5f 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 51b1786d0136c02bcafae3d12b5afa07fec2e0c3..4e67ed124faf820047012bec109262d51c2d2023 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 a9cb575f564c8c65f4516d24ddaff60ff5d203ed..dec37290d9e052cfc88bab9153a88a8bc0c0d97e 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 ca5562e682f4068f95102a2ecfe383156f0d307f..a2859e4d2257a514115e08cecd4f5e99c4813044 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 f9491f3aaf2b0bf874e2a47872552661dabe7b09..b13e4d5f5814055347f4246c5ff681c9f1ca896f 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 d6fea7efdf8ccbbeea45e7941f3400b866e5bc07..533a03255810ddba70c1011b75ee3efcb0c188de 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 c26e644dd84b67e29682e8a6b57f881f3516aab0..b3a18db96853ccc5ec8f979c8660a38ae3fd68fd 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 9be10e846f4239ef29d246927a721ddf2f1e21bb..cffee73c3100dc14323261047df376091297dc1f 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 96e7ec8ba39df1c2e240413dde48e76066c2f8ed..9cc0a0883722751dfd79fef94bd1d57e84f6afb8 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 e7d74011b158bd33d6cd6d825d3ce600184a1da1..33bcfb72890f35e1a712315e72af3d52a33ca752 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 eaf8dbdc79e8d1c925b384a71e3c548b2b0a633d..4b8e4db8f2b0cbd65214b56ef56f4ada60c7d0eb 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 51b11234c2edde73e7e13c0c71d8d5242bb9cf7a..e05b446eb910a25ea1d3b89a50a282220ecc1e5e 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 dc6c928369bc7eb0a2f606972b90fb442f8e9325..3d212e3e0dfaa18b2788f8e084a5e3a10309f13c 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 d1134eb22b5d75b71635469b7ab062f0a5b4abdd..9543562296c4c331845dccb247ba9193c5a90cbf 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 fc73aa165a2555685807e11825af14c112f41b29..3338b1ccb1b2466763be50efa314a211a8a2a40d 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 8c6a775706d441eee2bb55ed83ead3d05de5542e..9bf661bf136ca9fce27fa34248b3278abee5bb27 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 e6173d8ca25a09a5fe467e02a75bd3b1ab93836c..6595ac6dd54b6deb881bb7146123f308add830a3 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 e6173d8ca25a09a5fe467e02a75bd3b1ab93836c..6595ac6dd54b6deb881bb7146123f308add830a3 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 5dc8f44bb070e86e8b6a55079a7045b28256d14a..d18304297ac880d49a44659b4325d349d18870c7 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 492af30f921c4e394c0d80d56b12e883c5b301d1..4131c91115501abb65d60843b0117bacfcf38c10 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 8bdd58de4f3286791e434b747c501a123a0e246b..dfcc0e75065e21a12bddad45b6787f0bda3c61e9 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 f0282d0150d07f04169e3bf12951d60f938e0cc2..b6bef1765d743e56b4921020539cd6bf1168a3fc 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 5dc8f44bb070e86e8b6a55079a7045b28256d14a..d18304297ac880d49a44659b4325d349d18870c7 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 5dc8f44bb070e86e8b6a55079a7045b28256d14a..d18304297ac880d49a44659b4325d349d18870c7 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 aa0628e47087c305ab7332cb5bb8ced30d71f169..8e8d7b3aa407162face5df118c24512800ad037d 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 c071fad0668b27895de4ae727af26598b83fefea..6cc356f76b1e76732ab57396427d8e68a0c5d573 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 6f84aebd4795344b22295b724372fa3e71717b47..26e8150a4f4db8ed53cbb79c2658d4312038f4eb 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 2774e981d91c200cb4c69010e23f046a92338eab..85f916835d4baec27065a9deeaa6d5810509505f 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 e523848eaf2585a03d2e8b1ff7a616030b03a36a..b6d7811b170f0a1e58b05a6928161da51c897a26 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 + * { <off_time[1..15]>, <hysteresis_end[-3..12]>, 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 d9bf8143f69c7c910fdbe5615744aa089f97833a..3acfdc9cbce8d5eaa8cec0758a85e0830aa81c0a 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<char AXIS_LETTER, char DRIVER_ID> class TMCStorage { protected: