TMC262 DATASHEET (Rev. 2.07 / 2013-FEB-14)
20
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
6
5
4
3
2
1
0
CB7
CB6
CB5
CB4
CB3
CB2
CB1
CB0
Current B MSB
Current B LSB
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.5.2 DRVCTRL Register in STEP/DIR Mode
DRVCTRL
Driver Control in STEP/DIR Mode (SDOFF=0)
Bit
Name
Function
Comment
19
18
17
16
15
14
13
12
11
10
9
0
0
0
0
0
0
0
0
Register address bit
Register address bit
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
0
0
Reserved
INTPOL
Enable STEP
interpolation
Enable double edge
STEP pulses
0: Disable STEP pulse interpolation.
1: Enable STEP pulse multiplication by 16.
0: Rising STEP pulse edge is active, falling edge is
inactive.
8
DEDGE
1: Both rising and falling STEP pulse edges are active.
7
6
5
4
3
2
1
0
0
0
0
0
Reserved
Reserved
Reserved
Reserved
Microstep resolution
for STEP/DIR mode
MRES3
MRES2
MRES1
MRES0
Microsteps per 90°:
%0000: 256
%0001: 128
%0010: 64
%0011: 32
%0100: 16
%0101: 8
%0110: 4
%0111: 2 (halfstep)
%1000: 1 (fullstep)
www.trinamic.com