Datasheet

TMC4361A Datasheet | Document Revision 1.22 2017-JAN-12
62/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
Target Reached / Position Comparison
In this section, TARGET_REACHED output pin configuration options are explained, as well as
different ways how to compare different values internally.
TARGET_REACHED output pin forwards the
TARGET_REACHED_F
lag. As soon as
XACTUAL
equals
XTARGET
, TARGET_REACHED is active. Per default, the
TARGET_REACHED pin is high active.
To change the TARGET_REACHED output polarity, do the following:
Action:
Set
invert_pol_target_reached
= 1 (bit16 of the
GENERAL_CONF
register 0x00).
Result:
TARGET_REACHED pin is low active.
TARGET_REACHED pins can also be configured for a shared signal line in the same
way as several INTR pins can configured for one interrupt signal transfer (see
section 5.4. (page 27).
To use a Wired-Or or Wired-And behavior, the below described order of
action must be executed:
Action:
Step 1: Set
intr_tr_pu_pd_en
= 1 (
GENERAL_CONF
register 0x00).
OPTION 1: WIRED-OR
Action:
Step 2: Set
tr_as_wired_and
= 0 (
GENERAL_CONF
register 0x00).
Result:
The TARGET_REACHED pin works efficiently as Wired-Or (default configuration).
i In case TARGET_REACHED pin is inactive, the pin drive has a weak inactive
polarity output. During active state, the output is driven strongly. Consequently,
if one of the connected pins is activated, the whole line is set to active polarity.
OPTION 2: WIRED-AND
Action:
Step 2: Set
tr_as_wired_and
= 1 (
GENERAL_CONF
register 0x00).
Result:
As long as the target position is not reached, the TARGET_REACHED pin has a strong
inactive polarity output. During active state, the pin drive has a weak active polarity
output. Consequently, the whole signal line is activated if all connected pins are
forwarding the active polarity.
Target Reached
Output Pin
Connecting
several
Target-reached
Pins