Thanks Tom, for the quick reply. > I've a 9bit comm running now using an LPC2138 and LPC2106, both > processors are using the internal uarts to do 9bit communications. You > are correct, you must turn off the fifo for this to work, if you don't > disable the fifo then the wrong bytes get the wrong stick parity. > I will try what you suggest to transmit the 9th bit. Do you turn the FIFO off permanently, or only when you are transmitting the start byte? > BTW, I am running under full interrupt I/O on those fake 9bit ports... > You don't need to poll. > Are you using RS485 comms for half duplex. Do you have any thoughts on how to control the RS485 transmitter. It looks to me that you are only safe to turn the RS485 transmitter of when the TEMT bit in UxLSR is set. If my reading of the data sheet is correct this bit does not cause any interupts. It can only be polled. :-( Cheers Martin
Message
Re: RS485 9 Bit Comms on LPC2148
2005-12-12 by mhoneywill
Attachments
- No local attachments were found for this message.