It's not neccessary to do handshaking, isnt it? Wont it be troublesome to do handshaking?DarkJedi said:Well, when u don't do handshake, u have to configure both terminals at the same speed and frame configuration, u are right, is just connecting both terminals together, usually crossover connect.
When there is handshake the terminals find and configure the comunications and find a carrier too. At least that is how i always used it.
papyaki said:The P4 station has memory and CPU power enough to process data coming fron the PIC board, but in the other way, the PIC board can not.
Can u give me an example on how to do the software handshaking?papyaki said:Hi,
I think you are right. If you have nothing to transmit to the PIC, then you do not have to use handshaking. But if you want to use it without using any PIC pins, you can do handshake by using "xon" and "xoff" that are ASCII characters dedicated to software handshake.
Sending "xon" to the other side tells the other side to start transmission. Sending "xoff" to the other side tells the other side to stop transmission.
When you start hyperterminal on a PC, you can choose between hardware handshaking (RTS/CTS), software handshaking (xon/xoff) or no handshake.
ericmar said:Hi guys,
May I know wats the different between using handshaking or not using it in Serial Communication? When we r not using it, we just connect RTS to CTS, and DTR to DSR, am I right?
Thanks!
Regards,
Eric
I'm using the FTDI FT232BM chip in between of PIC and PC so I guess I dont need a RS232 driver, am I right?Mr_Programmer said:Do you put a RS232 driver between your PIC and your PC?
Please take a look at the datasheet for the MAX232 you can found it on www.maxim-ic.com
Mr_Programmer said:@eric_mar:
Sorry, I don't read the last line of your previous posting. BTW I took a short look on the data sheet of the FT232. Did the PC recognize the new RS232 port??? With which voltage levels are you dealing, I mean at which voltage operate your PIC, as far as I see the FT232 works with 5V. Did you also connect the ground from FT232 to the PIC? You see, theese are only suggestions, without knowing your hardware. If you don't find the problem, post you schematic.
Are u saying that I must use the same power supply for both the FT232BM chips and my PIC?Mr_Programmer said:If the PIC isn't on the same PCB or does not use the same power supply, this will be a problem.
I get wat u mean now! Thanks for explaining so clearly to me! Sorry that I'm a bit slow on this. hehe...Mr_Programmer said:I don't say that you have to use the same power supply. I will say you have to use the same ground!
Without the same ground you have a big problem. The voltage on the RS232 line have no comparable reference, you have the meaning that the voltage on you RS232 TX line(USB) is 5V but if you measure the same line with the ground from the PIC board as reference you will say "WHOWW, what is this?". If you connect a bus cable (RS232 is simple point to point) you always connect the ground also. Therefore the minimum RS232 cable has 3 wires: RX, TX and ground (pins 2, 3 and 5).
I'm sorry if I can't explain it better.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?