|
@@ -2245,7 +2245,7 @@
|
2245
|
2245
|
#define X_STALLCURRENT 1500 // (mA) Current where the driver detects a stall (VALID: 31.25 * (1-128) - 4A max - rounds down)
|
2246
|
2246
|
// On L6474 STALLCURRENT setting is used to set the nominal (TVAL) current
|
2247
|
2247
|
#define X_MAX_VOLTAGE 127 // 0-255, Maximum effective voltage seen by stepper - not used by L6474
|
2248
|
|
- #define X_CHAIN_POS 0 // Position in SPI chain, 0=Not in chain, 1=Nearest MOSI
|
|
2248
|
+ #define X_CHAIN_POS -1 // Position in SPI chain, 0=Not in chain, 1=Nearest MOSI
|
2249
|
2249
|
#define X_SLEW_RATE 1 // 0-3, Slew 0 is slowest, 3 is fastest
|
2250
|
2250
|
#endif
|
2251
|
2251
|
|
|
@@ -2254,7 +2254,7 @@
|
2254
|
2254
|
#define X2_OVERCURRENT 2000
|
2255
|
2255
|
#define X2_STALLCURRENT 1500
|
2256
|
2256
|
#define X2_MAX_VOLTAGE 127
|
2257
|
|
- #define X2_CHAIN_POS 0
|
|
2257
|
+ #define X2_CHAIN_POS -1
|
2258
|
2258
|
#define X2_SLEW_RATE 1
|
2259
|
2259
|
#endif
|
2260
|
2260
|
|
|
@@ -2263,7 +2263,7 @@
|
2263
|
2263
|
#define Y_OVERCURRENT 2000
|
2264
|
2264
|
#define Y_STALLCURRENT 1500
|
2265
|
2265
|
#define Y_MAX_VOLTAGE 127
|
2266
|
|
- #define Y_CHAIN_POS 0
|
|
2266
|
+ #define Y_CHAIN_POS -1
|
2267
|
2267
|
#define Y_SLEW_RATE 1
|
2268
|
2268
|
#endif
|
2269
|
2269
|
|
|
@@ -2272,7 +2272,7 @@
|
2272
|
2272
|
#define Y2_OVERCURRENT 2000
|
2273
|
2273
|
#define Y2_STALLCURRENT 1500
|
2274
|
2274
|
#define Y2_MAX_VOLTAGE 127
|
2275
|
|
- #define Y2_CHAIN_POS 0
|
|
2275
|
+ #define Y2_CHAIN_POS -1
|
2276
|
2276
|
#define Y2_SLEW_RATE 1
|
2277
|
2277
|
#endif
|
2278
|
2278
|
|
|
@@ -2281,7 +2281,7 @@
|
2281
|
2281
|
#define Z_OVERCURRENT 2000
|
2282
|
2282
|
#define Z_STALLCURRENT 1500
|
2283
|
2283
|
#define Z_MAX_VOLTAGE 127
|
2284
|
|
- #define Z_CHAIN_POS 0
|
|
2284
|
+ #define Z_CHAIN_POS -1
|
2285
|
2285
|
#define Z_SLEW_RATE 1
|
2286
|
2286
|
#endif
|
2287
|
2287
|
|
|
@@ -2290,7 +2290,7 @@
|
2290
|
2290
|
#define Z2_OVERCURRENT 2000
|
2291
|
2291
|
#define Z2_STALLCURRENT 1500
|
2292
|
2292
|
#define Z2_MAX_VOLTAGE 127
|
2293
|
|
- #define Z2_CHAIN_POS 0
|
|
2293
|
+ #define Z2_CHAIN_POS -1
|
2294
|
2294
|
#define Z2_SLEW_RATE 1
|
2295
|
2295
|
#endif
|
2296
|
2296
|
|
|
@@ -2299,7 +2299,7 @@
|
2299
|
2299
|
#define Z3_OVERCURRENT 2000
|
2300
|
2300
|
#define Z3_STALLCURRENT 1500
|
2301
|
2301
|
#define Z3_MAX_VOLTAGE 127
|
2302
|
|
- #define Z3_CHAIN_POS 0
|
|
2302
|
+ #define Z3_CHAIN_POS -1
|
2303
|
2303
|
#define Z3_SLEW_RATE 1
|
2304
|
2304
|
#endif
|
2305
|
2305
|
|
|
@@ -2308,7 +2308,7 @@
|
2308
|
2308
|
#define E0_OVERCURRENT 2000
|
2309
|
2309
|
#define E0_STALLCURRENT 1500
|
2310
|
2310
|
#define E0_MAX_VOLTAGE 127
|
2311
|
|
- #define E0_CHAIN_POS 0
|
|
2311
|
+ #define E0_CHAIN_POS -1
|
2312
|
2312
|
#define E0_SLEW_RATE 1
|
2313
|
2313
|
#endif
|
2314
|
2314
|
|
|
@@ -2317,7 +2317,7 @@
|
2317
|
2317
|
#define E1_OVERCURRENT 2000
|
2318
|
2318
|
#define E1_STALLCURRENT 1500
|
2319
|
2319
|
#define E1_MAX_VOLTAGE 127
|
2320
|
|
- #define E1_CHAIN_POS 0
|
|
2320
|
+ #define E1_CHAIN_POS -1
|
2321
|
2321
|
#define E1_SLEW_RATE 1
|
2322
|
2322
|
#endif
|
2323
|
2323
|
|
|
@@ -2326,7 +2326,7 @@
|
2326
|
2326
|
#define E2_OVERCURRENT 2000
|
2327
|
2327
|
#define E2_STALLCURRENT 1500
|
2328
|
2328
|
#define E2_MAX_VOLTAGE 127
|
2329
|
|
- #define E2_CHAIN_POS 0
|
|
2329
|
+ #define E2_CHAIN_POS -1
|
2330
|
2330
|
#define E2_SLEW_RATE 1
|
2331
|
2331
|
#endif
|
2332
|
2332
|
|
|
@@ -2335,7 +2335,7 @@
|
2335
|
2335
|
#define E3_OVERCURRENT 2000
|
2336
|
2336
|
#define E3_STALLCURRENT 1500
|
2337
|
2337
|
#define E3_MAX_VOLTAGE 127
|
2338
|
|
- #define E3_CHAIN_POS 0
|
|
2338
|
+ #define E3_CHAIN_POS -1
|
2339
|
2339
|
#define E3_SLEW_RATE 1
|
2340
|
2340
|
#endif
|
2341
|
2341
|
|
|
@@ -2344,7 +2344,7 @@
|
2344
|
2344
|
#define E4_OVERCURRENT 2000
|
2345
|
2345
|
#define E4_STALLCURRENT 1500
|
2346
|
2346
|
#define E4_MAX_VOLTAGE 127
|
2347
|
|
- #define E4_CHAIN_POS 0
|
|
2347
|
+ #define E4_CHAIN_POS -1
|
2348
|
2348
|
#define E4_SLEW_RATE 1
|
2349
|
2349
|
#endif
|
2350
|
2350
|
|
|
@@ -2353,7 +2353,7 @@
|
2353
|
2353
|
#define E5_OVERCURRENT 2000
|
2354
|
2354
|
#define E5_STALLCURRENT 1500
|
2355
|
2355
|
#define E5_MAX_VOLTAGE 127
|
2356
|
|
- #define E5_CHAIN_POS 0
|
|
2356
|
+ #define E5_CHAIN_POS -1
|
2357
|
2357
|
#define E5_SLEW_RATE 1
|
2358
|
2358
|
#endif
|
2359
|
2359
|
|