driver DM542Y - Configurare Marlin September 14, 2020 09:40AM |
Registered: 3 years ago Posts: 3 |
Re: driver DM542Y - Configurare Marlin September 14, 2020 10:04AM |
Admin Registered: 13 years ago Posts: 7,102 |
/** * 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: driver DM542Y - Configurare Marlin September 15, 2020 02:55AM |
Admin Registered: 11 years ago Posts: 3,096 |
Quote
Dust
You have made life really difficult for yourself by getting a stepper driver that is not supported.
Leave #define E0_DRIVER_TYPE commented out.
You need to set timing manually, you need to extract the data from the stepper drivers datasheet.
In Configuration_adv.h find the following and set to your drivers requirements.
/** * 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: driver DM542Y - Configurare Marlin September 17, 2020 04:32AM |
Registered: 3 years ago Posts: 3 |
Re: driver DM542Y - Configurare Marlin September 17, 2020 04:32AM |
Registered: 3 years ago Posts: 3 |