TMC5160 DATASHEET (Rev. 1.08 / 2018-NOV-19)
49
6.5.1 MSLUTSEL – Look up Table Segmentation Definition
0X68: MSLUTSEL – LOOK UP TABLE SEGMENTATION DEFINITION
Bit Name
Function
Comment
31 X3
30
29
28
LUT segment 3 start
The sine wave look up table can be divided into up to
four segments using an individual step width control
entry Wx. The segment borders are selected by X1, X2
and X3.
27
26
25
24
23 X2
22
21
Segment 0 goes from 0 to X1-1.
Segment 1 goes from X1 to X2-1.
Segment 2 goes from X2 to X3-1.
Segment 3 goes from X3 to 255.
LUT segment 2 start
For defined response the values shall satisfy:
0<X1<X2<X3
20
19
18
17
16
15 X1
14
LUT segment 1 start
13
12
11
10
9
8
7
6
5
4
3
2
1
0
W3
W2
W1
W0
LUT width select from
ofs(X3) to ofs255
Width control bit coding W0…W3:
%00:
%01:
%10:
%11:
MSLUT entry 0, 1 select: -1, +0
MSLUT entry 0, 1 select: +0, +1
MSLUT entry 0, 1 select: +1, +2
MSLUT entry 0, 1 select: +2, +3
LUT width select from
ofs(X2) to ofs(X3-1)
LUT width select from
ofs(X1) to ofs(X2-1)
LUT width select from
ofs00 to ofs(X1-1)
www.trinamic.com