Skip to main content

TMC 5160 Pro V1.5

Loading...

Overview​

The TMC 5160 Pro V1.5 is a high-performance stepper motor driver module that supports the SPI communication protocol, making it suitable for applications requiring precise motion control and high energy efficiency.

Technical Specifications​

ItemSpecification
Input Voltage24 - 48 V DC
Maximum Current6 A
Compatible FirmwareMarlin / Klipper / RRF
Driver ModeSPI
Maximum Microstepping256 microsteps
Key FeaturesstealthChop2 (silent operation), spreadCycle (high dynamic control), dcStep (load-dependent speed control), stallGuard2 (sensorless load detection), coolStep (energy-saving current control)

Hardware Installation and Configuration​

Motherboard Jumper Settings​

The TMC5160 Pro uses SPI jumper mode:

  • The SPI pin for FLY drivers is the 4th pin from the top left (CS pin)
  • If using other motherboards, please verify pin compatibility
Loading...

Module Pin Description​

Note

The motherboard driver power input is 12V-24V

Loading...

FPC Cable Connection​

Loading...

Cooling Fan Connection​

Loading...

Driver Power Supply Wiring​

Loading...

Firmware Configuration​

Important Notes
  • Sense resistor value: sense_resistor: 0.033 (Do not set incorrectly)
  • Choose either spi_bus or spi_software configuration, not both

SPI Mode Configuration Example​

[tmc5160 stepper_x]
cs_pin: # SPI chip select pin
spi_bus: # SPI bus (choose one between this and spi_software_*)
# spi_software_mosi_pin: # Software SPI data output
# spi_software_miso_pin: # Software SPI data input
# spi_software_sclk_pin: # Software SPI clock
run_current: 1.0 # Run current setting
interpolate: False # 256 microstep interpolation (True to enable/False to disable)
sense_resistor: 0.033 # Sense resistor value
stealthchop_threshold: 0 # Silent mode speed threshold
driver_DISS2G: 1
driver_DISS2VS: 1

Sensorless Homing Configuration​

Infinite Position Usage Tips
  • Using infinite position requires occupying one limit port. Under normal circumstances, the first drive position uses IO1, the second drive position uses IO2, and so on.
  • When using infinite position, please note: do not connect anything to the corresponding limit port.
  • Some FLY motherboards are directly connected to the drive port. Please check whether DIAG is directly connected to the corresponding pin.
Usage Instructions
  1. Hardware Preparation: A 4-pin FPC cable must be installed
  2. Configuration Changes:
    • Comment out or delete the original endstop_pin:
    • Add endstop_pin: tmc5160_stepper_x:virtual_endstop
  3. Status Confirmation: After configuration, the endstop status should show "not triggered"
  4. Sensitivity Adjustment: The driver_SGT: value needs to be adjusted based on actual conditions

Reference Configuration​

[stepper_x]
# endstop_pin: # Comment out or delete the original configuration
endstop_pin: tmc5160_stepper_x:virtual_endstop
homing_retract_dist: 0 # Set to 0 to avoid homing failure caused by retraction

[tmc5160 stepper_x]
diag0_pin: ^! # Internal pull-up resistor is usually required
driver_SGT: 1 # Sensitivity value (adjust based on actual conditions)
Configuration Recommendations
  • diag0_pin: typically uses the ^ prefix to enable the internal pull-up
  • Sensitivity is affected by belt tension, mechanical structure, and other factors; the optimal value must be determined through testing
  • The driver_SGT parameter can also be set to adjust the sensitivity threshold
Loading...