PDA

View Full Version : Even Parity Check, How?



Mark Scotford
- 24th January 2005, 08:47
I'm slowly getting there, got HPWM, ADC, I2C to work. Now I am getting to Serial, I have to follow somebody else's protocol and they have specified that I use a Block Check at the end of the data string. They want "Even Parity Check (exclusive -OR)" is there anywhere I can find information on explaining to a non-maths person what this means, in very simple terms?

mister_e
- 24th January 2005, 09:21
They want "Even Parity Check (exclusive -OR)" is there anywhere I can find information on explaining to a non-maths person what this means, in very simple terms?

It depend on how your data in transmit.

Some will use send serial 8 bits as
7 databits + parity bit + stop bit.
In this case you just have to test the 8th bit

Some other will send serial 9 bits as
8 databit + parity bit + stop bit.
In this case you just have to test the 9th bit

tell us more about your hardware and what you plan to do.