Difference between revisions of "Serial Cable"

From LinuxMIPS
Jump to: navigation, search
(Put in some better diagrams of the ports.)
m (Extelnal links: Speeling)
 
(5 intermediate revisions by 2 users not shown)
Line 18: Line 18:
 
</table>
 
</table>
  
<pre>
+
{| cellpadding="5" cellspacing="0"
Name (V24) 25pin  9pin  8pin Dir  Full name              Remarks
+
|- style="background: #fcc;"
--------------------------------------------------------------------------
+
! Name (V24) || DB25 Pin# || DB9 Pin# || MiniDIN8 Pin# || Direction || Full Name || Remarks
    TxD         2     3     3   o  Transmit Data           Data
+
|- style="background: #fec;"
    RxD         3     2     5   i  Receive Data           Data
+
| TxD ||  2 || 3 ||  3 || Out || Transmit Data       || Data
    RTS         4     7     6   o  Request To Send         Handshaking
+
|- style="background: #ffc;"
    CTS         5     8     2   i  Clear To Send           Handshaking
+
| RxD ||  3 || 2 ||  5 ||  In || Receive Data       || Data
    DTR       20     4     1   o  Data Terminal Ready     Status
+
|- style="background: #fec;"
    DSR         6     6     -   i  Data Set Ready         Status
+
| RTS ||  4 || 7 ||  6 || Out || Request To Send     || Handshaking
    RI         22     9     -   i  Ring Indicator         Status
+
|- style="background: #ffc;"
    DCD         8     1     7   i  Data Carrier Detect     Status
+
| CTS ||  5 || 8 ||  2 ||  In || Clear To Send       || Handshaking
    GND         7     5   4,8   -   Signal ground           Reference level
+
|- style="background: #fec;"
    -         1     -     -   -   Protective ground       Don't use this one
+
| DTR || 20 || 4 ||  1 || Out || Data Terminal Ready || Status
                                                            as signal ground!
+
|- style="background: #ffc;"
</pre>
+
| DSR ||  6 || 6 ||  - ||  In || Data Set Ready     || Status
 +
|- style="background: #fec;"
 +
| RI || 22 || 9 ||  - ||  In || Ring Indicator     || Status
 +
|- style="background: #ffc;"
 +
| DCD ||  8 || 1 ||  7 ||  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!
 +
|}
  
 
== 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="2"| From          || MiniDin8 Pin
  SG  - Signal Ground      4,8 |   7  SG
+
! -->
  RD  - Receive Data         5 |   2  TD
+
!colspan="2"| To                                                                || DB9 Pin || DB25 Pin
  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     ||  Pin 6  || Pin 6
                        Shield |   1  Protective Ground
+
|- style="background: #ffc;"
</pre>
+
| 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.
 
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