Chris, the propcessor is a NS7520 and it does have the RTSTX bit.

Andrew, which function in serial.c is the best place to add this
modification in your opinion?

Thanks both of you.

Daniel.


------------------------------------------------------------------

Not knowing which netarm you are using I took a quick look at the reference
for the NS9775 (http://ftp1.digi.com/support/documentation/90000524_c.pdf).
The Serial Channel Control Register B has a RTSTX bit that allows for
automatic RTS control.  Perhaps you have this feature available to you and
can modify the driver to just enable it.

Best of luck, Chris


From: uclinux-dev-bounces at uclinux.org
[mailto:uclinux-dev-bounces at uclinux.org] On Behalf Of Daniel Berenguer
Sent: July 7, 2008 11:41 AM
To: uclinux-dev at uclinux.org
Subject: [uClinux-dev] RS485 and the standard serial driver - How to command
RTS


Hi experts!

I'm trying to send/receive messages via RS485 using a simple MAX485 IC
connected to a Netarm processor (Digi Connect-ME). The problem is that I
need to enable/disable the transmit option through the UART RTS line but RTS
remains high after the transmission, causing the RS485 slaves to not to
respond to the master's query.

I tried to command RTS from my application but the delays were too big.
Thus, I guess I will have to modify the existing serial driver
(serial_netarm_dma.c) to correctly manage RTS following my needs. Did anyone
do a similar hack? Any other idea?

Thank you very much!

-- 
Daniel Berenguer
http://www.usapiens.com
http://www.opnode.org
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to