Datasheet

TMC2130 DATASHEET (Rev. 1.09 / 2017-MAY-15) 85
www.trinamic.com
24 Standalone Operation
For standalone operation, no SPI interface is required to configure the TMC2130. All pins with suffix
CFG0 to CFG6 have a special meaning in this mode. They are evaluated using tristate detection, in
order to differentiate between
- CFG pin tied to GND
- CFG pin open (no connection)
- CFG pin tied to VCC_IO
VCC_IO
TMC2130
Step&Dir input
with microPlyer
STEP
DIR
5V Voltage
regulator
charge pump
22n
63V
100n
16V
CLK_IN
+V
M
5VOUT
VSA
4.7µ
+V
IO
DRV_ENN
GNDP
GNDA
TST_MODE
DIE PAD
VCC
opt. ext. clock
12-16MHz
3.3V or 5V
I/O voltage
100n
100n
Sequencer
Full Bridge A
Full Bridge B
+V
M
VS
stepper
motor
N
S
OA1
OA2
OB1
OB2
Driver
100n
BRB
100µF
CPI
CPO
BRA
R
SA
Use low inductivity SMD
type, e.g. 1206, 0.5W
R
SB
100n
VCP
Optional use lower
voltage down to 6V
2R2
470n
DAC Reference
AIN_IREF
IREF
Use low inductivity SMD
type, e.g. 1206, 0.5W
opt. driver enable
Status out
(open drain)
Configuration
interface
with TRISTATE
detection
CFG0
CFG1
CFG3
CFG2
DIAG0
DIAG1
TRISTATE configuration
(GND, VCC_IO or open)
Index pulse
Driver error
CFG4
CFG5
DRV_ENN_CFG6
Opt. driver
enable input
GNDD
B.Dwersteg, ©
TRINAMIC 2014
SPI_MODE
Figure 24.1 Standalone operation with TMC2130 (pins shown with their standalone mode names)
To activate standalone mode, tie pin SPI_MODE to GND. SPI is 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: SETS CHOPPER OFF TIME (DURATION OF SLOW DECAY PHASE)
CFG0
TOFF Setting
Registers
GND
140 T
CLK
(recommended, most universal choice)
TOFF=4
VCC_IO
236 T
CLK
TOFF=7
open
332 T
CLK
TOFF=10