Datasheet

TMC5062 DATASHEET (Rev. 1.11 / 2017-MAY-16) 30
www.trinamic.com
6.2.2 Ramp Generator Driver Feature Control Register Set
RAMP GENERATOR DRIVER FEATURE CONTROL REGISTER SET (MOTOR 1: 0X30…0X36, MOTOR 2: 0X50…0X56)
R/W
Addr
n
Register
Description / bit names
W
0x30
0x50
5
+
5
+
4
IHOLD_IRUN
Bit
IHOLD_IRUN Driver current control
4..0
IHOLD
Standstill current (0=1/32…31=32/32)
12..8
IRUN
Motor run current (0=1/32…31=32/32)
Hint: Choose sense resistors in a way, that normal
IRUN is 16 to 31 for best microstep performance.
19..16
IHOLDDELAY
Controls the number of clock cycles for motor
power down after a motion as soon as
T_ZEROWAIT 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
W
0x31
0x51
23
VCOOLTHRS
This is the lower threshold velocity for switching on smart
energy coolStep. (unsigned)
Set this parameter to disable coolStep at low speeds, where it
cannot work reliably.
VHIGH ≥ |VACT| VCOOLTHRS:
- coolStep is enabled, if configured
(Only bits 22..8 are used for value and for comparison)
W
0x32
0x52
23
VHIGH
This velocity setting allows velocity dependent switching into
a different chopper mode and fullstepping to maximize torque.
(unsigned)
|VACT| ≥ VHIGH:
- coolStep is disabled (motor runs with normal current
scale)
- If vhighchm is set, the chopper switches to chm=1
with TFD=0 (constant off time with slow decay, only).
- chopSync2 is switched off (SYNC=0)
- If vhighfs is set, the motor operates in fullstep mode.
(Only bits 22..8 are used for value and for comparison)