Browse Source

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 10 years ago
parent
commit
c429a4b3ec
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      Marlin/Configuration_adv.h

+ 4
- 2
Marlin/Configuration_adv.h View File

@@ -219,9 +219,11 @@
219 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 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 225
 #define MAX_STEP_FREQUENCY 40000 // Max step frequency for Ultimaker (5000 pps / half step)
224
-
226
+#endif
225 227
 //By default pololu step drivers require an active high signal. However, some high power drivers require an active low signal as step.
226 228
 #define INVERT_X_STEP_PIN false
227 229
 #define INVERT_Y_STEP_PIN false

Loading…
Cancel
Save