linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: "yhxing" <xyuhua_telecom@hotmail.com>
Cc: "linuxppc-embedded@lists.linuxppc.org"
	<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: How to control RTS signal ?
Date: Fri, 19 Dec 2003 21:37:39 +0100	[thread overview]
Message-ID: <20031219203744.6CE0AC5F5F@atlas.denx.de> (raw)
In-Reply-To: Your message of "Fri, 19 Dec 2003 12:50:53 +0800." <Sea1-DAV34kO1dJFUuS0000e1ba@hotmail.com>


In message <Sea1-DAV34kO1dJFUuS0000e1ba@hotmail.com> you wrote:
>
>    Now we are using a mpc823 embedded system, and there is some trouble.
> We need to use SCC3 UART to control RS485 tranceiver. TXD3 is connected
> to RS485 tranceiver's D pin, RXD3 is connected to RS485 tranceiver's R
> pin, and RTS3 is connected to RS485 tranceiver's RE# and DE pin. Then
> when transmitting data, we hope RTS3 signal can keep low to enble D.
> When receiving data, we hope RTS3 signal can keep high to enble R.
>    So my question is, how can I program to control RTS3 signal in ppclinux.

You will need a version of the UART  driver  that  supports  hardware
handshake  and  allows  you  to  configure  the  processor  pins  for
handshake operations. See for example the source  trees  on  our  CVS
server.

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Q:  Why do mountain climbers rope themselves together?
A:  To prevent the sensible ones from going home.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2003-12-19 20:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-19  4:50 How to control RTS signal ? yhxing
2003-12-19 20:37 ` Wolfgang Denk [this message]
2003-12-23 13:36 ` llandre
  -- strict thread matches above, loose matches on Subject: below --
2003-12-26  9:32 邢 渝华
2004-01-01 17:29 ` llandre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031219203744.6CE0AC5F5F@atlas.denx.de \
    --to=wd@denx.de \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=xyuhua_telecom@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).