
TMC428 DATA SHEET (V. 1.00 / February 12, 2001)
27
Copyright 2000, TRINAMIC Microchips GmbH
M I C R O C H I P S
27
So, the range of
clk2_div
is
{7, 8, 9, . . ., 125, 126, 127}
. The default value after power-on reset is
clk2_div = 15
. The clock frequency of
SCK_S
should be set as high as possible by choice of the parameter
clk2_div
in consideration of the data clock frequency limit defined by the slowest stepper motor driver
chip of the daisy chain. If step frequencies reach the order of magnitude of the maximum datagram
frequency– determined by the clock frequency of
SCK_S
and by the datagram length –the step
frequencies may vary, which is an inherent property of that serial communication. Either if variations of
step frequencies are acceptable or not depends on the application. Using high resolution micro stepping
driver chips– as provided by TMC289 / TMC288 driver chips –avoids this problem.
The TMC428 sends datagrams to the stepper motor driver chain on demand if
continuous_update
is ‘0’.
This reduces the communication traffic. The reference switches are processed while datagrams are send to
the stepper motor driver chain only. If reference switches are configured to stop associated stepper motors
automatically, the configuration bit
continuous_update
must be set to ‘1’ to force periodic sending of
datagrams to the stepper motor driver chain and to sample the reference switches periodically, also if all
stepper motors are at rest. With this, a stepper motor restarts if its associated reference switch becomes
inactive. Without continuous update, a stepper motor stopped automatically by a reference switch would
stay at rest until a datagram is send to the stepper motor driver chain, also if its reference switch becomes
inactive. Than, the relevant stepper motor can be moved in the opposite direction of the reference switch
or in can be moved in both directions by disabling the automatic stop function.
A1
SCK_S
SDO_S
SDI_S
nSCS_S
REF2
REF3
REF1
TEST
GND
SDI_C
nSCS_C
SCK_C
SDO_C
CLK
V5
V33
TMC428
A0
A
< MUX
B
C
D
B1
B0
C1
C0
D1
D0
SEL1/ /0
/EN
REF_SW1_LEFT
REF_SW1_RIGHT
REF_SW2_LEFT
REF_SW2_RIGHT
REF_SW3_LEFT
REF_SW3_RIGHT
+VCC
74HC157
Figure 11 - Reference Switch Multiplexing with 74HC157 (refmux=1)
SCK_S
SDO_S
SDI_S
nSCS_S
REF2
REF3
REF1
TEST
GND
SDI_C
nSCS_C
SCK_C
SDO_C
CLK
V5
V33
TMC428
+VCC
R
+VCC
R
R
+VCC
no reference switch for stepper motor 3
Figure 12 – Two-One-Null Reference Switch Configuration for mot1r=1 (and refmux=0)