I am trying to test the difference between no,even and odd parity - always 8 data bits, 1 stop bit
So I have 2 PCs connected with serial cable both running RealTerm or any other terminal.
What I don't understand is that no matter which parity I select on the sending machine the receiver always gets exactly the data I sent. I can change the parity even on the receiver terminal but I always get exactly the same data as sent.
I thought if I send 0x03 with even parity it would show 0x83 on receiver (if set to no parity) and 0x03 (if set to even parity) But this is not happening.
Do I have a misunderstanding regarding parities or what could be the reason?
many thanks!
The parity bit is the 9th bit, so it will not show up in your data. And it's likely just ignored as in more modern communications there are other means of detecting communications errors and retransmitting (like a CRC check in a block).
The problem is that at the individual byte-level of serial communications there is no means to retransmit in the event of a parity failure, it can only indicate something went wrong.