I’ve been stumped for the past week trying to get my stepper motors to move after connecting new TMC5160 V1.3 to my new MKS Gen L V2.1 board. This is my first time trying to setup the TMC5160 so I have been trying to follow along videos online and any information I can find. After a week of figuring out I needed to redefine the pins to an open spot on the board I finally got the drivers to register as shown below.
M122 Output
READ: X Y Z
READ: Enabled false false false
READ: Set current 1000 1000 1500
READ: RMS current 990 990 1489
READ: MAX current 1396 1396 2099
READ: Run current 19/31 19/31 30/31
READ: Hold current 9/31 9/31 15/31
READ: Global scaler 133/256 133/256 129/256
READ: CS actual 9/31 9/31 15/31
READ: PWM scale 9 9 14
READ: vsense
READ: stealthChop true true true
READ: msteps 32 32 16
READ: interp true true true
READ: tstep max max max
READ: PWM thresh.
READ: [mm/s]
READ: OT prewarn false false false
READ: triggered
READ: OTP false false false
READ: off time 0 0 0
READ: blank time 24 24 24
READ: hysteresis
READ: -end 2 2 2
READ: -start 1 1 1
READ: Stallguard thrs 0 0 0
READ: uStep count 4 4 8
READ: DRVSTATUS X Y Z
READ: sg_result 0 0 0
READ: stallguard
READ: fsactive
READ: stst
READ: olb
READ: ola
READ: s2gb
READ: s2ga
READ: otpw
READ: ot
READ: Driver registers:
READ: X 0x80:09:40:00
READ: Y 0x80:09:40:00
READ: Z 0x80:0F:40:00
READ:
READ:
READ: Testing X connection… OK
READ: Testing Y connection… OK
READ: Testing Z connection… OK
I tried moving the axis through Simplify3D Machine Control Panel, but there’s no movement from the motors. I believe I have everything wired correctly and completely lost on what to do next. I tried the M17 enable stepper command which got a click out of the motors and a white LED light next to the USB cable to light up momentarily but that didn’t do anything else.
I thought it might be something with the pins so have attached the M43 output in case someone could spot something I’m doing wrong.
M43 Pins Output
READ: PIN: 0 Port: E0 RXD0 protected
READ: PIN: 1 Port: E1 TXD0 protected
READ: PIN: 2 Port: E4 E0_DIAG_PIN Input = 1 TIMER3B PWM: 0 WGM: 14 COM3B: 2 CS: 1 TCCR3A: 2 TCCR3B: 25 TIMSK3: 0
READ: PIN: 3 Port: E5 X_MIN_PIN protected
READ: . X_STOP_PIN protected
READ: . X_DIAG_PIN protected
READ: PIN: 4 Port: G5 <unused/unknown> Input = 0 TIMER0B PWM: 0 WGM: 3 COM0B: 3 CS: 3 TCCR0A: 3 TCCR0B: 3 TIMSK0: 3 overflow interrupt enabled
READ: PIN: 5 Port: E3 <unused/unknown> Input = 0 TIMER3A PWM: 0 WGM: 14 COM3A: 2 CS: 1 TCCR3A: 2 TCCR3B: 25 TIMSK3: 0
READ: PIN: 6 Port: H3 <unused/unknown> Input = 0 TIMER4A PWM: 0 WGM: 14 COM4A: 2 CS: 1 TCCR4A: 2 TCCR4B: 25 TIMSK4: 0
READ: PIN: 7 Port: H4 MOSFET_D_PIN Input = 0 TIMER4B PWM: 0 WGM: 14 COM4B: 2 CS: 1 TCCR4A: 2 TCCR4B: 25 TIMSK4: 0
READ: PIN: 8 Port: H5 HEATER_BED_PIN protected
READ: . MOSFET_C_PIN protected
READ: PIN: 9 Port: H6 FAN_PIN protected
READ: . MOSFET_B_PIN protected
READ: PIN: 10 Port: B4 HEATER_0_PIN protected
READ: . MOSFET_A_PIN protected
READ: PIN: 11 Port: B5 SERVO0_PIN Input = 0 TIMER1A PWM: 2000 WGM: 4 COM1A: 0 CS: 2 TCCR1A: 0 TCCR1B: 10 TIMSK1: 2 non-standard PWM mode compare interrupt enabled
READ: PIN: 12 Port: B6 E1_SERIAL_RX_PIN Input = 0 TIMER1B PWM: 0 WGM: 4 COM1B: 0 CS: 2 TCCR1A: 0 TCCR1B: 10 TIMSK1: 2 non-standard PWM mode
READ: PIN: 13 Port: B7 LED_PIN Input = 0 TIMER0A PWM: 128 WGM: 3 COM0A: 3 CS: 3 TCCR0A: 3 TCCR0B: 3 TIMSK0: 3 compare interrupt enabled overflow interrupt enabled
READ: . TIMER1C is also tied to this pin TIMER1C PWM: 0 WGM: 4 COM1C: 0 CS: 2 TCCR1A: 0 TCCR1B: 10 TIMSK1: 2 non-standard PWM mode
READ: PIN: 14 Port: J1 Y_MIN_PIN protected
READ: . Y_STOP_PIN protected
READ: . Y_DIAG_PIN protected
READ: PIN: 15 Port: J0 E1_DIAG_PIN Input = 1
READ: PIN: 16 Port: H1 EXP1_04_PIN Output = 1
READ: . DOGLCD_A0 Output = 1
READ: . LCD_PINS_RS Output = 1
READ: PIN: 17 Port: H0 EXP1_03_PIN Output = 1
READ: . DOGLCD_CS Output = 1
READ: . LCD_PINS_ENABLE Output = 1
READ: PIN: 18 Port: D3 Z_MIN_PIN protected
READ: . Z_STOP_PIN protected
READ: . Z_DIAG_PIN protected
READ: PIN: 19 Port: D2 <unused/unknown> Input = 1
READ: PIN: 20 Port: D1 E1_SERIAL_TX_PIN Input = 0
READ: PIN: 21 Port: D0 SERVO1_PIN Input = 0
READ: PIN: 22 Port: A0 <unused/unknown> Input = 0
READ: PIN: 23 Port: A1 EXP1_05_PIN Output = 1
READ: . LCD_PINS_D4 Output = 1
READ: . LCD_RESET_PIN Output = 1
READ: PIN: 24 Port: A2 E0_ENABLE_PIN protected
READ: PIN: 25 Port: A3 EXP1_06_PIN Output = 0
READ: . LCD_PINS_D5 Output = 0
READ: . NEOPIXEL_PIN Output = 0
READ: PIN: 26 Port: A4 E0_STEP_PIN protected
READ: PIN: 27 Port: A5 EXP1_07_PIN Input = 0
READ: . LCD_PINS_D6 Input = 0
READ: PIN: 28 Port: A6 E0_DIR_PIN protected
READ: PIN: 29 Port: A7 EXP1_08_PIN Input = 0
READ: . LCD_PINS_D7 Input = 0
READ: PIN: 30 Port: C7 E1_ENABLE_PIN protected
READ: PIN: 31 Port: C6 BTN_EN2 Input = 1
READ: . EXP2_03_PIN Input = 1
READ: PIN: 32 Port: C5 SERVO3_PIN Input = 0
READ: PIN: 33 Port: C4 BTN_EN1 Input = 1
READ: . EXP2_05_PIN Input = 1
READ: PIN: 34 Port: C3 E1_DIR_PIN protected
READ: PIN: 35 Port: C2 BTN_ENC Input = 1
READ: . EXP1_02_PIN Input = 1
READ: PIN: 36 Port: C1 E1_STEP_PIN protected
READ: PIN: 37 Port: C0 BEEPER_PIN Output = 0
READ: . EXP1_01_PIN Output = 0
READ: PIN: 38 Port: D7 X_ENABLE_PIN protected
READ: PIN: 39 Port: G2 SERVO2_PIN Input = 0
READ: PIN: 40 Port: G1 <unused/unknown> Input = 1
READ: PIN: 41 Port: G0 EXP2_08_PIN Input = 1
READ: . KILL_PIN Input = 1
READ: PIN: 42 Port: L7 <unused/unknown> Input = 1
READ: PIN: 43 Port: L6 TMC_SW_SCK Output = 1
READ: PIN: 44 Port: L5 <unused/unknown> Input = 0 TIMER5C PWM: 0 WGM: 14 COM5C: 0 CS: 1 TCCR5A: 2 TCCR5B: 25 TIMSK5: 0
READ: PIN: 45 Port: L4 TMC_SW_MOSI Output = 0 TIMER5B PWM: 0 WGM: 14 COM5B: 2 CS: 1 TCCR5A: 2 TCCR5B: 25 TIMSK5: 0
READ: PIN: 46 Port: L3 Z_STEP_PIN protected
READ: PIN: 47 Port: L2 TMC_SW_MISO Input = 1
READ: PIN: 48 Port: L1 Z_DIR_PIN protected
READ: PIN: 49 Port: L0 EXP2_07_PIN Input = 0
READ: . SD_DETECT_PIN Input = 0
READ: PIN: 50 Port: B3 AVR_MISO_PIN Input = 0
READ: . EXP2_01_PIN Input = 0
READ: . SD_MISO_PIN Input = 0
READ: PIN: 51 Port: B2 AVR_MOSI_PIN Output = 1
READ: . EXP2_06_PIN Output = 1
READ: . DOGLCD_MOSI Output = 1
READ: . SD_MOSI_PIN Output = 1
READ: PIN: 52 Port: B1 AVR_SCK_PIN Output = 0
READ: . EXP2_02_PIN Output = 0
READ: . DOGLCD_SCK Output = 0
READ: . SD_SCK_PIN Output = 0
READ: PIN: 53 Port: B0 AVR_SS_PIN Output = 1
READ: . EXP2_04_PIN Output = 1
READ: . SDSS Output = 1
READ: . SD_SS_PIN Output = 1
READ: PIN: 54 Port: F0 (A 0) X_STEP_PIN protected
READ: PIN: 55 Port: F1 (A 1) X_DIR_PIN protected
READ: PIN: 56 Port: F2 (A 2) Y_ENABLE_PIN protected
READ: PIN: 57 Port: F3 (A 3) <unused/unknown> Analog in = 445 Input = 0
READ: PIN: 58 Port: F4 (A 4) <unused/unknown> Analog in = 406 Input = 0
READ: PIN: 59 Port: F5 (A 5) FILWIDTH_PIN Analog in = 1023
READ: PIN: 60 Port: F6 (A 6) Y_STEP_PIN protected
READ: PIN: 61 Port: F7 (A 7) Y_DIR_PIN protected
READ: PIN: 62 Port: K0 (A 8) Z_ENABLE_PIN protected
READ: PIN: 63 Port: K1 (A 9) X_CS_PIN protected
READ: PIN: 64 Port: K2 (A10) Y_CS_PIN protected
READ: PIN: 65 Port: K3 (A11) Z_CS_PIN protected
READ: PIN: 66 Port: K4 (A12) TEMP_0_CS_PIN Input = 0
READ: PIN: 67 Port: K5 (A13) TEMP_0_PIN protected
READ: PIN: 68 Port: K6 (A14) TEMP_BED_PIN protected
READ: PIN: 69 Port: K7 (A15) TEMP_1_PIN Analog in = 1023
Also I have not done the CLK to GND wire that I have seen on some videos and guides yet. I’d like to rule everything else out first before making permanent changes to the drivers. Currently the pins on each driver that I redefined to the aux pins are bent out of the way instead of cutting them off.
Any help would be appreciated. The reason I’ve gone with the TMC5160 is my printer build has a really heavy build plate from a scrapped Printerbot printer and I have two Nema 23 2.8A motors for the Z (probably overkill) to lift the 13lb build plate.