Datasheet
TMC4671 Datasheet • IC Version V1.3 | Document Revision V2.00 • 2020-Apr-17
49 / 142
4.6.12 Reference Switches
The TMC4671 is equipped with three input pins for reference switches (REF_SW_L, REF_SW_H and REF_SW_R).
These pins can be used to determine three reference positions. The TMC4671 displays the status of the
reference switches in the register TMC_INPUTS_RAW and is able to store the actual position at rising
edge of the corresponding signal. The signal polarities are programmable and the module reacts only on
toggling the ENABLE register. The signals can be filtered with a configurable digital filter, which suppresses
spike errors.
With the STATUS_FLAGS and STATUS_MASK register the STATUS output can be configured as an IRQ for
passing a reference switch.
The actual position can be latched when passing a reference switch. The latched positions are displayed in
registers HOME_POSITION, LEFT_POSITION, and RIGHT_POSITION. The position latching can be enabled
with REF_SWITCH_ENABLE. The polarity of each Reference switch can be changed with corresponding
polarity registers HOME_SWITCH_POLARITY, LEFT_SWITCH_POLARITY, and RIGHT_SWITCH_POLARITY. If a
reference switched is passed the corresponding status bit (HOME_SWITCH_PASSED, LEFT_SWITCH_PASSED,
and RIGHT_SWITCH_PASSED) is enabled. With disabling of the latching function the status bits are cleared.
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com