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
"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
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.
good link. thanks.
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.