TMC5161 DATASHEET (Rev. 1.01 / 2018-NOV-20)
113
24 Standalone Operation
For standalone operation, no SPI interface is required to configure the TMC5161. All pins with suffix
CFG0 to CFG6 have a special meaning in this mode and can be tied either to VCC_IO or to GND.
+VM
Optional use lower
voltage down to 12V
22n
100V
100n
16V
470n
CE
+VM
VSA
12VOUT
5VOUT
CB2
CB
CB
charge pump
HS
HS
11.5V Voltage
regulator
Step&Dir input
with microPlyer
CB1
100n
2.2µ
2.2µ
5V Voltage
regulator
2R2
OB1
OB2
VCC
470n
TMC5161
LS
LS
CFG0
CFG1
CFG2
CFG3
CFG4
CFG5
CFG6
RSB
Microstep Resolution
8 / 16 / 32 / 64
SRBH
47R
47R
Configuration
interface
(GND or VCC_IO
level)
Run Current Setting
16 / 18 / 20 / 22 /
24 / 26 / 28 / 31
RS
N
SRBL
CA2
S
Controller
Chopper
spreadCycle (GND) /
stealthChop (VCC_IO)
Current Reduction
Enable (VCC_IO)
B.Dwersteg, ©
TRINAMIC 2014
CB
CB
B.Dwersteg, ©
TRINAMIC 2014
HS
HS
CA1
DIAG1
DIAG0
Index pulse
Driver error
Status out
(open drain)
OA1
OA2
opt. ext. clock
12-16MHz
CLK_IN
LS
LS
+VIO
RSA
3.3V or 5V
I/O voltage
VCC_IO
SRAH
100n
47R
mode selection
RS
SRAL
pd
47R
:
Bootstrap capacitors CB
220nF to 470nF, 16V min.
+VIO
Standalone mode
opt. driver enable
Figure 24.1 Standalone operation with TMC5161 (pins shown with their standalone mode names)
To activate standalone mode, tie pin SPI_MODE to GND and pin SD_MODE high. In this mode, the
driver acts as a pure STEP and DIR driver. SPI and single wire are off. The driver works in spreadCycle
mode or stealthChop mode. With regard to the register set, the following settings are activated:
GCONF settings:
GCONF.diag0_error = 1: DIAG0 works in open drain mode and signals driver error.
GCONF.diag1_index = 1: DIAG1 works in open drain mode and signals microstep table index position.
The following settings are affected by the CFG pins in order to ensure correct configuration:
CFG0/CFG1: CONFIGURATION OF MICROSTEP RESOLUTION FOR STEP INPUT
CFG1
GND
GND
CFG0
GND
Microstep Setting
8 microsteps, MRES=5
VCC_IO 16 microsteps, MRES=4
32 microsteps, MRES=3
VCC_IO GND
VCC_IO VCC_IO 64 microsteps, MRES=2
www.trinamic.com