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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/03/07 10:37
Read: times


 
#136479 - Meaning of "Transmit"
Responding to: ???'s previous message
Eugene Yong said:
1. When i was reading a website regarding serial communication and its related signal pins...

Beware: when reading such sites, it is always important to refer to the original source document as the authoritative work.

... i came across this quote saying that the TxD pin of the DTE (in this case 8051) is supposed to be connected to TxD pin of the DCE (modem). This is also called as straight through cable. The question here, is why?


That's a good question, and the answer requires a bit of background understanding:

The RS232 Standard specifically applies to the connection between a DTE and a DCE; in fact, its full title is
TIA-232-F (September 1997)
Interface Between Data Terminal Equipment and Data Circuit-Terminating Equipment Employing Serial Binary Data Interchange (ANSI/TIA-232-F-1997)


A DCE is a modem, or any other similar device for connecting to a communication network (eg, the PSTN - Public Switched Telephone Network).

A DTE is the termination of the data circuit; ie, the source and/or the sink of the data being transferred over the network.
Thus a DTE may be a computer, a terminal, a printer, etc, etc,..
"DTE" is most certainly not synonymous with "terminal" (as some sites erroneously state).

+-----+                                             +-----+
|     |         +-----+           +-----+           |     |
| DTE +==<===>==+ DCE +---<--->---+ DCE +===<===>===+ DTE |
|     |         +-----+           +-----+           |     |
+-----+                                             +-----+


Thus the DCEs (modems) and network just "pass through" the data between the two DTEs - in fact (apart from call setup and clearing) the DCEs should be completely transparent to the DTEs

I thought the TxD of DTE is supposed to be connected to RxD of DCE since the DCE is supposed to accept command from the DTE.


No. The primary purpose of the DCE is just to transparently transfer data - the commands are merely incidental and, in some cases, you don't use any commands to the DCE at all!

Thus the Tx pin on the DTE is an output that sends data to beTransmitted;
The Tx pin on the DCE is also used for data to beTransmitted - hence it is an input to the modem!

In fact, the RS232 standard actually refers to Interchange Circuits - it defines Circuit BA as "Transmitted Data" which connects the DTE's output to the DCE's input
(this corresponds to V.24 circuit 103)


List of 72 messages in thread
TopicAuthorDate
Serial Communication Related Problem            01/01/70 00:00      
   partial answers            01/01/70 00:00      
      Oh yeah, i forgot about that            01/01/70 00:00      
   FIRST, THEN, THEN, THEN            01/01/70 00:00      
      A little bit of sarcasm as usual but often helpful            01/01/70 00:00      
         Proper baud rate...            01/01/70 00:00      
            baud rate            01/01/70 00:00      
               calculator            01/01/70 00:00      
            modem is autobauding            01/01/70 00:00      
               Noted            01/01/70 00:00      
   Some answers            01/01/70 00:00      
      Thanks for a patience reply            01/01/70 00:00      
   Nothing to add, but ...            01/01/70 00:00      
      i second(ed) that motion            01/01/70 00:00      
         My location profile?            01/01/70 00:00      
            with this known, it would do no good ...            01/01/70 00:00      
               Radio Shack            01/01/70 00:00      
                  Even so            01/01/70 00:00      
                     I can buy it from the local electronic shop            01/01/70 00:00      
            Sarcasm            01/01/70 00:00      
               I agree            01/01/70 00:00      
      Thanks for understanding and recommendation! - NT            01/01/70 00:00      
      More info            01/01/70 00:00      
         you need to understand the parameters.            01/01/70 00:00      
            "more valid" evidently means invalid            01/01/70 00:00      
            not quite            01/01/70 00:00      
               What a wonderful example that when total crap is s            01/01/70 00:00      
                  lesson            01/01/70 00:00      
            No, it doesn't            01/01/70 00:00      
   TxD pin to TxD pin?            01/01/70 00:00      
      dte-dce-dce-dte            01/01/70 00:00      
         Noted! Thanks!            01/01/70 00:00      
            same request question            01/01/70 00:00      
      Meaning of "Transmit"            01/01/70 00:00      
   same request question 2            01/01/70 00:00      
   Initial command sending code; help me take a look!            01/01/70 00:00      
      Make it simple for yourself            01/01/70 00:00      
         Why the need of circular buffer? Receiving?            01/01/70 00:00      
            polling versus interrupt            01/01/70 00:00      
               Check OK string at RXD or DCD at interupt?            01/01/70 00:00      
                  no good            01/01/70 00:00      
                     Voice mode only! No data communication.            01/01/70 00:00      
                        you are missing the basics            01/01/70 00:00      
                           NO carrier sent after DCD didn't found            01/01/70 00:00      
                              I do not agree            01/01/70 00:00      
                                 Interupt DCD signal for clear transmission            01/01/70 00:00      
                        For Voice Dialling            01/01/70 00:00      
                           and by the way            01/01/70 00:00      
                           Sorry for multiposting            01/01/70 00:00      
                           The ";" works but...            01/01/70 00:00      
                              ";" to return to idle state            01/01/70 00:00      
                              +++ with 3 seconds no modem activity            01/01/70 00:00      
                                 +++ escape sequence            01/01/70 00:00      
                                    Monkey See. Monkey Do.            01/01/70 00:00      
                                       Now monkey also understand?            01/01/70 00:00      
                                 Are you mistaken?            01/01/70 00:00      
                                    I think so            01/01/70 00:00      
            Circular buffers            01/01/70 00:00      
               Initial code for receiving modem response            01/01/70 00:00      
                  don't fiddle with the timer, let it run            01/01/70 00:00      
                     Understood, will run TR1 in global init, thx! - NT            01/01/70 00:00      
                  check this out, Eugene...            01/01/70 00:00      
                     Ah! Didn't know that! Thanks! -NT            01/01/70 00:00      
                     Code; modem commands & responses            01/01/70 00:00      
   V.250 (formerly V.25-ter) - get it free!            01/01/70 00:00      
   code,modem command and response            01/01/70 00:00      
   system froze when connected to hyperterminal            01/01/70 00:00      
      Your code...            01/01/70 00:00      
         It should not be a hardware problem since..            01/01/70 00:00      
            Not necessarily            01/01/70 00:00      
      Just taking a stab at it...            01/01/70 00:00      
         two 'ugly' guesses            01/01/70 00:00      

Back to Subject List