User Manual

TMC5031-EVAL Manual / Firmware V1.00 (Rev. 1.00 / 2013-FEB-22) 20
www.trinamic.com
0X34, 0X54: SW_MODE REFERENCE SWITCH AND STALLGUARD2 EVENT CONFIGURATION REGISTER
Bit
Name
Comment
3
pol_stop_r
Sets the polarity of the right reference switch input (0=neg., 1=pos.)
2
pol_stop_l
Sets the polarity of the left reference switch input (0=neg., 1=pos.)
1
stop_r_enable
1: Enables automatic motor stop during active right reference switch input
Hint: The motor restarts in case the stop switch becomes released.
0
stop_l_enable
1: Enables automatic motor stop during active left reference switch input
Hint: The motor restarts in case the stop switch becomes released.
Table 6.3 SW_MODE register