Datasheet

TMC2660 DATASHEET (Rev. 1.05 / 2016-JUL-14) 19
www.trinamic.com
DRVCTRL
Driver Control in SPI Mode (SDOFF=1)
Bit
Name
Function
Comment
8
PHB
Polarity B
Sign of current flow through coil B:
0: Current flows from OB1 pins to OB2 pins.
1: Current flows from OB2 pins to OB1 pins.
7
CB7
Current B MSB
Magnitude of current flow through coil B. The range is
0 to 248, if hysteresis or offset are used up to their full
extent. The resulting value after applying hysteresis or
offset must not exceed 255.
6
CB6
5
CB5
4
CB4
3
CB3
2
CB2
1
CB1
0
CB0
Current B LSB
6.5.2 DRVCTRL Register in STEP/DIR Mode
DRVCTRL
Driver Control in STEP/DIR Mode (SDOFF=0)
Bit
Name
Function
Comment
19
0
Register address bit
18
0
Register address bit
17
0
Reserved
16
0
Reserved
15
0
Reserved
14
0
Reserved
13
0
Reserved
12
0
Reserved
11
0
Reserved
10
0
Reserved
9
INTPOL
Enable STEP
interpolation
0: Disable STEP pulse interpolation.
1: Enable STEP pulse multiplication by 16.
8
DEDGE
Enable double edge
STEP pulses
0: Rising STEP pulse edge is active, falling edge is
inactive.
1: Both rising and falling STEP pulse edges are active.
7
0
Reserved
6
0
Reserved
5
0
Reserved
4
0
Reserved
3
MRES3
Microstep resolution
for STEP/DIR mode
Microsteps per 90°:
%0000: 256
%0001: 128
%0010: 64
%0011: 32
%0100: 16
%0101: 8
%0110: 4
%0111: 2 (halfstep)
%1000: 1 (fullstep)
2
MRES2
1
MRES1
0
MRES0