TMCM-1140 V1.3 Hardware Manual (Rev. 1.04 / 2015-JAN-05)
12
3.3.2.1 Digital Inputs IN_1, IN_2, IN_3
The eight pin connector of the TMCM-1140 provides three multipurpose digital inputs IN_1, IN_2 and
IN_3. All three inputs accept up to +24V (nom.) input signals and offer the same input circuit with voltage
resistor dividers, limiting diodes against over- and under-voltage and programmable 2k2 pull-up resistors.
The pull-ups can be switched on or off for all three inputs at once in software.
With TMCL firmware command SIO 0, 0, 0 will switch-off the pull-ups and command SIO 0, 0, 1
will switch them on (see separate TMCL firmware manual, command SIO for more detailed information).
common switch for all
three digital inputs
(programmable in software)
+5V
2k2
IN_1,
IN_2,
IN_3
+3.3V
15k
22k
microcontroller (all)
and TMC429 (STOP_L,
STOP_R)
33pF
GND
GND
GND
Figure 3.7 General purpose inputs (simplified input circuit)
The three digital inputs have alternate functionality depending on configuration in software. The
following functions are available:
Label Default function
(pin)
Alternate function 1
Alternate function 2
IN_1
(6)
General purpose digital input
STOP_L - left stop switch input,
connected to processor and TMC429 incremental
ENC_A
-
external
encoder
TMCL: GIO 1, 0 // get digital REF input (supporting left stop input
channel
A,
value of input IN_1
functionality in hardware)
connected to processor
encoder counter input
TMCL: GAP 11, 0 // get digital value
of STOP_L input
IN_2
(7)
General purpose digital input
STOP_R - right stop switch input,
connected to processor and TMC429 incremental
ENC_B
-
external
encoder
TMCL: GIO 2, 0 // get digital REF input (supporting right stop input
channel
B,
value of input IN_2
switch functionality in hardware)
connected to processor
encoder counter input
TMCL: GAP 10, 0 // get digital value
of STOP_R input
IN_3
(8)
General purpose digital input
HOME - home switch input,
connected to processor
ENC_N
incremental
input index
-
external
encoder
TMCL: GIO 3, 0 // get digital
/
zero
value of input IN_3
TMCL: GAP 9, 0 // get digital value channel, connected to
of HOME input processor interrupt input
Table 3.4 Multipurpose inputs / alternate functions
www.trinamic.com