pic microcontroller discussion list <> wrote on Wednesday, August 27, 2003 10:16 PM: > Do any of the common serial communication handshaking schemes > involve just the transmit and receive lines? > > I would like to get my two devices working "in harmony" and take > turns transmitting. > > I would like to be able to use standard terminals and > terminal emulators so I would like to stick to a standard format if > one exists. Have a look into MODBUS ASCII. Unlike XON/XOFF and ACK/NAK schemes, you can debug the whole protocol on an RS232 terminal, and you don't need timeouts etc to take account of corrupted bits causing false XOFFs etc. If you need a peer-to-peer system, you're probably better to use XON/XOFF or similar, MODBUS is good for master-slave comms Nigel -- Nigel Orr, Design Engineer nigel@axoninstruments.co.uk Axon Instruments Ltd., Wardes Road,Inverurie,Aberdeenshire,UK,AB51 3TT Tel:+44 1467 622332 Fax:+44 1467 625235 http://www.axoninstruments.co.uk -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body