Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] 485 Driver Issues (Slightly OT)

2004-12-21 by Markus Meng

Hi Richard,

concerning RS485 is there a possibility to use the RTS
output pin in order to enable the driver just one
bit time before UART xmition is starting?

Markus

Richard schrieb:

>I am driving a 485 transceiver (SN65HVD10) with the LPC2104.  The 
>RE/ and DE lines are tied together and to a GPIO pin for direction 
>selection.  My problem is that when I enable transmission the bus is 
>driven low and a pulse is seen at my RXD input causing an 
>interrupt.  I have tried disabling the UART1 interrupt before I 
>toggle the direction pins of the 485 transceiver but the receive 
>interrupt fires off as soon as I enable the UART interrupts again.  
>Tying the direction pins of the tranceiver results in a race 
>condition so I have added a small delay to let the pins settle.
>
>Thanks for the help
>
>Richard
>
>
>
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>  
>

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.