TMC5031 DATASHEET (Rev. 1.11 / 2016-APR-28)
23
5.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
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)
5
+
5
+
4
Hint: Choose sense resistors in a way, that normal
IRUN is 16 to 31 for best microstep performance.
19..16 IHOLDDELAY
0x30
0x50
W
IHOLD_IRUN
Controls the number of clock cycles for motor
power down after a motion as soon as TZEROWAIT
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
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.
0x31
0x51
W
23 VCOOLTHRS
VHIGH ≥ |VACT| ≥ VCOOLTHRS:
-
coolStep is enabled, if configured
(Only bits 22..8 are used for value and for comparison)
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)
0x32
0x52
W
23 VHIGH
-
-
-
If vhighfs is set, the motor operates in fullstep mode.
(Only bits 22..8 are used for value and for comparison)
Switch mode configuration
See separate table!
0x34
0x54
0x35
0x55
0x36
0x56
SW_MODE
RW
R+C
R
11
RAMP_STAT Ramp status and switch event status
14
See separate table!
Ramp generator latch position, latches XACTUAL upon a
programmable switch event (see SW_MODE).
32 XLATCH
time reference t for velocities: t = 2^24 / fCLK
time reference ta² for accelerations: ta² = 2^41 / (fCLK)²
www.trinamic.com