Datasheet

TMC262 / TMC262C DATASHEET (Rev. 2.22 / 2019-FEB-22) 38
www.trinamic.com
Three parameters control SpreadCycle mode:
Parameter
Description
Setting
Comment
HSTRT
Hysteresis start setting. Please remark, that this
value is an offset to the hysteresis end value
HEND.
0 7
This setting adds to
HEND.
%000: 1 %100: 5
%001: 2 %101: 6
%010: 3 %110: 7
%011: 4 %111: 8
HEND
Hysteresis end setting. Sets the hysteresis end
value after a number of decrements. Decrement
interval time is controlled by HDEC. The sum
HSTRT+HEND must be <16. At a current setting CS
of max. 30 (amplitude reduced to 240), the sum
is not limited.
0… 2
Negative HEND: -3… -1
%0000: -3
%0001: -2
%0010: -1
3
Zero HEND: 0
%0011: 0
4… 15
Positive HEND: 1… 12
%0100: 1 %1010: 7 1100: 9
%0101: 2 %1011: 8 1101: 10
%0110: 3 %1100: 9 1110: 11
%0111: 4 %1101: 10
%1000: 5 %1110: 11
%1001: 6 %1111: 12
HDEC
Hysteresis decrement setting. This setting
determines the slope of the hysteresis during on
time and during fast decay time. It sets the
number of system clocks for each decrement.
0… 3
0: fast decrement
3: very slow decrement
%00: 16
%01: 32
%10: 48
%11: 64
EXAMPLE:
A hysteresis of 4 has been chosen. You might decide to not use hysteresis decrement. In this case
set:
HEND=6 (sets an effective end value of 6-3=3)
HSTRT=0 (sets minimum hysteresis, i.e. 1: 3+1=4)
In order to take advantage of the variable hysteresis, we can set most of the value to the HSTRT, i.e.
4, and the remaining 1 to hysteresis end. The resulting configuration register values are as follows:
HEND=0 (sets an effective end value of -3)
HSTRT=6 (sets an effective start value of hysteresis end +7: 7-3=4)
Hint
Highest motor velocities benefit from setting TOFF to 2 or 3 and a short TBL of 2 or 1.