Configuring the IM4 as a Serial Module
IM4 Module Integration Guide
13
Serial Module Pinouts
Pin No.
Pin Name
Definition
Pin No.
Pin Name
Definition
1
GND
Ground Vss
35
GND
Ground Vss
2
SPI_SCLK
1
SPI clock out of IM4
36
CD1#
Card detect 1 (GND)
3 SPI_DO
1
SPI data out of IM4
37
AUX-OUT 3
3
User output 3
4
TXD
Transmit to host
38
AUX-OUT 4
3
User output 4
5
RTS#
Request to send to host
39
AUX-OUT 5
3
User output 5
6
DTR#
Data terminal ready to host 40
AUX-OUT 6
3
User output 6
7 NC
Not
connected
41 AUX-OUT
7
3
User output 7
8
Debug RXD
2
Serial debug into IM4
42
NC
Not connected
9
NC
Not connected
43
NC
Not connected
10
IrDA_L
‘1’ = RS232, ‘0’ = IrDA
44
IORD#
“I/O read from host”
11 Debug
CTS#
2
Debug clear to send
45
IOWR#
“I/O write from host”
12
NC
Not connected
46
RI#
Ring indicator from host
13
RXD
Receive from host
47
AUX-IN 0
User input 0
14
CTS#
Clear to send from host
48
AUX-IN 1
User input 1
15
NC
Not connected
49
AUX-IN 2
User input 2
16
NC
Not connected
50
AUX-IN 3
User input 3
17
Vcc
+5V for this IM4
51
Vcc
+5V for this IM4
18
NC
Not connected
52
NC
Not connected
19
CD#
Carrier detect from host
53
AUX-IN 4
User input 4
20
DSR#
Data set ready from host
54
AUX-IN 5
User input 5
21 SPI_DI
1
SPI data into IM4
55
AUX-IN 6
User input 6
22
NC
Not connected
56
AUX-IN 7
User input 7
23 NC
Not
connected
57 NC
Not
connected
24
NC
Not connected
58
RESET#
Reset_L to/from
IM4/host (open drain)
25 NC
Not
connected
59 NC
Not
connected
26
NC
Not connected
60
NC
Not connected
27 NC
Not
connected
61 NC
Not
connected
28
NC
Not connected
62
NC
Not connected
29 NC
Not
connected
63 NC
Not
connected
30
Debug TXD
2
Serial debug data from IM4 64
AUX-OUT 0
3
User output 0
31 Debug
RTS#
2
Debug request to send
65
AUX-OUT 1
3
User output 1
32
SPI_ENB#
1
SPI enable out
66
AUX-OUT 2
3
User output 2
33
NC
Not connected
67
CD2#
Card detect 2 (GND)
34
GND
Ground Vss
68
GND
Ground Vss
1
You must use software to enable an SPI channel. Until you enable this channel, inputs to it are ignored and outputs to
it are 3-stated.
2
The Debug signals are intended for use during any debug efforts. You can also configure these signals for use as a
second UART channel.
3
The Auxiliary outputs are 3-stated on power-up until they are written to the first time. During this condition, you
should provide pullups or pulldowns to keep any external logic disabled.