Skip to main content

TP 2240

TMC-2240

  • Input voltage : 12V-36V
  • Suitable for : Klipper/RRF firmware
  • Driver mode support: TMC: SPI
  • Integrated temperature detection
  • Full protection and diagnostics for general analog inputs
  • Fully integrated lossless current sensing (ICS)
  • Stepper/Direction interface with microstep interpolation microPlyer
  • Short circuit protection, undervoltage lockout, chip overtemperature protection (thermal shutdown)
  • Supports stallGuard2 high-precision sensorless motor load detection
  • Integrated StallGuard2 and StallGuard4 sensorless motor load detection
  • StealthChop and SpreadCycle without jitter combination, solving the motor vibration problem at chopper switching speed points.
  • Higher power, lower heat generation. (Supports higher voltage, 3.0AMAX, suitable for higher-end 3D printing applications, and less heat generation and damage during longer working hours.)

TP2240 Reference Configuration

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

SPI Mode Reference Configuration

[tmc2240 stepper_x]
cs_pin:
spi_bus:
# spi_software_mosi_pin:
# spi_software_miso_pin:
# spi_software_sclk_pin:
run_current: 0.65 # Motor running current value
interpolate: False # Whether to enable 256 microstep interpolation (not recommended to enable)
rref: 12300
stealthchop_threshold: 0 # Silence threshold (if silence is not needed, change the value to 0)

Infinite Limit 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 limit usage tips
  • To use the infinite limit with TP2240, the motherboard's DIAG jumper must be connected
  • The original endstop_pin: needs to be disabled or deleted, and add endstop_pin: tmc2240_stepper_x:virtual_endstop
  • After configuring diag1_pin:, the limit status is not triggered
  • Configuring driver_SGT: : requires self-testing for an appropriate value
  • Reference configuration
[stepper_x]
# endstop_pin:PF3
endstop_pin: tmc2240_stepper_x:virtual_endstop
homing_retract_dist: 0 # Do not change to 0, which may cause homing failure

[tmc2240 stepper_x]
diag1_pin: ^!
driver_SGT: 1

# After configuration, ensure that the limit 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 -