English
Language : 

TMC389 Datasheet, PDF (19/48 Pages) TRINAMIC Motion Control GmbH & Co. KG. – three phase stepper motor driver
TMC389 DATASHEET (V. 1.15 / 2015-OCT-27)
19
Entry
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
0-31
1
2
4
5
7
8
10
11
13
14
16
17
19
21
22
24
25
27
28
30
31
33
34
36
37
39
40
42
43
45
46
48
32-63
49
51
52
54
55
57
58
60
61
62
64
65
67
68
70
71
73
74
76
77
79
80
81
83
84
86
87
89
90
91
93
94
64-95
96
97
98
100
101
103
104
105
107
108
109
111
112
114
115
116
118
119
120
122
123
124
126
127
128
129
131
132
133
135
136
137
96-127
138
140
141
142
143
145
146
147
148
150
151
152
153
154
156
157
158
159
160
161
163
164
165
166
167
168
169
170
172
173
174
175
128-159
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
201
202
203
204
205
206
160-191
207
207
208
209
210
211
212
212
213
214
215
215
216
217
218
218
219
220
220
221
222
223
223
224
225
225
226
226
227
228
228
229
192-223
229
230
231
231
232
232
233
233
234
234
235
235
236
236
237
237
238
238
238
239
239
240
240
240
241
241
241
242
242
242
243
243
224-255
243
244
244
244
244
245
245
245
245
246
246
246
246
246
247
247
247
247
247
247
247
247
248
248
248
248
248
248
248
248
248
248
figure 7: internal microstep table showing the first quarter of the sine wave
7.3 Switching between different microstep resolutions
In principle, the microstep resolution can be changed at any time. The microstep resolution determines
the increment respectively the decrement, the TMC389 uses for advancing in the microstep table. At
maximum resolution, it advances one step for each step pulse. At half resolution, it advances two
steps and so on. This way, a change of resolution is possible transparently at each time. However, you
may experience the motor behavior becoming direction dependant, when switching microstep
resolutions. This behavior results from table sampling points not evenly shifted inside the microstep
table with respect to the step width. To avoid this, always switch to a lower resolution, when the actual
microstep position is a multiple of the desired table step width. This is always satisfied at position zero
in the microstep table.
7.4 Step rate multiplier and stand still detection
The step rate multiplier can be enabled by setting the INTPOL bit. It supports a 16 microstep setting
and Step/Dir mode, only. In this setting, each step impulse at the input causes the execution of 16
times 1/256 microsteps. The step rate for the 16 microsteps is determined by measuring the time
interval of the previous step pulses and dividing it into 16 equal parts. This way, a smooth motor
movement like in 256 microstep resolution is achieved. The maximum time between two microsteps
corresponds to 2^20 i.e. roughly one million clock cycles, in order to reach evenly distributed 1/256
sine wave steps. At 16MHz clock frequency, this results in a minimum step input frequency of 16Hz for
step rate multiplier operation, i.e. one and a half motor fullsteps per second. A lower step rate causes
the stand still flag to become set as soon as the time is expired. Execution of microsteps will happen
with a frequency of 1/(2^16) clock frequency.
Copyright © 2010 TRINAMIC Motion Control GmbH & Co. KG