TMC5160/TMC5160A DATASHEET (Rev. 1.17 / 2022-MAY-25) 4
www.trinamic.com
13.4 HOMING WITH STALLGUARD ......................... 90
13.5 LIMITS OF STALLGUARD2 OPERATION .......... 90
14 COOLSTEP OPERATION ............................. 91
14.1 USER BENEFITS ............................................. 91
14.2 SETTING UP FOR COOLSTEP .......................... 91
14.3 TUNING COOLSTEP ....................................... 93
15 STEP/DIR INTERFACE ................................ 94
15.1 TIMING ......................................................... 94
15.2 CHANGING RESOLUTION ................................ 95
15.3 MICROPLYER AND STAND STILL DETECTION . 96
16 DIAG OUTPUTS ........................................... 97
16.1 STEP/DIR MODE ......................................... 97
16.2 MOTION CONTROLLER MODE ........................ 97
17 DCSTEP........................................................... 99
17.1 USER BENEFITS ............................................. 99
17.2 DESIGNING-IN DCSTEP ................................. 99
17.3 DCSTEP INTEGRATION WITH THE MOTION
CONTROLLER............................................................ 100
17.4 STALL DETECTION IN DCSTEP MODE ......... 100
17.5 MEASURING ACTUAL MOTOR VELOCITY IN
DCSTEP OPERATION ................................................ 101
17.6 DCSTEP WITH STEP/DIR INTERFACE ........ 102
18 SINE-WAVE LOOK-UP TABLE ................ 105
18.1 USER BENEFITS .......................................... 105
18.2 MICROSTEP TABLE ..................................... 105
19 EMERGENCY STOP .................................... 106
20 ABN INCREMENTAL ENCODER
INTERFACE .............................................................. 107
20.1 ENCODER TIMING ....................................... 108
20.2 SETTING THE ENCODER TO MATCH MOTOR
RESOLUTION ............................................................ 108
20.3 CLOSING THE LOOP .................................... 109
21 DC MOTOR OR SOLENOID .................... 110
21.1 SOLENOID OPERATION ............................... 110
22 QUICK CONFIGURATION GUIDE .......... 111
23 GETTING STARTED ................................... 116
23.1 INITIALIZATION EXAMPLES ......................... 116
24 STANDALONE OPERATION .................... 117
25 POWER-UP RESET ..................................... 119
26 CLOCK OSCILLATOR AND INPUT ......... 119
26.1 USING THE INTERNAL CLOCK ...................... 119
26.2 USING AN EXTERNAL CLOCK ....................... 119
27 ABSOLUTE MAXIMUM RATINGS .......... 120
28 ELECTRICAL CHARACTERISTICS .......... 120
28.1 OPERATIONAL RANGE ................................. 120
28.2 DC AND TIMING CHARACTERISTICS ............ 121
28.3 THERMAL CHARACTERISTICS........................ 123
29 LAYOUT CONSIDERATIONS................... 125
29.1 EXPOSED DIE PAD ...................................... 125
29.2 WIRING GND ............................................ 125
29.3 WIRING BRIDGE SUPPLY ............................ 125
29.4 SUPPLY FILTERING ...................................... 125
29.5 LAYOUT EXAMPLE ....................................... 126
30 PACKAGE MECHANICAL DATA .............. 128
30.1 DIMENSIONAL DRAWINGS TQFP48-EP ..... 128
30.2 DIMENSIONAL DRAWINGS QFN-WA ......... 130
30.3 PACKAGE CODES ......................................... 131
31 DESIGN PHILOSOPHY ............................. 132
32 DISCLAIMER ............................................... 132
33 ESD SENSITIVE DEVICE.......................... 132
34 DESIGNED FOR SUSTAINABILITY ....... 132
35 TABLE OF FIGURES .................................. 133
36 REVISION HISTORY ................................. 134
37 REFERENCES ............................................... 134