Difference between revisions of "Serial Cable"

From LinuxMIPS
Jump to: navigation, search
 
m (Extelnal links: Speeling)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
This is the way you need to solder your cable.
 
This is the way you need to solder your cable.
  
Crossed Serial Cable Pinout
+
== Serial connector pinouts ==
 +
<table>
 +
<tr>
 +
<td>
 +
[[Image:Db9-serial.png]]
 +
</td>
 +
<td>
 +
[[Image:Minidin8-serial.png]]
 +
</td>
 +
</tr>
 +
<tr>
 +
<td colspan="2">
 +
[[Image:Db25-serial.png]]
 +
</td>
 +
</tr>
 +
</table>
  
<pre>
+
{| cellpadding="5" cellspacing="0"
          SGI-Mini-DIN-8      |               Sub-D 25
+
|- style="background: #fcc;"
              (male)           |               (female)
+
! Name (V24) || DB25 Pin# || DB9 Pin# || MiniDIN8 Pin# || Direction || Full Name || Remarks
  ----------------------------------------------------------------------
+
|- style="background: #fec;"
              6 7 8            | 13 12 11 10 9 8 7 6 4 3 2 1
+
| TxD || 2 || 3 || 3 || Out || Transmit Data      || Data
              3 4 5           |   25 24 23 22 21 20 19 18 17 16 15 14
+
|- style="background: #ffc;"
                1 2             |
+
| RxD || 3 || 2 || || In || Receive Data        || Data
  ----------------------------------------------------------------------
+
|- style="background: #fec;"
  DTR - Data Terminal Ready   1 |   6  DSR - Data Set Ready
+
| RTS || 4 || 7 || 6  || Out || Request To Send    || Handshaking
  CTS - Clear To Send        2 |   4  RTS
+
|- style="background: #ffc;"
  TD - Transmit Data        3 |   3  RD
+
| CTS ||  5 || 8 ||  2 || In || Clear To Send      || Handshaking
  SG - Signal Ground      4,8 |   7   SG
+
|- style="background: #fec;"
  RD - Receive Data         5 |   2  TD
+
| DTR || 20 || 4 ||  1  || Out || Data Terminal Ready || Status
  RTS - Request To Send      6 |   5   CTS
+
|- style="background: #ffc;"
  DCD - Data Carrier Detect  7 20  DTR
+
| DSR ||  6 || 6 ||  - ||  In || Data Set Ready     || Status
                        Shield |   1   Protective Ground
+
|- style="background: #fec;"
</pre>
+
| RI  || 22 || 9 || - |In || Ring Indicator      || Status
 +
|- style="background: #ffc;"
 +
| DCD ||  8 || 1 ||  ||  In || Data Carrier Detect || Status
 +
|- style="background: #fec;"
 +
| GND ||  7 || 5 || 4,8 ||  -  || Signal ground      || Reference level
 +
|- style="background: #ffc;"
 +
|1 || - ||  -  ||  -  || Protective ground  || Don't use this one as signal ground!
 +
|}
  
Thiemo also said that 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.
+
== How to connect the connectors ==
Both numberings are done looking to the front of the connectors - not the soldering site ! (Note the male / female).
+
=== Null-modem Cable ===
 +
 
 +
This cable will allow you to hook the MiniDIN8 port directly up to a standard RS-232 port on another computer.
 +
 
 +
{| cellpadding="5" cellspacing="0"
 +
|- style="background: #fcc;"
 +
!colspan="2"| From          || MiniDin8 Pin
 +
! -->
 +
!colspan="2"| To                                                                || DB9 Pin || DB25 Pin
 +
|- style="background: #fec;"
 +
| DTR || Data Terminal Ready || Pin 1      || --> || DSR || Data Set Ready      ||  Pin 6  || Pin 6
 +
|- style="background: #ffc;"
 +
| CTS || Clear To Send      || Pin 2      || --> || RTS || Request To Send    ||  Pin 7  || Pin 4
 +
|- style="background: #fec;"
 +
| TD  || Transmit Data      || Pin 3      || --> || RD  || Receive Data        ||  Pin 2  || Pin 3
 +
|- style="background: #ffc;"
 +
| SG  || Signal Ground      || Pins 4 & 8 || --> || SG  || Signal Ground      ||  Pin 5  || Pin 7
 +
|- style="background: #fec;"
 +
| RD  || Receive Data        || Pin 5      || --> || TD  || Transmit Data      ||  Pin 3  || Pin 2
 +
|- style="background: #ffc;"
 +
| RTS || Request To Send    || Pin 6      || --> || CTS || Clear To Send      ||  Pin 8  || Pin 5
 +
|- style="background: #fec;"
 +
| DCD || Data Carrier Detect || Pin 7      || --> || DTR || Data Terminal Ready ||  Pin 4  || Pin 20
 +
|- style="background: #ffc;"
 +
|colspan="3"| 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.
 +
 
 +
{| cellpadding="5" cellspacing="0"
 +
|- style="background: #fcc;"
 +
!colspan="2"| From          || MiniDin8 Pin
 +
! -->
 +
!colspan="2"| To                                                                || DB9 Pin || DB25 Pin
 +
|- style="background: #fec;"
 +
| DTR || Data Terminal Ready || Pin 1      || --> || DTR || Data Terminal Ready || Pin 4  || Pin 20
 +
|- style="background: #ffc;"
 +
| CTS || Clear To Send      || Pin 2      || --> || CTS || Clear To Send      || Pin 8  || Pin 5
 +
|- style="background: #fec;"
 +
| TD  || Transmit Data      || Pin 3      || --> || TD  || Transmit Data      || Pin 3  || Pin 2
 +
|- style="background: #ffc;"
 +
| SG  || Signal Ground      || Pins 4 & 8 || --> || SG  || Signal Ground      || Pin 5  || Pin 7
 +
|- style="background: #fec;"
 +
| RD  || Receive Data        || Pin 5      || --> || RD  || Receive Data        || Pin 2  || Pin 3
 +
|- style="background: #ffc;"
 +
| RTS || Request To Send    || Pin 6      || --> || RTS || Request To Send    || Pin 7  || Pin 4
 +
|- style="background: #fec;"
 +
| DCD || Data Carrier Detect || Pin 7      || --> || DCD || Data Carrier Detect || Pin 1  || Pin 8
 +
|- style="background: #ffc;"
 +
|colspan="3"| Shield                      || --> ||  -  || Protective Ground  || -      || Pin 1
 +
|}
 +
 
 +
== External links ==
 +
* [http://www.irisindigo.com/index.php/Indigo_Pinouts Indigo Pinouts]

Latest revision as of 04:19, 8 January 2008

This is the way you need to solder your cable.

Serial connector pinouts

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

External links