Skip to main content

TMC 5160

Basic Parameters

  • Input Voltage : 12V-24V
  • Max Current : 4.4A
  • Suitable for : Marlin/Klipper/RRF firmware
  • Driver mode support: TMC: SPI
  • Stepper/Direction interface with microPlyer microstepping interpolation
  • Maximum resolution of 256 subdivisions
  • Supports stealthChop2 silent operation and smooth movement
  • Supports resonance suppression at medium frequency
  • Supports spreadCycle high dynamic motor control chopper
  • Supports dcStep load-related speed control
  • Supports stallGuard2 high-precision sensorless motor load detection
  • Supports coolStep current control, up to 75% energy saving

Mainboard Jumper Explanation

  • TMC5160 uses SPI jumper
  • The SPI pins for FLY drive are the fourth pin from the left downwards, and the CS pin is the SPI pin. If the mainboard does not correspond to the pin position, it cannot use SPI

TMC5160 Reference Configuration

dangerous
  • The driver sampling resistor is sense_resistor: 0.075, please do not set it incorrectly
  • Only one of spi_bus and spi_software can be selected

SPI Mode Reference Configuration

[tmc5160 stepper_x]
cs_pin:
spi_bus:
# spi_software_mosi_pin:
# spi_software_miso_pin:
# spi_software_sclk_pin:
run_current: 1.0 # Motor running current value
interpolate: False # Whether to enable 256 microstepping interpolation (enable is True, disable is False)
sense_resistor: 0.075
stealthchop_threshold: 0
driver_DISS2G: 1
driver_DISS2VS: 1

Infinite Position Usage Instructions

Infinite Position Usage Tips
  • Infinite position usage requires occupying a limit port; normally, the first drive position uses IO1, the second drive position uses IO2, and so on.
  • When using infinite positions, please ensure not to connect anything to the corresponding limit port.
  • For some FLY mainboards that are directly connected to the drive port, please check if DIAG is directly connected to the corresponding pin.
Infinite Position Usage Tip
  • This driver requires manual soldering of the DIAG pin, otherwise the infinite position function cannot be used
  • The original endstop_pin: needs to be masked or deleted, and then add endstop_pin: tmc5160_stepper_x:virtual_endstop
  • After configuring diag1_pin:, the limit switch status is not triggered
  • Configuring driver_SGT: : requires self-testing to find a suitable value
  • Reference configuration
[stepper_x]
# endstop_pin:
endstop_pin: tmc5160_stepper_x:virtual_endstop
homing_retract_dist: 0 # Do not change to 0 may cause homing failure

[tmc5160 stepper_x]
diag1_pin: ^!
driver_SGT: 1

# After configuration, ensure that the limit switch status is not triggered
# This pin usually uses the "^" prefix to enable internal pull-up
# Sensitivity is related to belt tightness and needs to be adjusted by yourself
# (ensure that driver_SGTHRS is set to a suitable sensitivity)

Loading...
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -