Problemi tmc2100 asse Z con m5 August 30, 2020 03:50AM |
Registered: 9 years ago Posts: 16 |
Re: Problemi tmc2100 asse Z con m5 August 30, 2020 06:01AM |
Registered: 7 years ago Posts: 1,059 |
/*************************************************************************************** ******************************** Minimum stepper pulse ******************************** *************************************************************************************** * * * Minimum stepper driver pulse width (in µs) * * 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers * * 1 : Minimum for A4988, A5984, and LV8729 stepper drivers * * 2 : Minimum for DRV8825 stepper drivers * * 3 : Minimum for TB6600 stepper drivers * * 30 : Minimum for TB6560 stepper drivers * * * ***************************************************************************************/ #define MINIMUM_STEPPER_PULSE 0UL /***************************************************************************************/ /*************************************************************************************** ********************************* Maximum stepper rate ******************************** *************************************************************************************** * * * The maximum stepping rate (in Hz) the motor stepper driver allows * * If non defined, it defaults to 1000000 / (2 * MINIMUM STEPPER PULSE) * * 500000 : Maximum for A4988 stepper driver * * 400000 : Maximum for TMC2xxx stepper driver * * 250000 : Maximum for DRV8825 stepper driver * * 150000 : Maximum for TB6600 stepper driver * * 130000 : Maximum for LV8729 stepper driver * * 15000 : Maximum for TB6560 stepper driver * * * ***************************************************************************************/ #define MAXIMUM_STEPPER_RATE 500000 /***************************************************************************************/ /*********************************************************************** ********************** Direction Stepper Delay ************************ *********************************************************************** * * * Minimum delay after setting the stepper DIR (in ns) * * 0 : No delay at all - But, at least 10uS are expected * * 50 : Minimum for TMC2xxx drivers * * 200 : Minimum for A4988 drivers * * 400 : Minimum for A5984 drivers * * 500 : Minimum for LV8729 drivers (guess, no info in datasheet) * * 650 : Minimum for DRV8825 drivers * * 1500 : Minimum for TB6600 drivers (guess, no info in datasheet) * * 15000 : Minimum for TB6560 drivers (guess, no info in datasheet) * * * ***********************************************************************/ #define DIRECTION_STEPPER_DELAY 0 /***********************************************************************/
Re: Problemi tmc2100 asse Z con m5 August 30, 2020 06:37AM |
Registered: 9 years ago Posts: 16 |
Re: Problemi tmc2100 asse Z con m5 August 30, 2020 06:43AM |
Registered: 7 years ago Posts: 1,059 |
Re: Problemi tmc2100 asse Z con m5 August 30, 2020 12:37PM |
Registered: 9 years ago Posts: 16 |
/** * Minimum delay before and after setting the stepper DIR (in ns) * 0 : No delay (Expect at least 10µS since one Stepper ISR must transpire) * 20 : Minimum for TMC2xxx drivers * 200 : Minimum for A4988 drivers * 400 : Minimum for A5984 drivers * 500 : Minimum for LV8729 drivers (guess, no info in datasheet) * 650 : Minimum for DRV8825 drivers * 1500 : Minimum for TB6600 drivers (guess, no info in datasheet) * 15000 : Minimum for TB6560 drivers (guess, no info in datasheet) * * Override the default value based on the driver type set in Configuration.h. */ //#define MINIMUM_STEPPER_POST_DIR_DELAY 650 //#define MINIMUM_STEPPER_PRE_DIR_DELAY 650 /** * Minimum stepper driver pulse width (in µs) * 0 : Smallest possible width the MCU can produce, compatible with TMC2xxx drivers * 0 : Minimum 500ns for LV8729, adjusted in stepper.h * 1 : Minimum for A4988 and A5984 stepper drivers * 2 : Minimum for DRV8825 stepper drivers * 3 : Minimum for TB6600 stepper drivers * 30 : Minimum for TB6560 stepper drivers * * Override the default value based on the driver type set in Configuration.h. */ //#define MINIMUM_STEPPER_PULSE 2 /** * Maximum stepping rate (in Hz) the stepper driver allows * If undefined, defaults to 1MHz / (2 * MINIMUM_STEPPER_PULSE) * 5000000 : Maximum for TMC2xxx stepper drivers * 1000000 : Maximum for LV8729 stepper driver * 500000 : Maximum for A4988 stepper driver * 250000 : Maximum for DRV8825 stepper driver * 150000 : Maximum for TB6600 stepper driver * 15000 : Maximum for TB6560 stepper driver * * Override the default value based on the driver type set in Configuration.h. */ //#define MAXIMUM_STEPPER_RATE 250000
Re: Problemi tmc2100 asse Z con m5 September 01, 2020 05:39AM |
Registered: 7 years ago Posts: 1,059 |
Re: Problemi tmc2100 asse Z con m5 September 01, 2020 11:07AM |
Registered: 9 years ago Posts: 16 |
Quote
onekk
Non conosco i sorgenti di Marlin, quelli di 2.0 sono abbatanza "contorti", e non poteva essere altrimenti dato la miriade di opzioni, va visto bene quali valori sono impostati di default, al massimo gioca con i valori di override e vedi se cambia qualcosa.
Re: Problemi tmc2100 asse Z con m5 September 02, 2020 09:30AM |
Registered: 7 years ago Posts: 1,059 |