??? 03/07/07 22:31 Modified: 03/07/07 22:46 Read: times |
#134551 - TxD pin to TxD pin? Responding to: ???'s previous message |
1. When i was reading a website regarding serial communication and its related signal pins, 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? 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.
The transmit pin from the PC transmits to the "transmit" pin of the modem (but actually the modem is receiving the data from this pin so from the point of view of the modem it would be a receive pin). This is the link to the site : http://tldp.org/HOWTO/Serial-HOWTO-20.html 2. Also, how am i supposed to know whether the modem has successfully execute each AT Command i fed into it (before i send additional AT Command)? Is this sufficient just by looking at the TI flag everytime i send out a the last character of a command (Meaning, i am allowed to send new command once the TI flag is asserted)? Or must i wait for a status signal via CTS from the modem? |