TMC4330A Datasheet | Document Revision 1.01 • 2017-JAN-12
49/166
8. Reference Switches
The reference input signals of the TMC4330A function partly as safety features. The TMC4330A
provides a range of reference switch settings that can be configured for many different
applications. The TMC4330A offers two hardware switches (STOPL, STOPR) and two additional
virtual stop switches (VIRT_STOP_LEFT, VIRT_STOP_RIGHT). A home reference switch
HOME_REF is also available.
Pins used for Reference Switches
Pin Names
Type
Remarks
STOPL
Input
Input
Input
Output
Left reference switch.
STOPR
Right reference switch.
HOME_REF
TARGET_REACHED
Home switch.
Reference switch to indicate XACTUAL=XTARGET.
Table 22: Pins used for Reference Switches
Dedicated Registers for Reference Switches
Register Address Remarks
Register Name
REFERENCE_CONF
0x01
0x1E
RW
RW
Configuration of interaction with reference pins.
Region of uncertainty around X_HOME.
HOME_SAFETY_MARGIN
Deceleration value if stop switches STOPL / STOPR or
virtual stops are used with soft stop ramps. The
deceleration value allows for an automatic linear stop
ramp.
DSTOP
0x2C
RW
POS_COMP
0x32
0x33
RW
RW
Free configurable compare position; signed; 32 bits.
Virtual left stop that triggers a stop event at
XACTUAL ≤ VIRT_STOP_LEFT; signed; 32 bits.
Virtual left stop that triggers a stop event at
XACTUAL ≥ VIRT_STOP_RIGHT; signed; 32 bits.
VIRT_STOP_LEFT
VIRT_STOP_RIGHT
0x34
RW
X_HOME
X_LATCH
0x35
0x36
RW
RW
Home reference position; signed; 32 bits.
Stores XACTUAL at different conditions; signed; 32 bits.
Table 23: Dedicated Registers for Reference Switches
© 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 Directives” on page 160.
MAIN MANUAL