Datasheet
TMC5062 DATASHEET (Rev. 1.11 / 2017-MAY-16) 37
www.trinamic.com
W
0x6E
0x7E
8
+
8
DCCTRL
dcStep (DC) automatic commutation
configuration register:
bit 7… 0: DC_TIME: Upper PWM on time
limit for commutation (DC_TIME *
1/f
CLK
). Set slightly above effective
blank time TBL.
bit 15… 8: DC_SG: Max. PWM on time for
step loss detection using dcStep
stallGuard2 in dcStep mode.
(DC_SG * 16/f
CLK
)
Set slightly higher than
DC_MAX/16
0=disable
R
0x6F
0x7F
32
DRV_
STATUS
stallGuard2 value and driver error flags
See separate table!
MIRCOSTEP TABLE CALCULATION FOR A SINE WAVE EQUIVALENT TO THE POWER ON DEFAULT:
- 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