The Difference Between a Null Modem and Straight Through Serial CableHardware: Serial
Problem: I would like to use my computer's built-in serial port to communicate with a serial device, and I have both the null modem and straight through serial cables. What is the difference between the two cables, and which one should I use? Solution: The null modem cable is frequently called a crossover cable. It is used to allow two serial Data Terminal Equipment (DTE) devices to communicate with each other without using a modem or a Data Communications Equipment (DCE) device in between. For this to happen, the Transmit (TXD) pin of one device needs to be connected to the Receive (RXD) pin of the other device. To enable handshaking between the two devices, the Request to Send (RTS) pin of one device must be connected to the Clear to Send (CTS) pin of the other device. Because these pins are "crossed" on the two cable terminals, the name crossover cable is used. Simple Null Modem Cable
A straight-through cable is used to connect a DTE device to a DCE device. The TXD-RXD and RTS-CTS pins are not cross-connected in this case, hence the term straight through cable. Simple Straight Through Cable
Related Links: Products and Services: Serial KnowledgeBase 1TU953QR: What Do DTE and DCE Mean in Serial Communication? KnowledgeBase 1M9E1L6Q: Serial Communication General Concepts Attachments:
Report Date: 12/22/2004 Last Updated: 05/20/2009 Document ID: 3GLDMSIT |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||


