Datasheet

TMC2590 DATASHEET (V1.0 / 2019-FEB-22) 25
www.trinamic.com
CHOPCONF
Chopper Configuration
Bit
Name
Function
Comment
3
TOFF3
Off time/MOSFET
disable
Duration of slow decay phase. If TOFF is 0, the
MOSFETs are shut off. If TOFF is nonzero, slow decay
time is a multiple of system clock periods:
N
CLK
= 24 + (32 x TOFF) (Minimum time is 64clocks.)
%0000: Driver disable, all bridges off
%0001: 1 (use with TBL of minimum 24 clocks)
%0010 … %1111: 2 … 15
2
TOFF2
1
TOFF1
0
TOFF0
7.7 CoolStep Control Register (SMARTEN)
SMARTEN
CoolStep Configuration
Bit
Name
Function
Comment
19
1
Register address bit
18
0
Register address bit
17
1
Register address bit
16
0
Reserved
15
SEIMIN
Minimum CoolStep
current
0: ½ CS current setting
1: ¼ CS current setting
14
SEDN1
Current decrement
speed
Number of times that the StallGuard2 value must be
sampled equal to or above the upper threshold for each
decrement of the coil current:
%00: 32
%01: 8
%10: 2
%11: 1
13
SEDN0
12
0
Reserved
11
SEMAX3
Upper CoolStep
threshold as an offset
from the lower
threshold
If the StallGuard2 measurement value SG is sampled
equal to or above (SEMIN+SEMAX+1) x 32 enough times,
then the coil current scaling factor is decremented.
10
SEMAX2
9
SEMAX1
8
SEMAX0
7
0
Reserved
6
SEUP1
Current increment
size
Number of current increment steps for each time that
the StallGuard2 value SG is sampled below the lower
threshold:
%00: 1
%01: 2
%10: 4
%11: 8
5
SEUP0
4
0
Reserved
3
SEMIN3
Lower CoolStep
threshold/CoolStep
disable
If SEMIN is 0, CoolStep is disabled. If SEMIN is nonzero
and the StallGuard2 value SG falls below SEMIN x 32,
the CoolStep current scaling factor is increased.
2
SEMIN2
1
SEMIN1
0
SEMIN0