English
Language : 

TMC2208 Datasheet, PDF (29/81 Pages) TRINAMIC Motion Control GmbH & Co. KG. – POWER DRIVER FOR STEPPER MOTORS
TMC220X, TMC222X DATASHEET (Rev. 1.02 / 2017-MAY-16)
29
5.2 Velocity Dependent Control
VELOCITY DEPENDENT DRIVER FEATURE CONTROL REGISTER SET (0X10…0X1F)
R/W Addr
W 0x10
W 0x11
n Register
Description / bit names
Bit IHOLD_IRUN – Driver current control
4..0 IHOLD (Reset default: OTP)
Standstill current (0=1/32 … 31=32/32)
In combination with stealthChop mode, setting
IHOLD=0 allows to choose freewheeling or coil
short circuit (passive braking) for motor stand still.
12..8 IRUN (Reset default=31)
5
Motor run current (0=1/32 … 31=32/32)
+
5 IHOLD_IRUN
Hint: Choose sense resistors in a way, that normal
+
IRUN is 16 to 31 for best microstep performance.
4
19..16 IHOLDDELAY (Reset default: OTP)
Controls the number of clock cycles for motor
power down after standstill is detected (stst=1) and
TPOWERDOWN has expired. The smooth transition
avoids a motor jerk upon power down.
0:
instant power down
1..15: Delay per current reduction step in multiple
of 2^18 clocks
TPOWERDOWN (Reset default=20)
Sets the delay time from stand still (stst) detection to motor
8
TPOWER
DOWN
current power down. Time range is about 0 to 5.6 seconds.
0…((2^8)-1) * 2^18 tCLK
Attention: A minimum setting of 2 is required to allow
automatic tuning of stealthChop PWM_OFFS_AUTO.
Actual measured time between two 1/256 microsteps derived
from the step input frequency in units of 1/fCLK. Measured
value is (2^20)-1 in case of overflow or stand still.
The TSTEP related threshold uses a hysteresis of 1/16 of the
R 0x12 20 TSTEP
compare value to compensate for jitter in the clock or the step
frequency: (Txxx*15/16)-1 is the lower compare value for each
TSTEP based comparison.
This means, that the lower switching velocity equals the
calculated setting, but the upper switching velocity is higher as
defined by the hysteresis setting.
Sets the upper velocity for stealthChop voltage PWM mode.
TSTEP ≥ TPWMTHRS
W
0x13
20 TPWMTHRS
- stealthChop PWM mode is enabled, if configured
When the velocity exceeds the limit set by TPWMTHRS, the
driver switches to spreadCycle.
0: Disabled
VACTUAL allows moving the motor by UART control.
It gives the motor velocity in +-(2^23)-1 [µsteps / t]
W 0x22 24 VACTUAL
0: Normal operation. Driver reacts to STEP input.
/=0: Motor moves with the velocity given by VACTUAL. Step
pulses can be monitored via INDEX output. The motor
direction is controlled by the sign of VACTUAL.
www.trinamic.com