Bläddra i källkod

Toshiba Stepper Driver support

Tosh stepper drivers need to be driven slower, so the stepper code
was interleaved to separate the pin HIGH from the pin LOW. This adds
enough instructions to make it work, without needing nops.
Bo Herrmannsen 9 år sedan
förälder
incheckning
c429a4b3ec
1 ändrade filer med 4 tillägg och 2 borttagningar
  1. 4
    2
      Marlin/Configuration_adv.h

+ 4
- 2
Marlin/Configuration_adv.h Visa fil

219
 //#define QUICK_HOME  //if this is defined, if both x and y are to be homed, a diagonal move will be performed initially.
219
 //#define QUICK_HOME  //if this is defined, if both x and y are to be homed, a diagonal move will be performed initially.
220
 
220
 
221
 #define AXIS_RELATIVE_MODES {false, false, false, false}
221
 #define AXIS_RELATIVE_MODES {false, false, false, false}
222
-
222
+#ifdef CONFIG_STEPPERS_TOSHIBA
223
+#define MAX_STEP_FREQUENCY 10000 // Max step frequency for Toshiba Stepper Controllers
224
+#else
223
 #define MAX_STEP_FREQUENCY 40000 // Max step frequency for Ultimaker (5000 pps / half step)
225
 #define MAX_STEP_FREQUENCY 40000 // Max step frequency for Ultimaker (5000 pps / half step)
224
-
226
+#endif
225
 //By default pololu step drivers require an active high signal. However, some high power drivers require an active low signal as step.
227
 //By default pololu step drivers require an active high signal. However, some high power drivers require an active low signal as step.
226
 #define INVERT_X_STEP_PIN false
228
 #define INVERT_X_STEP_PIN false
227
 #define INVERT_Y_STEP_PIN false
229
 #define INVERT_Y_STEP_PIN false

Laddar…
Avbryt
Spara