[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: RS-485 problem



Hello,

If you disable the option you can't use 2-wire 485, i.e. the IOCTL
TIOCSERSETRS485 isn't
available. If you enable the option you can use the IOCTL above to
switch between 
RS422 and RS485 (2-wire mode) by setting the enable-parameter to 0
(RS422) or 1 (RS485).

Regards,
Anders 

-----Original Message-----
From: owner-dev-etrax@xxxxxxx.com">mailto:owner-dev-etrax@xxxxxxx.com] On
Behalf Of Jayson Ingels
Sent: Wednesday, September 29, 2004 11:34 AM
To: dev-etrax
Subject: Re: RS-485 problem


Hello there

We're using a devboard 83.  What does the 'Enable RS-485 support' option
in the kernel mean? 

Am I right in saying that when this option is disabled that I'm using
RS-422 and when it is enabled that I'm using RS-485?

Thanks

Jayson Ingels
----- Original Message ----- 
From: Jayson Ingels 
To: dev-etrax@xxxxxxx.com 
Sent: Wednesday, September 22, 2004 10:28 AM
Subject: RS-485 problem


Hi

We have two devboard 83's connected to each other via RS-485.

When transmitting data to /dev/ttyS3 from one board to the other using 

echo "hello" > /dev/ttyS3

it works fine, but when doing the same from the other board that
received the data earlier, 

the command doesn't respond i.e. the board hangs until I press CTRL C.

Any suggestions are welcome.

Thanks 

Jayson Ingels