Datasheet

TMC2660 DATASHEET (Rev. 1.05 / 2016-JUL-14) 23
www.trinamic.com
6.9 Driver Control Register (DRVCONF)
DRVCONF
Driver Configuration
Bit
Name
Function
Comment
19
1
Register address bit
18
1
Register address bit
17
1
Register address bit
16
TST
Reserved TEST mode
Must be cleared for normal operation. When set, the
SG_TST output exposes digital test values, and the
TEST_ANA output exposes analog test values. Test value
selection is controlled by SGT1 and SGT0:
TEST_ANA: %00: anatest_2vth,
%01: anatest_dac_out,
%10: anatest_vdd_half.
SG_TST: %00: comp_A,
%01: comp_B,
%10: CLK,
%11: on_state_xy
15
SLPH1
Slope control, high
side
%00: Minimum
%01: Minimum temperature compensation mode.
%10: Medium temperature compensation mode.
%11: Maximum
In temperature compensated mode (tc), the MOSFET gate
driver strength is increased if the overtemperature
warning temperature is reached. This compensates for
temperature dependency of high-side slope control.
14
SLPH0
13
SLPL1
Slope control, low
side
%00: Minimum.
%01: Minimum.
%10: Medium.
%11: Maximum.
12
SLPL0
11
0
Reserved
10
DISS2G
Short to GND
protection disable
0: Short to GND protection is enabled.
1: Short to GND protection is disabled.
9
TS2G1
Short to GND
detection timer
%00: 3.2µs.
%01: 1.6µs.
%10: 1.2µs.
%11: 0.8µs.
8
TS2G0
7
SDOFF
STEP/DIR interface
disable
0: Enable STEP and DIR interface.
1: Disable STEP and DIR interface. SPI interface is used
to move motor.
6
VSENSE
Sense resistor
voltage-based current
scaling
0: Full-scale sense resistor voltage is 305mV.
1: Full-scale sense resistor voltage is 165mV.
(Full-scale refers to a current setting of 31 and a DAC
value of 255.)
5
RDSEL1
Select value for read
out (RD bits)
%00
Microstep position read back
4
RDSEL0
%01
stallGuard2 level read back
%10
stallGuard2 and coolStep current level read
back
%11
Reserved, do not use
3
0
Reserved
2
0
Reserved
1
0
Reserved
0
0
Reserved