TP 5160
Loading...
TMC-5160
- Input voltage: 12V-48V
- Maximum current: 4.4A
- Applicable for: Marlin/Klipper/RRF firmware
- Drive mode support: TMC:SPI
- Step/direction interface with microstep interpolation microPlyer
- Maximum resolution of 256 microsteps
- Supports stealthChop2 for silent operation and smooth motion
- Supports resonance suppression for mid-frequency resonance
- Supports spreadCycle high-dynamic motor control chopper
- Supports dcStep load-dependent speed control
- Supports stallGuard2 high-precision sensorless motor load detection
- Supports coolStep current control, saving up to 75% energy
TP5160 Reference Configuration
Danger
- The drive sense resistor is
sense_resistor: 0.075, do not set it incorrectly - Only one of spi_bus or spi_software can be used
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 run current value
interpolate: False # Whether to enable 256 microstep interpolation (True to enable, False to disable)
sense_resistor: 0.075
stealthchop_threshold: 0
driver_DISS2G: 1
driver_DISS2VS: 1
Limitless Usage Instructions
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.
Tips for limitless usage
- To use the limitless function of TP5160, you need to connect the DIAG jumper on the motherboard
- The original
endstop_pin:needs to be commented out or deleted, then addendstop_pin: tmc5160_stepper_x:virtual_endstop - After configuring
diag1_pin:, the limit switch status will show as not triggered - The
driver_SGT:value needs to be tested to find a suitable one
- Reference Configuration
[stepper_x]
# endstop_pin:
endstop_pin: tmc5160_stepper_x:virtual_endstop
homing_retract_dist: 0 # Setting retraction to non-zero may cause homing failure
[tmc5160 stepper_x]
diag1_pin: ^!
driver_SGT: 1
# After configuration, ensure the limit switch status is not triggered
# This pin usually uses the "^" prefix to enable an internal pull-up
# Sensitivity is related to belt tension and needs to be adjusted
# (Ensure driver_SGTHRS is set to an appropriate sensitivity simultaneously)
Loading...