TP 2240
Loading...
TMC-2240
- Input Voltage: 12V-36V
- Applicable to: Klipper/RRF firmware
- Driver Mode Support: TMC:SPI
- Integrated temperature detection
- Universal analog input full protection and diagnostics
- Fully integrated lossless current sensing (ICS)
- Step/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
- Jitter-free combination of StealthChop and SpreadCycle, solving motor jitter at chopper switching speed points.
- Higher power, lower heat generation. (Supports higher voltage, 3.0A MAX, suitable for higher-end 3D printing work, and operates for longer periods without excessive heating or damage.)
TP2240 Reference Configuration
Danger
- The driver sense 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)
rref: 12300
stealthchop_threshold: 0 # Quiet threshold (if quiet mode is not needed, set the value to 0)
Instructions for Using Endstop-Free Mode
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.
Endstop-Free Usage Tips
- To use TP2240 without endstops, connect the DIAG jumper on the mainboard.
- The original
endstop_pin:needs to be commented out or deleted, then addendstop_pin: tmc2240_stepper_x:virtual_endstop - After configuring
diag1_pin:, refreshing the endstop status will show Not Triggered. - Configuring
driver_SGT:requires testing an appropriate value.
- Reference Configuration
[stepper_x]
# endstop_pin:
endstop_pin: tmc2240_stepper_x:virtual_endstop
homing_retract_dist: 0 # Not changing the retract to 0 may cause homing failure
[tmc2240 stepper_x]
diag1_pin: ^!
driver_SGT: 1
# After configuration, ensure the endstop status is Not Triggered
# This pin typically uses the "^" prefix to enable internal pull-up
# Sensitivity needs to be adjusted based on belt tension
# (Ensure driver_SGTHRS is set to an appropriate sensitivity value)
Loading...