Difference between revisions of "Serial Cable"

From LinuxMIPS
Jump to: navigation, search
m (Serial connector pinouts: Repaced the ASCII-art table with a true HTML table in Wiki syntax)
m (Minor readability improvements)
Line 9: Line 9:
 
<td>
 
<td>
 
[[Image:Minidin8-serial.png]]
 
[[Image:Minidin8-serial.png]]
</td>
+
</td>Data Set Ready   
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 18: Line 18:
 
</table>
 
</table>
  
{| border="1" cellpadding="2"
+
{| cellpadding="5" cellspacing="0"
| Name (V24) || DB25 Pin# || DB9 Pin# || MiniDIN8 Pin# || Direction || Full Name || Remarks
+
|- style="background: #fcc;"
|-
+
! Name (V24) || DB25 Pin# || DB9 Pin# || MiniDIN8 Pin# || Direction || Full Name || Remarks
 +
|- style="background: #fec;"
 
| TxD ||  2 || 3 ||  3  || Out || Transmit Data      || Data
 
| TxD ||  2 || 3 ||  3  || Out || Transmit Data      || Data
|-
+
|- style="background: #ffc;"
 
| RxD ||  3 || 2 ||  5  ||  In || Receive Data        || Data
 
| RxD ||  3 || 2 ||  5  ||  In || Receive Data        || Data
|-
+
|- style="background: #fec;"
 
| RTS ||  4 || 7 ||  6  || Out || Request To Send    || Handshaking
 
| RTS ||  4 || 7 ||  6  || Out || Request To Send    || Handshaking
|-
+
|- style="background: #ffc;"
 
| CTS ||  5 || 8 ||  2  ||  In || Clear To Send      || Handshaking
 
| CTS ||  5 || 8 ||  2  ||  In || Clear To Send      || Handshaking
|-
+
|- style="background: #fec;"
 
| DTR || 20 || 4 ||  1  || Out || Data Terminal Ready || Status
 
| DTR || 20 || 4 ||  1  || Out || Data Terminal Ready || Status
|-
+
|- style="background: #ffc;"
 
| DSR ||  6 || 6 ||  -  ||  In || Data Set Ready      || Status
 
| DSR ||  6 || 6 ||  -  ||  In || Data Set Ready      || Status
|-
+
|- style="background: #fec;"
 
| RI  || 22 || 9 ||  -  ||  In || Ring Indicator      || Status
 
| RI  || 22 || 9 ||  -  ||  In || Ring Indicator      || Status
|-
+
|- style="background: #ffc;"
 
| DCD ||  8 || 1 ||  7  ||  In || Data Carrier Detect || Status
 
| DCD ||  8 || 1 ||  7  ||  In || Data Carrier Detect || Status
|-
+
|- style="background: #fec;"
 
| GND ||  7 || 5 || 4,8 ||  -  || Signal ground      || Reference level
 
| GND ||  7 || 5 || 4,8 ||  -  || Signal ground      || Reference level
|-
+
|- style="background: #ffc;"
 
|  -  ||  1 || - ||  -  ||  -  || Protective ground  || Don't use this one as signal ground!
 
|  -  ||  1 || - ||  -  ||  -  || Protective ground  || Don't use this one as signal ground!
 
|}
 
|}
  
 
== How to connect the connectors ==
 
== How to connect the connectors ==
 +
=== Null-modem Cable ===
  
<pre>
+
This cable will allow you to hook the MiniDIN8 port directly up to a standard RS-232 port on another computer.
  ----------------------------------------------------------------------
+
 
  DTR - Data Terminal Ready   1 |   6  DSR - Data Set Ready
+
{| cellpadding="5" cellspacing="0"
  CTS - Clear To Send         2 |   4  RTS
+
|- style="background: #fcc;"
  TD  - Transmit Data         3 |   3   RD
+
!colspan="3"| From (MiniDin8)
  SG  - Signal Ground      4,8 |   7  SG
+
! -->
  RD  - Receive Data         5 |   2  TD
+
!colspan="4"| To
  RTS - Request To Send       6 |   5  CTS
+
|- style="background: #fec;"
  DCD - Data Carrier Detect   7 | 20  DTR
+
| DTR || Data Terminal Ready || Pin 1     || --> || DSR || Data Set Ready     || DB9: Pin 6 || DB25: Pin 6
                        Shield |   1  Protective Ground
+
|- style="background: #ffc;"
</pre>
+
| CTS || Clear To Send       || Pin 2     || --> || RTS || Request To Send    || DB9: Pin 7 || DB25: Pin 4
 +
|- style="background: #fec;"
 +
| TD  || Transmit Data       || Pin 3     || --> || RD || Receive Data        || DB9: Pin 2 || DB25: Pin 3
 +
|- style="background: #ffc;"
 +
| SG  || Signal Ground      || Pins 4 & 8 || --> || SG || Signal Ground      || DB9: Pin 5 || DB25: Pin 7
 +
|- style="background: #fec;"
 +
| RD  || Receive Data       || Pin 5     || --> || TD || Transmit Data      || DB9: Pin 3 || DB25: Pin 2
 +
|- style="background: #ffc;"
 +
| RTS || Request To Send     || Pin 6     || --> || CTS || Clear To Send      || DB9: Pin 8 || DB25: Pin 5
 +
|- style="background: #fec;"
 +
| DCD || Data Carrier Detect || Pin 7     || --> || DTR || Data Terminal Ready || DB9: Pin 4 || DB25: Pin 20
 +
|- style="background: #ffc;"
 +
|colspan="3"| Shield                       || --> ||  -  || Protective Ground   || - || DB25: Pin 1
 +
|}
  
 
It it might be needed to have a connection between pin 20 and pin 8 on the Sub-D 25 connector to have your terminal do a carrier detect.  SGI is using the same pin-pout for it's 8-pin mini-DIN connectors as Apple for it's machines.  Therefor cables and adapters suitable for use with Apple system may be used.
 
It it might be needed to have a connection between pin 20 and pin 8 on the Sub-D 25 connector to have your terminal do a carrier detect.  SGI is using the same pin-pout for it's 8-pin mini-DIN connectors as Apple for it's machines.  Therefor cables and adapters suitable for use with Apple system may be used.
 +
 +
=== Straight-Thru Cable ===
 +
 +
This cable will allow you to hook the MiniDIN8 port into an RS-232 device such as a modem.
 +
 +
{| cellpadding="5" cellspacing="0"
 +
|- style="background: #fcc;"
 +
!colspan="3"| From (MiniDin8)
 +
! -->
 +
!colspan="4"| To
 +
|- style="background: #fec;"
 +
| DTR || Data Terminal Ready || Pin 1      || --> || DTR || Data Terminal Ready || DB9: Pin 4 || DB25: Pin 20
 +
|- style="background: #ffc;"
 +
| CTS || Clear To Send      || Pin 2      || --> || CTS || Clear To Send      || DB9: Pin 8 || DB25: Pin 5
 +
|- style="background: #fec;"
 +
| TD  || Transmit Data      || Pin 3      || --> || TD  || Transmit Data      || DB9: Pin 3 || DB25: Pin 2
 +
|- style="background: #ffc;"
 +
| SG  || Signal Ground      || Pins 4 & 8 || --> || SG  || Signal Ground      || DB9: Pin 5 || DB25: Pin 7
 +
|- style="background: #fec;"
 +
| RD  || Receive Data        || Pin 5      || --> || RD  || Receive Data        || DB9: Pin 2 || DB25: Pin 3
 +
|- style="background: #ffc;"
 +
| RTS || Request To Send    || Pin 6      || --> || RTS || Request To Send    || DB9: Pin 7 || DB25: Pin 4
 +
|- style="background: #fec;"
 +
| DCD || Data Carrier Detect || Pin 7      || --> || DCD || Data Carrier Detect || DB9: Pin 1 || DB25: Pin 8
 +
|- style="background: #ffc;"
 +
|colspan="3"| Shield                      || --> ||  -  || Protective Ground  || -          || DB25: Pin 1
 +
|}

Revision as of 01:54, 24 September 2005

This is the way you need to solder your cable.

Serial connector pinouts

Data Set Ready

Db9-serial.png

Minidin8-serial.png

Db25-serial.png

Name (V24) DB25 Pin# DB9 Pin# MiniDIN8 Pin# Direction Full Name Remarks
TxD 2 3 3 Out Transmit Data Data
RxD 3 2 5 In Receive Data Data
RTS 4 7 6 Out Request To Send Handshaking
CTS 5 8 2 In Clear To Send Handshaking
DTR 20 4 1 Out Data Terminal Ready Status
DSR 6 6 - In Data Set Ready Status
RI 22 9 - In Ring Indicator Status
DCD 8 1 7 In Data Carrier Detect Status
GND 7 5 4,8 - Signal ground Reference level
- 1 - - - Protective ground Don't use this one as signal ground!

How to connect the connectors

Null-modem Cable

This cable will allow you to hook the MiniDIN8 port directly up to a standard RS-232 port on another computer.

From (MiniDin8) --> To
DTR Data Terminal Ready Pin 1 --> DSR Data Set Ready DB9: Pin 6 DB25: Pin 6
CTS Clear To Send Pin 2 --> RTS Request To Send DB9: Pin 7 DB25: Pin 4
TD Transmit Data Pin 3 --> RD Receive Data DB9: Pin 2 DB25: Pin 3
SG Signal Ground Pins 4 & 8 --> SG Signal Ground DB9: Pin 5 DB25: Pin 7
RD Receive Data Pin 5 --> TD Transmit Data DB9: Pin 3 DB25: Pin 2
RTS Request To Send Pin 6 --> CTS Clear To Send DB9: Pin 8 DB25: Pin 5
DCD Data Carrier Detect Pin 7 --> DTR Data Terminal Ready DB9: Pin 4 DB25: Pin 20
Shield --> - Protective Ground - DB25: Pin 1

It it might be needed to have a connection between pin 20 and pin 8 on the Sub-D 25 connector to have your terminal do a carrier detect. SGI is using the same pin-pout for it's 8-pin mini-DIN connectors as Apple for it's machines. Therefor cables and adapters suitable for use with Apple system may be used.

Straight-Thru Cable

This cable will allow you to hook the MiniDIN8 port into an RS-232 device such as a modem.

From (MiniDin8) --> To
DTR Data Terminal Ready Pin 1 --> DTR Data Terminal Ready DB9: Pin 4 DB25: Pin 20
CTS Clear To Send Pin 2 --> CTS Clear To Send DB9: Pin 8 DB25: Pin 5
TD Transmit Data Pin 3 --> TD Transmit Data DB9: Pin 3 DB25: Pin 2
SG Signal Ground Pins 4 & 8 --> SG Signal Ground DB9: Pin 5 DB25: Pin 7
RD Receive Data Pin 5 --> RD Receive Data DB9: Pin 2 DB25: Pin 3
RTS Request To Send Pin 6 --> RTS Request To Send DB9: Pin 7 DB25: Pin 4
DCD Data Carrier Detect Pin 7 --> DCD Data Carrier Detect DB9: Pin 1 DB25: Pin 8
Shield --> - Protective Ground - DB25: Pin 1