TMCM-342 Manual V1.01
15/26
Copyright © 2008, TRINAMIC Motion Control GmbH & Co. KG
5.5.2
Connecting the TMCM-342 to drivers with an SPI-Interface
The pins connecting the TMCM-342 with the Add-On-Board using the SPI-Interface are listed in Table
5.6. This is only listed here for the sake of completeness. It is not directly supported by the firmware
of the TMCM-342. Please use the TMCM-341 for using SPI motor drivers.
Pin Number
Direction
Name
Limits
Description
20
Out
nSCS0
TTL
Chip Select for Driver 0
22
Out
nSCS1
TTL
Chip Select for Driver 1
24
Out
nSCS2
TTL
Chip Select for Driver 2
26
Out
SPI_M0_OUT
TTL
SPI Data In for Driver 0
28
Out
SPI_M0_CLK
TTL
SPI Clock for Driver 0
30
Out
SPI_M1_OUT
TTL
SPI Data In for Driver 1
32
Out
SPI_M1_CLK
TTL
SPI Clock for Driver 1
34
Out
SPI_M2_OUT
TTL
SPI Data In for Driver 2
36
Out
SPI_M2_CLK
TTL
SPI Clock for Driver 2
38
In
SPI_M0_IN
TTL
SPI Data Out for Driver 0
40
In
SPI_M1_IN
TTL
SPI Data Out for Driver 1
42
In
SPI_M2_IN
TTL
SPI Data Out for Driver 2
Table 5.6: Pinout for the connections using the SPI-Interface
TMCM-342
µC
EEPROM
TMC428
CAN
Host
Communication
5 VDC
RS-232 / RS-485
Reference
Switches
Driver,
w/o SDO
Driver
Driver,
w/o SDO
nSCS0
nSCS1
nSCS2
n
SC
S1
n
SC
S2
n
SC
S3
SDI_S
SDI_S
SDI_S
SCK_S
SCK_S
SCK_S
SDO_S
Motor 0
Motor 1
Motor 2
+5V
external
pullups
Figure 5.10: Application Environment using the SPI-Interface