Content originally posted in LPCWare by Rob65 on Tue Jan 03 23:50:25 MST 2012
Mawg,
yes, I am sure. The user manual of the lpc1xxx states that the parity can be: even, odd, none (i.e. no parity bit), stuck at 0 or stuck at 1.
Just read the user manual and check out the different ways of programming the parity bit.
So you can just send your data and only set the parity when you are going to send the mode byte.
John, mawg's project is using Multi Drop Bus, a standard developed for vending machines. This protocol sends packets over a serial line to which multiple devices van listen. The first byte of a packet is the address byte, addressing the slave. To distinguish between address and data bytes in a packet the ninth bit is set only on address bytes.
Regards,
[INDENT]Rob
[/INDENT]