Yahoo Groups archive

Lpc2000

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

Message

RS485 9 Bit Comms on LPC2148

2005-12-13 by Stephen Pelc

Martin Honeywill wrote:
> I'm implementing a comms protocol which requires RS485 half
> duplex comms with a 9 bit data word for the first byte. I'm new
> to the LPC214x chips so was wondering if anyone could give me
> some pointers.

Depends on the baud rate. For a vending machine app (9600 baud) 
we just bit-banged the 9 bit ports using a timer interrupt and a 
state machine. This left the UARTs for high speed use. Oh, the 
joys of 60MHz single chip CPUs.

Stephen

--
Stephen Pelc, stephen@...
MicroProcessor Engineering Ltd - More Real, Less Time
133 Hill Lane, Southampton SO15 5AF, England
tel: +44 23 80 631441, fax: +44 23 80 339691
web: http://www.mpeforth.com - free VFX Forth downloads

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.