TMC5130A DATASHEET (Rev. 1.14 / 2017-MAY-15)
44
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