
TMC428 DATA SHEET (V. 1.00 / February 12, 2001)
24
Copyright 2000, TRINAMIC Microchips GmbH
M I C R O C H I P S
24
Unused Address (IDX=%1111)
This register address (idx=1111) within each stepper motor register block {smda=00, 01, 10} is unused.
Writing to this register has no effect. Reading this register gives back the actual status bits and 24 data
bits set to ‘0’.
Global Parameter Registers
The registers addressed by
RRS=0
with
SMDA=%11
are global parameter registers. To emphasize this
difference, the
JDX
is used as index name instead of
IDX
.
datagram_low_word (JDX=%0000) & datagram_high_word (JDX=%0001)
The TMC428 stores datagrams send back from the stepper motor driver chain with a total length of up to
48 bits. The register
datagram_low_word
holds the lower 24 bits of this 48 bits and the register
datagram_high_word
holds the higher 24 bits of the 48 bits. These both registers together form a 48
bit shift register, where the data from pin
SDI_S
are shifted left into it with each datagram bit send to the
stepper motor driver chain via the signal
SDO_S
. A write to one of these read-only register addresses
initializes these registers, to update its contents with the next received datagram from the drivers chain.
cover_pos & cover_len (JDX=%0010)
The TMC428 provides direct sending of datagrams from the micro controller to the stepper motor drivers.
This may be necessary for initialization of different driver chips and useful for reconfiguration purposes. A
datagram with up to 24 bits can be transferred to the stepper motor driver by covering one datagram sent
to the drivers chain. The parameter
cover_pos
defines the position of the first datagram bit to be covered
by the
cover_datagram
(JDX=%0011)
of length
cover_len
. In contrast to the datagram numbering
order of bits the position count for the cover datagram starts with 0. The
cover_datagram
bits indexed
from cover_len-1 to 0 cover the datagram sent to the drivers chain.
Important:
A step bit used to control stepper motor drivers must not be covered.
This is because the coverage of a step bit would cause losing that associated step if the step bit is active.
The TMC428 stores
cover_pos+1
instead of
cover_pos
due to internal requirements. So, one writes
cover_pos
but reads back
cover_pos+1
.
cover_datagram (JDX=%0011)
This register holds up to 24 bit of a cover datagram. A cover datagram covers the next datagram sent to
the stepper motor driver chain. If no datagrams are sent to the drivers chain, the cover datagram is sent
immediately. The status of the cover datagram is mapped to the status bits sent back with each datagram
(see page 10,
CDGW
). This status bit is also available for readout of
cover_pos & cover_len
(JDX=%0010)
, where
CDGW
the most significant data bit (23). An example for the cover datagram is
given in Figure 10. In that example 7 bits cover 7 bits of a 48 bit datagram from bit number 39 to bit
number 46.