Difference between revisions of "Serial Cable"

From LinuxMIPS
Jump to: navigation, search
m (Minor readability improvements)
m (How to connect the connectors: Heading tweak)
Line 50: Line 50:
 
{| cellpadding="5" cellspacing="0"
 
{| cellpadding="5" cellspacing="0"
 
|- style="background: #fcc;"
 
|- style="background: #fcc;"
!colspan="3"| From (MiniDin8)
+
!colspan="2"| From           || MiniDin8 Pin
 
! -->
 
! -->
!colspan="4"| To
+
!colspan="2"| To                                                               || DB9 Pin || DB25 Pin
 
|- style="background: #fec;"
 
|- style="background: #fec;"
| DTR || Data Terminal Ready || Pin 1      || --> || DSR || Data Set Ready      || DB9: Pin 6 || DB25: Pin 6
+
| DTR || Data Terminal Ready || Pin 1      || --> || DSR || Data Set Ready      || Pin 6 || Pin 6
 
|- style="background: #ffc;"
 
|- style="background: #ffc;"
| CTS || Clear To Send      || Pin 2      || --> || RTS || Request To Send    || DB9: Pin 7 || DB25: Pin 4
+
| CTS || Clear To Send      || Pin 2      || --> || RTS || Request To Send    || Pin 7 || Pin 4
 
|- style="background: #fec;"
 
|- style="background: #fec;"
| TD  || Transmit Data      || Pin 3      || --> || RD  || Receive Data        || DB9: Pin 2 || DB25: Pin 3
+
| TD  || Transmit Data      || Pin 3      || --> || RD  || Receive Data        || Pin 2 || Pin 3
 
|- style="background: #ffc;"
 
|- style="background: #ffc;"
| SG  || Signal Ground      || Pins 4 & 8 || --> || SG  || Signal Ground      || DB9: Pin 5 || DB25: Pin 7
+
| SG  || Signal Ground      || Pins 4 & 8 || --> || SG  || Signal Ground      || Pin 5 || Pin 7
 
|- style="background: #fec;"
 
|- style="background: #fec;"
| RD  || Receive Data        || Pin 5      || --> || TD  || Transmit Data      || DB9: Pin 3 || DB25: Pin 2
+
| RD  || Receive Data        || Pin 5      || --> || TD  || Transmit Data      || Pin 3 || Pin 2
 
|- style="background: #ffc;"
 
|- style="background: #ffc;"
| RTS || Request To Send    || Pin 6      || --> || CTS || Clear To Send      || DB9: Pin 8 || DB25: Pin 5
+
| RTS || Request To Send    || Pin 6      || --> || CTS || Clear To Send      || Pin 8 || Pin 5
 
|- style="background: #fec;"
 
|- style="background: #fec;"
| DCD || Data Carrier Detect || Pin 7      || --> || DTR || Data Terminal Ready || DB9: Pin 4 || DB25: Pin 20
+
| DCD || Data Carrier Detect || Pin 7      || --> || DTR || Data Terminal Ready || Pin 4 || Pin 20
 
|- style="background: #ffc;"
 
|- style="background: #ffc;"
|colspan="3"| Shield                      || --> ||  -  || Protective Ground  || - || DB25: Pin 1
+
|colspan="3"| Shield                      || --> ||  -  || Protective Ground  || -       || Pin 1
 
|}
 
|}
  
Line 79: Line 79:
 
{| cellpadding="5" cellspacing="0"
 
{| cellpadding="5" cellspacing="0"
 
|- style="background: #fcc;"
 
|- style="background: #fcc;"
!colspan="3"| From (MiniDin8)
+
!colspan="2"| From           || MiniDin8 Pin
 
! -->
 
! -->
!colspan="4"| To
+
!colspan="2"| To                                                               || DB9 Pin || DB25 Pin
 
|- style="background: #fec;"
 
|- style="background: #fec;"
| DTR || Data Terminal Ready || Pin 1      || --> || DTR || Data Terminal Ready || DB9: Pin 4 || DB25: Pin 20
+
| DTR || Data Terminal Ready || Pin 1      || --> || DTR || Data Terminal Ready || Pin 4   || Pin 20
 
|- style="background: #ffc;"
 
|- style="background: #ffc;"
| CTS || Clear To Send      || Pin 2      || --> || CTS || Clear To Send      || DB9: Pin 8 || DB25: Pin 5
+
| CTS || Clear To Send      || Pin 2      || --> || CTS || Clear To Send      || Pin 8   || Pin 5
 
|- style="background: #fec;"
 
|- style="background: #fec;"
| TD  || Transmit Data      || Pin 3      || --> || TD  || Transmit Data      || DB9: Pin 3 || DB25: Pin 2
+
| TD  || Transmit Data      || Pin 3      || --> || TD  || Transmit Data      || Pin 3   || Pin 2
 
|- style="background: #ffc;"
 
|- style="background: #ffc;"
| SG  || Signal Ground      || Pins 4 & 8 || --> || SG  || Signal Ground      || DB9: Pin 5 || DB25: Pin 7
+
| SG  || Signal Ground      || Pins 4 & 8 || --> || SG  || Signal Ground      || Pin 5   || Pin 7
 
|- style="background: #fec;"
 
|- style="background: #fec;"
| RD  || Receive Data        || Pin 5      || --> || RD  || Receive Data        || DB9: Pin 2 || DB25: Pin 3
+
| RD  || Receive Data        || Pin 5      || --> || RD  || Receive Data        || Pin 2   || Pin 3
 
|- style="background: #ffc;"
 
|- style="background: #ffc;"
| RTS || Request To Send    || Pin 6      || --> || RTS || Request To Send    || DB9: Pin 7 || DB25: Pin 4
+
| RTS || Request To Send    || Pin 6      || --> || RTS || Request To Send    || Pin 7   || Pin 4
 
|- style="background: #fec;"
 
|- style="background: #fec;"
| DCD || Data Carrier Detect || Pin 7      || --> || DCD || Data Carrier Detect || DB9: Pin 1 || DB25: Pin 8
+
| DCD || Data Carrier Detect || Pin 7      || --> || DCD || Data Carrier Detect || Pin 1   || Pin 8
 
|- style="background: #ffc;"
 
|- style="background: #ffc;"
|colspan="3"| Shield                      || --> ||  -  || Protective Ground  || -         || DB25: Pin 1
+
|colspan="3"| Shield                      || --> ||  -  || Protective Ground  || -       || Pin 1
 
|}
 
|}

Revision as of 01:58, 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 Pin --> To DB9 Pin DB25 Pin
DTR Data Terminal Ready Pin 1 --> DSR Data Set Ready Pin 6 Pin 6
CTS Clear To Send Pin 2 --> RTS Request To Send Pin 7 Pin 4
TD Transmit Data Pin 3 --> RD Receive Data Pin 2 Pin 3
SG Signal Ground Pins 4 & 8 --> SG Signal Ground Pin 5 Pin 7
RD Receive Data Pin 5 --> TD Transmit Data Pin 3 Pin 2
RTS Request To Send Pin 6 --> CTS Clear To Send Pin 8 Pin 5
DCD Data Carrier Detect Pin 7 --> DTR Data Terminal Ready Pin 4 Pin 20
Shield --> - Protective Ground - 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 Pin --> To DB9 Pin DB25 Pin
DTR Data Terminal Ready Pin 1 --> DTR Data Terminal Ready Pin 4 Pin 20
CTS Clear To Send Pin 2 --> CTS Clear To Send Pin 8 Pin 5
TD Transmit Data Pin 3 --> TD Transmit Data Pin 3 Pin 2
SG Signal Ground Pins 4 & 8 --> SG Signal Ground Pin 5 Pin 7
RD Receive Data Pin 5 --> RD Receive Data Pin 2 Pin 3
RTS Request To Send Pin 6 --> RTS Request To Send Pin 7 Pin 4
DCD Data Carrier Detect Pin 7 --> DCD Data Carrier Detect Pin 1 Pin 8
Shield --> - Protective Ground - Pin 1