Re: Serial (RS232) communication - failing to detect stop bit



arka.n.roy <arka.n.roy@xxxxxxxxx> wrote:

I wonder if the "fe:2" that gets displayed really means there were 2
instances of not detecting the stop bit or if it is just a fixed value
that gets displayed if such a thing occurred at all in the last
received data.

Are you sure that you are displaying raw data, and that neither end are
expecting some form of protocol like kermit, or zmodem on the transmission?

You could try a file transfer using a terminal emulator both ends.

Are the serial ports set to 2400,8,N,1 at both ends?

I have no RS232 setup here, so I am unable to experiment.

One trick that I have used in the past, is to set up a terminal emulator, and
switch off handshaking and the local echo. When you type, you see nothing,
because the typing is supposed to go to the other terminal. Now, short pins
two and three on the far side of your cable, and again type at your terminal.
What you type should now start to appear on your terminal screen, because you
are feeding your transmitted data into the RX pin.

Regards,

Mark.

--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE

Email: markhobley at hotpop dot donottypethisbit com

http://markhobley.yi.org/

.