This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Serial port heros - this is your chance !

Hello all,
Today I made myself a nice and simple serial cable - TX, RX and ground (I don't need anything else), and it works well when I connect 2 laptops to each other, running HyperTerminal. Unfortunately, HyperTerminal does not record serial data sent by 2 different evaluation boards (MCBSTR7/9), running Keil / ST sample code. What can be the cause of this? Can it be related to the type of wire I used? Any ideas are welcome!

Thanks in advance

Parents Reply Children
  • "Did you mean that if I connect a PC to a single microcontroller (not 2), I don't need a null cable?"

    The number of microcontrollers is irrelevant - what matters is the pinout of the connectors!

    It should be obvious that the data output from the PC needs to feed the data input of the microcontroller - yes?

    Beware that the pin called "TxD" on a DCE is an input - it is the data to be transmitted to the conns link;

    Similarly, the pin called RTxD" on a DCE is an output - it is the data that has been received from the conns link.

    See my post of 20-Sep-2007 23:47 in this thread:
    http://www.keil.com/forum/docs/thread10745.asp

  • Similarly, the pin called RTxD" on a DCE is an output - it is the data that has been received from the conns link.

    Should, of course, be:

    Similarly, the pin called "RxD" on a DCE is an output - it is the data that has been received from the comms link.

  • Andy,
    Thanks for your reply. I have made a new cable nad successfully tested it. And I also did some reading which cleared things up further. You see, until now, every time I did a project I got the hardware and the cable(s) so I didn't have to worry about anything bit the software - now that I need to do it myself, I get to learn a lot. Sometimes a push in the right direction helps, too.