Datasheet

TMC4361A Datasheet | Document Revision 1.22 2017-JAN-12
81/230
© 2015 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany Terms of delivery and rights
to technical change reserved. Download newest version at: www.trinamic.com .
Read entire documentation; especially the Supplemental Directiveson page 224.
MAIN MANUAL
Pipelining Internal Parameters
TMC4361A provides a target pipeline for sequencing subordinate targets in order to easily
arrange a complex target structure.
The different target values must be assigned to the
X_PIPE0
7
register. If the target
pipeline is enabled, a new assignment cycle is initiated as soon as an internal start
signal is generated; moving the values
, as described,
simultaneously:
PROCESS DESCRIPTION:
A new
XTARGET
value is assigned that takes over the value of
X_PIPE0.
Every
X_PIPE
n register takes over the value of its successor:
X_PIPE
n =
X_PIPE
n+1
In order to activate the target pipeline, do as follows:
Action:
Set
pipeline_en
= b’0001 (
START_CONF
register 0x02).
Result:
The above mentioned process description is executed with every new internal start
signal prompting.
It is also possible to reassign the value of
XTARGET
to one (or more) of the pipeline
registers
X_PIPE0…7.
Thereby, a cyclic target pipeline is created.
In order to enable a cyclic target pipeline, do as follows:
Action:
Set
pipeline_en
= b’0001 (
START_CONF
register 0x02).
Set
XPIPE_REWRITE_REG
in relation to the pipeline register where
XTARGET
have
to written back (e.g.
XPIPE_REWRITE_REG
= b’00010000).
Result:
The above mentioned process description is executed with every new internal start
signal prompting, and
XTARGET
is written back to the selected
X_PIPEx
register (e.g.
XPIPE_REWRITE_REG
= 0x10
XTARGET
is written back to
X_PIPE4
).
The processes and actions described on the previous page, are depicted in the
following figure. The assignment cycle that is initiated when an internal start signal
occurs is depicted.
Figure 42: Target Pipeline with Configuration Options
37
38
39 X_PIPE1
3A X_PIPE2
3B X_PIPE3
3C X_PIPE4
3D X_PIPE5
3E X_PIPE6
3F X_PIPE7
XTARGET
X_PIPE0
XPIPE_REWRITE_REG(0) = '1'
XX XXXX
Register
address
Register name
Caption
pipeline_en = b’0001
pipeline_en = b’0001
X_PIPE_REWRITE_REG 0
XPIPE_REWRITE_REG(1) = '1'
XPIPE_REWRITE_REG(2) = '1'
XPIPE_REWRITE_REG(3) = '1'
XPIPE_REWRITE_REG(4) = '1'
XPIPE_REWRITE_REG(5) = '1'
XPIPE_REWRITE_REG(6) = '1'
XPIPE_REWRITE_REG(7) = '1'
Configuration
and Activation of
Target Pipeline
Configuration of
a cyclic Target
Pipeline