Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: RS485 with UART1 RTS pin on LPC2138

2005-06-07 by sengoontoh

How would you implement an interrupt based 485 handler then? I guess I
could look for the byte that I transmitted. Hopefully the FIFO won't
complicate issues.


--- In lpc2000@yahoogroups.com, "Karl Olsen" <kro@p...> wrote:
> --- In lpc2000@yahoogroups.com, "gvnn77" <paynet@l...> wrote:
> 
> > I'm searching for implementing RS485 using UART1 and controlling TX 
> > enable with RTS pin. Is it possible to use UART hardware module to 
> > control pin RTS during transmission without have to set/clear a
> > GPIO pin connected to /RE or DE every time I start transmission or
> > and transmission???
> 
> No.  There is no advantage of using the UART1 RTS pin rather than a 
> GPIO pin.  And you cannot even make the UART generate an interrupt
> when the last stop bit has been sent and it is time to turn off the 
> transmitter.
> 
> Karl Olsen

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.