Re: Serial communication, detecting parity bits



> This confuses me a bit. All serial communication programming I have done
> so far have beem blissfully unaware of parity bits, stop bits and so
> forth. As I understand it these are abstracted away by read(), open(),
> tcsetattr(), etc.
>
> My question is this: Is there some way that I can figure out if the
> wakeup or parity bit was set on a specific byte in the stream that I
> have read from the serial port?
>
> Regards,
> Mattias

Most embedded micro controllers can communicate with this protocol.
Including the PIC 8051 and Motorola 6804 as well as Coldfire families I
would say that it come pretty standard on most micro controller chips.
To communicate in this way, however needs some control over the 9-th
bit which is not normally available in many stand-alone uarts. The
standard uarts on the PC can not manage this protocol but I've seen
cards that contains the right hardware to do this. There are a few
uarts that can communicate in this way:

Intel 82c510(obsolete)
Phillips and Exar 29L192
and the 82c530 (production active according to Zilog)

So, I think that you must first check if you do have the correct
hardware.

Kobus

.



Relevant Pages

  • Re: Set parity of a string
    ... > Is there a module that sets the parity of a string? ... > application that needs to communicate with a host using even parity ... seen parity used outside of simple RS-232-style serial communications. ...
    (comp.lang.python)
  • Re: Set parity of a string
    ... >> Is there a module that sets the parity of a string? ... >> application that needs to communicate with a host using even parity ... >> even to space parity. ...
    (comp.lang.python)
  • Re: Set parity of a string
    ... > application that needs to communicate with a host using even parity ... > even to space parity. ...
    (comp.lang.python)