Dual Z TMC configuration
Trying to get my dual Z motors both working with my TMC drivers. The cables are good and the drivers both have been tested. Z works but Z2 does not. Is there a way to get the Z2 to work with the TMC 2130? Here is the relevent config.h entries.
#define ENDSTOP_PULLUP_Z2_MINMAX false
#define ENDSTOP_Z2_MINMAX_INVERTING false
#define MINMAX_HARDWARE_ENDSTOP_Z2 false
#define Z2_MINMAX_PIN -1
#define INVERT_Z2_DIR 1
#define FEATURE_TWO_ZSTEPPER 1
#define Z2_STEP_PIN ORIG_E5_STEP_PIN
#define Z2_DIR_PIN ORIG_E5_DIR_PIN
#define Z2_ENABLE_PIN ORIG_E5_ENABLE_PIN
#define DRV_TMC2130
// Uncomment if you use the stall guard for homing. Only for cartesian printers and xy direction
// The drivers with set CS pin will be used, all others are normal step/dir/enable drivers
#define TMC2130_X_CS_PIN 4
#define TMC2130_Y_CS_PIN 5
#define TMC2130_Z_CS_PIN 6
#define TMC2130_Z2_CS_PIN 40
#define TMC2130_EXT0_CS_PIN -1
#define TMC2130_EXT1_CS_PIN -1
#define TMC2130_EXT2_CS_PIN -1
// Per-axis current setting in mA { X, Y, Z, Z2, E0, E1, E2}
#define MOTOR_CURRENT { 1500,1500,1000,1000,1000,1000,1000 }
Comments
I do not have a Z2, but am using the E1 as a second Z-stepper. Here is my configuration:
Under my E1 configuration I set the following:
I assume you want Z1 and Z2 to be synchronized. Try my definitions with changing EXT1 to EXT5.
Paul