TMC5160, 2160, and 2130 guide
Chopper settings for TMC5160, TMC2160, and TMC2130.
- The plugin writes CoolStep (SEMIN 2). Load changes then feel like a stutter or a thump. This page sets SEMIN to 0.
- It often applies the full rated current. This page starts run current at 80% of RMS: peak rating times 0.707 times 0.80. A 2.5 A motor starts at 1.41 A instead of its full 1.77 A RMS, so it runs cooler.
- At 36, 48, or 60 V the plugin still estimates stealthChop speed with a 24 V gradient. PWM_GRAD on this page uses the voltage you picked, and PWM_AUTOGRAD stays off so that number is the one that runs.
- Klipper says a mid-move handoff from StealthChop to SpreadCycle gives poor results. Picking StealthChop keeps it on (threshold 999999), including on X and Y. Both leaves X and Y in SpreadCycle and hands Z and the extruder off at 100 mm/s. Thump turns that handoff off.
- hold_current is left out of the block. Klipper: dropping current when the motor stops can shift the axis. A falling Z is the exception.
- The raw hysteresis estimate is a ceiling. Quiet eases it when the coils can take a longer blank. Short coils at 48 V and 60 V stay on TBL 0, because a longer blank does not fit. Growl raises TBL by one and drops HSTRT.
Belt tone 110 Hz
Select a motor, a supply, and a driver first.
Pluck the open span. Spectroid should peak near 110 Hz. At 100 mm/s the full-step tone is 500 Hz, and the coil sine is 125 Hz. The chopper frequency appears after a motor, a supply, and a driver are set. The rotor and the coil trace run at the real move speed. One coil sine is four full steps.
Motor
Supply and driver
Looking for a TMC2209, 2226, or 2240? Open the TMC22XX calculator.
BTT
BTT boards with two sense resistors
How to get the most out of these boards in Klipper
- Check the revision first.S1-S4 use 0.022 ohm on a Kraken V1.0 and 0.050 ohm on a V1.1. S5-S8 use 0.075 ohm on both. The revision is printed on the board.
- Plug each motor into the slot that suits its current.Most NEMA 17 printer motors run under 2.5 A RMS and do best on S5-S8. Keep S1-S4 for motors that need more than about 2.8 A RMS, such as NEMA 23. A small current on a small resistor uses only a sliver of the driver's range: fewer sine steps, rougher microsteps, and a bigger share of the ±5% sense tolerance.
- Pick the preset for that exact slot, then read the line under the sense resistor.Aim for GLOBALSCALER above 128 and CS 16 to 31, the Trinamic recommendation. If this page says another slot fits better, move the plug and the step, dir, enable, and cs pins in printer.cfg to that slot, then press Use.
- Copy sense_resistor exactly as written for each stepper.Klipper has no tmc2160 section, so the block is [tmc5160 stepper_x]. A 0.075 value on a 0.022 slot drives about 3.4 times the current you typed. Each slot needs its own value.
- Raise current only when the motor needs torque.More current does not fix a low GLOBALSCALER, the slot does. Stay under the slot limit (8 A, 4.7 A, or 3 A RMS) and the motor rating, then tune the chopper on the steps below.
Mellow
Config
This is experimental. Verify these settings before you use them. Do not run a driver at the motor's maximum current.