TMC5160 DATASHEET (Rev. 1.08 / 2018-NOV-19)
48
DRIVER REGISTER SET (0X6C…0X7F)
R/W
Addr
n
Register
Description / bit names
bit 23… 16 PWM_GRAD_AUTO:
Automatically
Range [Unit]
0…255
determined
gradient value
Number of input steps skipped due to higher
load in dcStep operation, if step input does
not stop when DC_OUT is low. This counter
wraps around after 2^20 steps. Counts up or
down depending on direction. Only with
SDMODE=1.
R
0x73
20 LOST_STEPS
MICROSTEP TABLE CALCULATION FOR A SINE WAVE EQUIVALENT TO THE POWER ON DEFAULT
푖
푃퐼
푟표푢푛푑 (ꢀ4ꢁ ∗ 푠푖푛 ꢂꢀ ∗ 푃퐼 ∗
+
)ꢅ − ꢃ
ꢃꢄꢀ4 ꢃꢄꢀ4
-
-
i:[0… 255] is the table index
The amplitude of the wave is 248. The resulting maximum positive value is 247 and the
maximum negative value is -248.
-
The round function rounds values from 0.5 to 1.4999 to 1
www.trinamic.com