Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Control Parity Bits

Status
Not open for further replies.

lumstar

Technical User
Jan 29, 2002
177
CA
My application has to be able to communicate with a host through the RS232 Serial port. When a message is sent to the client from the host the parity bit of the first byte of data is set on (1) to signal the start of a new message. The parity bit of all other bytes in the message is set off (0).

For the client to respond to the host it must use the same format - signal start of message with parity bit on (1). Balance of message has parity bit off (0).

They describe the 9th bit as the wakeup bit but specify for uarts not directly supporting wakeup mode, the parity bit can be used in place of the wakeup bit.

Anyone have any ideas how this could be done? What language would be best?

Thanks in Advance, __________________________________
Keep On Coding!!

Lumstar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top