Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/12/03 23:21
Read: times


 
#60533 - Back to Basics
Responding to: ???'s previous message
What is the crossover that you are talking about? what is the meaning?


OK, let's get right back to basics.

DCE = Data Circuit-Terminating Equipment; a modem

DTE = Data Terminal Equimpent; something that connects to a modem (eg, printer, computer, your MCU board)

The RS-232 spec (now officially known as EIA/TIA-232) deals specifically with the interface of a DTE connected to a DCE:
+-----+             +-----+
| DTE | <=========> | DCE | <----------> Telephone Line
+-----+    RS232    +-----+              (analogue)
         interface
         (digital)

The RS-232 spec defines a number of Interchange Circuits that form the interface between the DTE and the DCE; the two of interest here are:

Transmitted Data, TXD: This carries the data to be transmitted over the communications link (eg, phone line)

Received Data, RXD: This carries the data received from the communications link (eg, phone line)
+-----+       TXD        +-----+
|     |>---------------->|     |
| DTE |                  | DCE |<----> phone line
|     |<----------------<|     |
+-----+       RXD        +-----+

It should now be obvious that TXD is an output from the DTE, but an input to the DCE;
similarly, RXD is an output from the DCE, but an input to the DTE

Thus, when you use an RS232 interface in its intended application (Connecting a DCE to a DTE), you must connect the DCE's TXD to the DTE's TXD, and the DCE's RXD to the DTE's RXD. This is known as a "Straight-Through" connection.

However, when you connect two DTEs together, you must connect the TXD of one to the RXD of the other; this is known as a "Crossover Cable" - because of the way the TXD and RXD line "cross-over!"
+------------+                  +-----------+
|     TXD out|>--------+  +----<|TXD out    |
|            |         |  |     |           |
| DTE        |     +-- |--+     |       DTE |
|            |     |   |        |           |
|     RXD  in|<----+   +------->|RXD in     |
+------------+                  +-----------+

I trust you get the "crossover" idea there!


BTW: you may also hear of "Null-Modem" cables (and adaptors); these provide the TXD/RXD crossove, and also the necessary crossovers of the other control ("handshaking") lines.



List of 23 messages in thread
TopicAuthorDate
Previously Unsolved problem. Using Modem            01/01/70 00:00      
   RE: Previously Unsolved problem. Using M            01/01/70 00:00      
   RE: Previously Unsolved problem. Using M            01/01/70 00:00      
      RE: Previously Unsolved problem. Using M            01/01/70 00:00      
   RE: Previously Unsolved problem. Using Modem            01/01/70 00:00      
      got two points. Checking them...            01/01/70 00:00      
         Wrong cable?            01/01/70 00:00      
            RE: Wrong cable?            01/01/70 00:00      
               RE: Wrong cable?            01/01/70 00:00      
               RE: Wrong cable?            01/01/70 00:00      
               Back to Basics            01/01/70 00:00      
         RE: got two points. Checking them...            01/01/70 00:00      
         RE: got two points. Checking them...            01/01/70 00:00      
            line termination character            01/01/70 00:00      
               RE: line termination character            01/01/70 00:00      
         RE: got two points. Checking them...            01/01/70 00:00      
   why not eliminate            01/01/70 00:00      
      RE: why not eliminate            01/01/70 00:00      
   RE: Previously Unsolved problem. Using Modem            01/01/70 00:00      
   RE: Previously Unsolved problem. Using Modem            01/01/70 00:00      
      RE: Previously Unsolved problem. Using Modem            01/01/70 00:00      
         RE: Previously Unsolved problem. Using Modem            01/01/70 00:00      
   Once youve got it going...            01/01/70 00:00      

Back to Subject List