TMC5160 + MKS Gen L V2.1 - Steppers Not Moving

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.

The default mode on the TMC5160 V1.3 is SPI bus. I don’t even see UART listed as with the older versions. Have you configured the MKS Gen L V2.1 for SPI? I see here the TMC2130 SPI mode is supported. So I would look at the config for TMC2130 support.

On the Configuration file I have the drivers set as so:

#define X_DRIVER_TYPE TMC5160
#define Y_DRIVER_TYPE TMC5160
#define Z_DRIVER_TYPE TMC5160
#define E0_DRIVER_TYPE DRV8825
#define E1_DRIVER_TYPE DRV8825

From the Configuration_Adv file I have this for the TMC settings.

Config_Adv

#if HAS_TRINAMIC_CONFIG || HAS_TMC26X

#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

/**

  • Interpolate microsteps to 256
  • Override for each driver with _INTERPOLATE settings below
    */
    #define INTERPOLATE true

#if AXIS_IS_TMC_CONFIG(X)
#define X_CURRENT 1000 // (mA) RMS current. Multiply by 1.414 for peak current.
#define X_CURRENT_HOME X_CURRENT // (mA) RMS current for sensorless homing
#define X_MICROSTEPS 32 // 0…256
#define X_RSENSE 0.075 // Multiplied x1000 for TMC26X
#define X_CHAIN_POS -1 // -1…0: Not chained. 1: MCU MOSI connected. 2: Next in chain, …
//#define X_INTERPOLATE true // Enable to override ‘INTERPOLATE’ for the X axis
//#define X_HOLD_MULTIPLIER 0.5 // Enable to override ‘HOLD_MULTIPLIER’ for the X axis
#endif

#if AXIS_IS_TMC_CONFIG(Y)
#define Y_CURRENT 1000
#define Y_CURRENT_HOME Y_CURRENT
#define Y_MICROSTEPS 32
#define Y_RSENSE 0.075
#define Y_CHAIN_POS -1
//#define Y_INTERPOLATE true
//#define Y_HOLD_MULTIPLIER 0.5
#endif

#if AXIS_IS_TMC_CONFIG(Z)
#define Z_CURRENT 1500
#define Z_CURRENT_HOME Z_CURRENT
#define Z_MICROSTEPS 16
#define Z_RSENSE 0.075
#define Z_CHAIN_POS -1
//#define Z_INTERPOLATE true
//#define Z_HOLD_MULTIPLIER 0.5
#endif

// @section tmc/spi

/**

  • Override default SPI pins for TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160 drivers here.
  • The default pins can be found in your board’s pins file.
    */
    //#define X_CS_PIN 47
    //#define Y_CS_PIN 43
    //#define Z_CS_PIN 45
    //#define X2_CS_PIN -1
    //#define Y2_CS_PIN -1
    //#define Z2_CS_PIN -1
    //#define Z3_CS_PIN -1
    //#define Z4_CS_PIN -1
    //#define I_CS_PIN -1
    //#define J_CS_PIN -1
    //#define K_CS_PIN -1
    //#define U_CS_PIN -1
    //#define V_CS_PIN -1
    //#define W_CS_PIN -1
    //#define E0_CS_PIN -1
    //#define E1_CS_PIN -1
    //#define E2_CS_PIN -1
    //#define E3_CS_PIN -1
    //#define E4_CS_PIN -1
    //#define E5_CS_PIN -1
    //#define E6_CS_PIN -1
    //#define E7_CS_PIN -1

/**

  • Software option for SPI driven drivers (TMC2130, TMC2160, TMC2660, TMC5130 and TMC5160).
  • The default SW SPI pins are defined the respective pins files,
  • but you can override or define them here.
    */
    #define TMC_USE_SW_SPI
    #define TMC_SW_MOSI 45
    #define TMC_SW_MISO 47
    #define TMC_SW_SCK 43

// @section tmc/serial

/**

  • Four TMC2209 drivers can use the same HW/SW serial port with hardware configured addresses.
  • Set the address using jumpers on pins MS1 and MS2.
  • Address | MS1 | MS2
  •   0 | LOW  | LOW
    
  •   1 | HIGH | LOW
    
  •   2 | LOW  | HIGH
    
  •   3 | HIGH | HIGH
    
  • Set *_SERIAL_TX_PIN and *_SERIAL_RX_PIN to match for all drivers
  • on the same serial port, either here or in your board’s pins file.
    */
    //#define X_SLAVE_ADDRESS 0
    //#define Y_SLAVE_ADDRESS 0
    //#define Z_SLAVE_ADDRESS 0
    //#define X2_SLAVE_ADDRESS 0
    //#define Y2_SLAVE_ADDRESS 0
    //#define Z2_SLAVE_ADDRESS 0
    //#define Z3_SLAVE_ADDRESS 0
    //#define Z4_SLAVE_ADDRESS 0
    //#define I_SLAVE_ADDRESS 0
    //#define J_SLAVE_ADDRESS 0
    //#define K_SLAVE_ADDRESS 0
    //#define U_SLAVE_ADDRESS 0
    //#define V_SLAVE_ADDRESS 0
    //#define W_SLAVE_ADDRESS 0
    //#define E0_SLAVE_ADDRESS 0
    //#define E1_SLAVE_ADDRESS 0
    //#define E2_SLAVE_ADDRESS 0
    //#define E3_SLAVE_ADDRESS 0
    //#define E4_SLAVE_ADDRESS 0
    //#define E5_SLAVE_ADDRESS 0
    //#define E6_SLAVE_ADDRESS 0
    //#define E7_SLAVE_ADDRESS 0

// @section tmc/smart

/**

  • Software enable
  • Use for drivers that do not use a dedicated enable pin, but rather handle the same
  • function through a communication line such as SPI or UART.
    */
    #define SOFTWARE_DRIVER_ENABLE

// @section tmc/stealthchop

/**

  • TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
  • Use Trinamic’s ultra quiet stepping mode.
  • When disabled, Marlin will use spreadCycle stepping mode.
    */
    #if HAS_STEALTHCHOP
    #define STEALTHCHOP_XY
    #define STEALTHCHOP_Z
    //#define STEALTHCHOP_I
    //#define STEALTHCHOP_J
    //#define STEALTHCHOP_K
    //#define STEALTHCHOP_U
    //#define STEALTHCHOP_V
    //#define STEALTHCHOP_W
    //#define STEALTHCHOP_E
    #endif

/**

  • Optimize spreadCycle chopper parameters by using predefined parameter sets
  • or with the help of an example included in the library.
  • Provided parameter sets are
  • CHOPPER_DEFAULT_12V
  • CHOPPER_DEFAULT_19V
  • CHOPPER_DEFAULT_24V
  • CHOPPER_DEFAULT_36V
  • CHOPPER_09STEP_24V // 0.9 degree steppers (24V)
  • CHOPPER_PRUSAMK3_24V // Imported parameters from the official Průša firmware for MK3 (24V)
  • CHOPPER_MARLIN_119 // Old defaults from Marlin v1.1.9
  • Define your own with:
  • { <off_time[1…15]>, <hysteresis_end[-3…12]>, hysteresis_start[1…8] }
    */
    #define CHOPPER_TIMING CHOPPER_DEFAULT_24V // All axes (override below)
    //#define CHOPPER_TIMING_X CHOPPER_TIMING // For X Axes (override below)
    //#define CHOPPER_TIMING_X2 CHOPPER_TIMING_X
    //#define CHOPPER_TIMING_Y CHOPPER_TIMING // For Y Axes (override below)
    //#define CHOPPER_TIMING_Y2 CHOPPER_TIMING_Y
    //#define CHOPPER_TIMING_Z CHOPPER_TIMING // For Z Axes (override below)
    //#define CHOPPER_TIMING_Z2 CHOPPER_TIMING_Z
    //#define CHOPPER_TIMING_Z3 CHOPPER_TIMING_Z
    //#define CHOPPER_TIMING_Z4 CHOPPER_TIMING_Z
    //#define CHOPPER_TIMING_I CHOPPER_TIMING // For I Axis
    //#define CHOPPER_TIMING_J CHOPPER_TIMING // For J Axis
    //#define CHOPPER_TIMING_K CHOPPER_TIMING // For K Axis
    //#define CHOPPER_TIMING_U CHOPPER_TIMING // For U Axis
    //#define CHOPPER_TIMING_V CHOPPER_TIMING // For V Axis
    //#define CHOPPER_TIMING_W CHOPPER_TIMING // For W Axis
    //#define CHOPPER_TIMING_E CHOPPER_TIMING // For Extruders (override below)
    //#define CHOPPER_TIMING_E1 CHOPPER_TIMING_E
    //#define CHOPPER_TIMING_E2 CHOPPER_TIMING_E
    //#define CHOPPER_TIMING_E3 CHOPPER_TIMING_E
    //#define CHOPPER_TIMING_E4 CHOPPER_TIMING_E
    //#define CHOPPER_TIMING_E5 CHOPPER_TIMING_E
    //#define CHOPPER_TIMING_E6 CHOPPER_TIMING_E
    //#define CHOPPER_TIMING_E7 CHOPPER_TIMING_E

// @section tmc/status

/**

  • Monitor Trinamic drivers
  • for error conditions like overtemperature and short to ground.
  • To manage over-temp Marlin can decrease the driver current until the error condition clears.
  • Other detected conditions can be used to stop the current print.
  • Relevant G-codes:
  • M906 - Set or get motor current in milliamps using axis codes X, Y, Z, E. Report values if no axis codes given.
  • M911 - Report stepper driver overtemperature pre-warn condition.
  • M912 - Clear stepper driver overtemperature pre-warn condition flag.
  • M122 - Report driver parameters (Requires TMC_DEBUG)
    */
    #define MONITOR_DRIVER_STATUS

#if ENABLED(MONITOR_DRIVER_STATUS)
#define CURRENT_STEP_DOWN 50 // [mA]
#define REPORT_CURRENT_CHANGE
#define STOP_ON_ERROR
#endif

// @section tmc/hybrid

/**

  • TMC2130, TMC2160, TMC2208, TMC2209, TMC5130 and TMC5160 only
  • The driver will switch to spreadCycle when stepper speed is over HYBRID_THRESHOLD.
  • This mode allows for faster movements at the expense of higher noise levels.
  • STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
  • M913 X/Y/Z/E to live tune the setting
    */
    //#define HYBRID_THRESHOLD

#define X_HYBRID_THRESHOLD 100 // [mm/s]
#define X2_HYBRID_THRESHOLD 100
#define Y_HYBRID_THRESHOLD 100
#define Y2_HYBRID_THRESHOLD 100
#define Z_HYBRID_THRESHOLD 3
#define Z2_HYBRID_THRESHOLD 3
#define Z3_HYBRID_THRESHOLD 3
#define Z4_HYBRID_THRESHOLD 3
#define I_HYBRID_THRESHOLD 3 // [linear=mm/s, rotational=°/s]
#define J_HYBRID_THRESHOLD 3 // [linear=mm/s, rotational=°/s]
#define K_HYBRID_THRESHOLD 3 // [linear=mm/s, rotational=°/s]
#define U_HYBRID_THRESHOLD 3 // [mm/s]
#define V_HYBRID_THRESHOLD 3
#define W_HYBRID_THRESHOLD 3
#define E0_HYBRID_THRESHOLD 30
#define E1_HYBRID_THRESHOLD 30
#define E2_HYBRID_THRESHOLD 30
#define E3_HYBRID_THRESHOLD 30
#define E4_HYBRID_THRESHOLD 30
#define E5_HYBRID_THRESHOLD 30
#define E6_HYBRID_THRESHOLD 30
#define E7_HYBRID_THRESHOLD 30

/**

  • Use StallGuard to home / probe X, Y, Z.
  • TMC2130, TMC2160, TMC2209, TMC2660, TMC5130, and TMC5160 only
  • Connect the stepper driver’s DIAG1 pin to the X/Y endstop pin.
  • X, Y, and Z homing will always be done in spreadCycle mode.
  • X/Y/Z_STALL_SENSITIVITY is the default stall threshold.
  • Use M914 X Y Z to set the stall threshold at runtime:
  • Sensitivity TMC2209 Others
  • HIGHEST 255 -64 (Too sensitive => False positive)
  • LOWEST 0 63 (Too insensitive => No trigger)
  • It is recommended to set HOMING_BUMP_MM to { 0, 0, 0 }.
  • SPI_ENDSTOPS *** Beta feature! *** TMC2130/TMC5160 Only ***
  • Poll the driver through SPI to determine load when homing.
  • Removes the need for a wire from DIAG1 to an endstop pin.
  • IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
  • homing and adds a guard period for endstop triggering.
  • Comment *_STALL_SENSITIVITY to disable sensorless homing for that axis.
  • @section tmc/stallguard
    */
    //#define SENSORLESS_HOMING // StallGuard capable drivers only

#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
// TMC2209: 0…255. TMC2130: -64…63
#define X_STALL_SENSITIVITY 8
#define X2_STALL_SENSITIVITY X_STALL_SENSITIVITY
#define Y_STALL_SENSITIVITY 8
#define Y2_STALL_SENSITIVITY Y_STALL_SENSITIVITY
//#define Z_STALL_SENSITIVITY 8
//#define Z2_STALL_SENSITIVITY Z_STALL_SENSITIVITY
//#define Z3_STALL_SENSITIVITY Z_STALL_SENSITIVITY
//#define Z4_STALL_SENSITIVITY Z_STALL_SENSITIVITY
//#define I_STALL_SENSITIVITY 8
//#define J_STALL_SENSITIVITY 8
//#define K_STALL_SENSITIVITY 8
//#define U_STALL_SENSITIVITY 8
//#define V_STALL_SENSITIVITY 8
//#define W_STALL_SENSITIVITY 8
//#define SPI_ENDSTOPS // TMC2130 only
//#define IMPROVE_HOMING_RELIABILITY
#endif

// @section tmc/config

/**

  • TMC Homing stepper phase.
  • Improve homing repeatability by homing to stepper coil’s nearest absolute
  • phase position. Trinamic drivers use a stepper phase table with 1024 values
  • spanning 4 full steps with 256 positions each (ergo, 1024 positions).
  • Full step positions (128, 384, 640, 896) have the highest holding torque.
  • Values from 0…1023, -1 to disable homing phase for that axis.
    */
    //#define TMC_HOME_PHASE { 896, 896, 896 }

/**

  • Beta feature!
  • Create a 50/50 square wave step pulse optimal for stepper drivers.
    */
    //#define SQUARE_WAVE_STEPPING

/**

  • Enable M122 debugging command for TMC stepper drivers.
  • M122 S0/1 will enable continuous reporting.
    */
    #define TMC_DEBUG

/**

  • You can set your own advanced settings by filling in predefined functions.
  • A list of available functions can be found on the library github page
  • Example:
  • #define TMC_ADV() { \
  • stepperX.diag0_otpw(1); \
  • stepperY.intpol(0); \
  • }
    */
    #define TMC_ADV() { }

#endif // HAS_TRINAMIC_CONFIG || HAS_TMC26X

TMCStepper is also added to the build.

Is there something else I would need to set in the files to configure for TMC support?

I see you’re driving a mixed bus of drivers (TMC5160 & DRV8825). Other than pulling all the drivers except say the X_Driver. Changing the config and see if you can get one stepper to respond. If you do add another, and so on.

I updated the firmware to set each driver to TMC5160. I removed the drivers so only the X was installed and started it up. X registered correctly and the others showed as high. I tried to jog the X axis but still got no movement.

Could I somehow have it wired wrong but still register as OK?