Datasheet

TMC4361A Datasheet | Document Revision 1.22 2017-JAN-12
91/230
© 2015 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany Terms of delivery and rights
to technical change reserved. Download newest version at: www.trinamic.com .
Read entire documentation; especially the Supplemental Directiveson page 224.
MAIN MANUAL
Setup of MSLUT Segments
All base wave inclination values (each consists of two bits) as well as the border values
(each consists of eight bit) between the segments are adjustable. They are assigned
by
MSLUTSEL
register 0x78.
In order to change the base wave inclination values and the segment
borders, do as follows:
Action:
Define the segment borders X1, X2, and X3 and the base wave inclination values
W0…W3 according to the requirements
Set register
MSLUTSEL
(31:24) = X3.
Set register
MSLUTSEL
(23:16) = X2.
Set register
MSLUTSEL
(15:8) = X1.
Set register
MSLUTSEL
(7:6) = W3.
Set register
MSLUTSEL
(5:4) = W2.
Set register
MSLUTSEL
(3:2) = W1.
Set register
MSLUTSEL
(1:0) = W0.
Result:
The segments and the base wave inclination values of the internal MSLUT are
changed.
NOTE:
It is not mandatory to define four segments. For instance, if only two segments
are required, set X2 and X3 to 255. Then, W0 is valid for segment 0 between
MSCNT = 0 and MSCNT = X1, and W1 is valid between MSCNT = X1 and
MSCNT = 255 (segment 1).
In order to change the
ofs
bits, do as follows:
Action:
Set
MSLUT
[0] register 0x70 =
ofs
31…
ofs
00.
Set
MSLUT
[1] register 0x71 =
ofs
63…
ofs
32.
Set
MSLUT
[2] register 0x72 =
ofs
95…
ofs
64.
Set
MSLUT
[3] register 0x73 =
ofs
127…
ofs
96.
Set
MSLUT
[4] register 0x74 =
ofs
159…
ofs
128.
Set
MSLUT
[5] register 0x75 =
ofs
191…
ofs
160.
Set
MSLUT
[6] register 0x76 =
ofs
223…
ofs
192.
Set
MSLUT
[7] register 0x77 =
ofs
255…
ofs
224.
Result:
The
ofs
bits of the internal MSLUT are changed.
When modifying the wave:
Special care has to be applied in order to ensure a smooth and symmetrical zero
transition whenever the quarter wave becomes expanded to a full wave.
When adjusting the range:
The maximum resulting swing of the wave should be adjusted to a range of
248 to 248, in order to achieve the best possible resolution while at the same time
leaving headroom for a hysteresis based chopper to add an offset.
Base Wave
Inclination and
Border Values
!
AREAS OF
SPECIAL
CONCERN
Zero Crossing