TMC2160 DATASHEET (Rev. 1.02 / 2018-NOV-19)
32
VELOCITY DEPENDENT DRIVER FEATURE CONTROL REGISTER SET (0X10…0X1F)
R/W
Addr
n
Register
Description / bit names
This is the lower threshold velocity for switching on smart
energy coolStep and stallGuard feature. (unsigned)
Set this parameter to disable coolStep at low speeds, where it
cannot work reliably. The stop on stall function (enable with
sg_stop when using internal motion controller) and the stall
output signal become enabled when exceeding this velocity. In
non-dcStep mode, it becomes disabled again once the velocity
falls below this threshold.
W
0x14
20 TCOOLTHRS
TCOOLTHRS ≥ TSTEP ≥ THIGH:
-
coolStep is enabled, if configured
-
stealthChop voltage PWM mode is disabled
TCOOLTHRS ≥ TSTEP
-
Stop on stall is enabled, if configured
-
Stall output signal (DIAG0/1) is enabled, if configured
This velocity setting allows velocity dependent switching into
a different chopper mode and fullstepping to maximize torque.
(unsigned)
The stall detection feature becomes switched off for 2-3
electrical periods whenever passing THIGH threshold to
compensate for the effect of switching modes.
TSTEP ≤ THIGH:
W
0x15
20 THIGH
-
coolStep is disabled (motor runs with normal current
scale)
-
-
stealthChop voltage PWM mode is disabled
If vhighchm is set, the chopper switches to chm=1
with TFD=0 (constant off time with slow decay, only).
If vhighfs is set, the motor operates in fullstep mode
and the stall detection becomes switched over to
dcStep stall detection.
-
This register is used in direct coil current 2x
mode, only (direct_mode = 1). It bypasses the -255…+255
internal sequencer. Specifies signed coil A
current (bits 8..0) and coil B current (bits
24..16). In this mode, the current is scaled by
IHOLD setting. Velocity based current
regulation of stealthChop is not available in
this mode. The automatic stealthChop current
regulation will work only for low stepper
motor velocities.
RW
0x2D
9+9 XDIRECT
Microstep velocity time reference t for velocities: TSTEP = fCLK / fSTEP
www.trinamic.com