Datasheet

TMC5160 DATASHEET (Rev. 1.01 / 2017-NOV-29) 13
www.trinamic.com
Pin
TQFP
QFN
Type
Function
SD_MODE
21
21
DI
Mode selection input. When tied low, the internal ramp
generator generates step pulses. When tied high, the STEP/DIR
inputs control the driver. SD_MODE=0 and SPI_MODE=0 enable
UART operation.
SPI_MODE
22
22
DI
(pd)
Mode selection input. When tied low with SD_MODE=1, the
chip is in standalone mode and pins have their CFG functions.
When tied high, the SPI interface is enabled. Integrated pull
down resistor.
ENCB_DCEN_
CFG4
23
23
DI
(pd)
Encoder B-channel input (when using internal ramp generator)
or
dcStep enable input (SD_MODE=1, SPI_MODE=1) leave open
or tie to GND for normal operation in this mode (no dcStep).
Configuration input (SPI_MODE=0)
ENCA_DCIN_
CFG5
24
24
DI
(pd)
Encoder A-channel input (when using internal ramp generator)
or
dcStep gating input for axis synchronization (SD_MODE=1,
SPI_MODE=1) or
Configuration input (SPI_MODE=0)
ENCN_DCO_
CFG6
25
26
DIO
Encoder N-channel input (SD_MODE=0) or
dcStep ready output (SD_MODE=1).
With SD_MODE=0, pull to GND or VCC_IO, if the pin is not
used.
DIAG0_SWN
26
27
DIO
(pu+
pd)
Diagnostics output DIAG0.
Interrupt or STEP output for motion controller (SD_MODE=0,
SPI_MODE=1).
Use external pullup resistor with 47k or less in open drain
mode.
Single wire I/O (negative) (only with SD_MODE=0 and
SPI_MODE=0)
DIAG1_SWP
27
28
DIO
(pd)
Diagnostics output DIAG1.
Position compare or DIR output for motion controller
(SD_MODE=0, SPI_MODE=1).
Use external pullup resistor with 47k or less in open drain
mode.
Single wire I/O (positive) (only with SD_MODE=0 and
SPI_MODE=0)
DRV_ENN
28
29
DI
Enable input. The power stage becomes switched off (all
motor outputs floating) when this pin becomes driven to a
high level.
VCC
29
30
5V supply input for digital circuitry within chip and charge
pump. Provide 100nF or bigger capacitor to GND (GND plane)
near pin. Shall be supplied by 5VOUT. A 2.2 or 3.3 Ohm
resistor is recommended for decoupling noise from 5VOUT.
When using an external supply, make sure, that VCC comes up
before or in parallel to 5VOUT or VCC_IO, whichever comes up
later!
CPO
31
31
Charge pump capacitor output.
CPI
32
32
Charge pump capacitor input. Tie to CPO using 22nF 100V
capacitor.
VS
33
33
Motor supply voltage. Provide filtering capacity near pin with
short loop to GND plane. Must be tied to the positive bridge
supply voltage.
VCP
34
34
Charge pump voltage. Tie to VS using 100nF capacitor.
CA2
35
35
Bootstrap capacitor positive connection.