Datasheet
TMC5062 DATASHEET (Rev. 1.11 / 2017-MAY-16) 79
www.trinamic.com
SETTING UP DCSTEP
Enable dcStep
Does the motor reach
VMAX and have good
torque?
Start the motor at the
targeted velocity VMAX and
try to apply load
Increase DC_TIMEN
Y
CHOPCONF
Make sure, that TOFF is not less
than 3. Use lowest good TBL.
Set vhighfs and vhighchm
Use a stallGuard threshold
velocity slightly above VDCMIN
for enabling stallGuard by
software based on VACTUAL
Set VDCMIN
to about 5% to 20% of
the desired operation
velocity
DCCTRL
Set DC_TIME depending on TBL:
%00: 17; %01: 25
%10: 37; %11: 55
Does the motor reach
VDCMIN without step loss?
Restart the motor and try to
slow it down to VDCMIN by
applying load
Decrease DC_TIME
or increase TOFF
or increase VDCMIN
N
Y
DCCTRL
Set DC_SG to 1 + 1/16
the value of DC_TIME
SW_MODE
Enable sg_stop to stop
the motor upon stall
detection
Finished or configure
dcStep stall detection
Configure dcStep Stall
Detection
Does the motor stop upon
the first stall?
Slow down the motor to
VDCMIN by applying load.
Further increase load to
stall the motor.
Increase DC_SGN
Y
Read out RAMP_STAT to
clear event_stop_sg and
restart the motor
Accelerate the motor from
0 to VMAX
Does the motor stop during
acceleration?
Increase stallGuard
threshold velocity
as set by software
Y
N
Finished
Figure 16.4 Setting up dcStep