Buffered Serial Communications Needed
Jonmar
Posts: 9
Howdy all,
Does anyone know of a device that would perform an equivalent function to a FIFO buffer for buffering RS232 communications to a BS2e chip?
We have a control box application powered by a BS2e chip.
We need to periodically scan the hardware inputs,
process events initiated by those inputs or previous RS232 commands;
and still not lose any asynchronous RS232 (1 byte) commands sent from the remote Server.
Any help and/or suggestions would be much appreciated.
Jon
Does anyone know of a device that would perform an equivalent function to a FIFO buffer for buffering RS232 communications to a BS2e chip?
We have a control box application powered by a BS2e chip.
We need to periodically scan the hardware inputs,
process events initiated by those inputs or previous RS232 commands;
and still not lose any asynchronous RS232 (1 byte) commands sent from the remote Server.
Any help and/or suggestions would be much appreciated.
Jon
Comments
Take a look at the Maxim MAX3100. It uses synchronous serial (SHIFTIN/SHIFTOUT) on the Stamp end, has an 8 character buffer, and has an asynchrous serial UART on the other end. Ask for a sample, as they are a bit dear.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There is no pleasure in having nothing to do;
the fun is in having lots to do, and not doing it!
A·quick solution, although probably not that economical, would be to use a second Basic Stamp e.g. a BS2-IC (or BS1-IC if baud rate is not more than 2400) to just capture and process those single byte RS232 commands from the remote server. You could then use the BS2e to interrogate the BS2IC as required.
Rgds
Carl
http://www.rhombusinc.com/co-processors.html
See the "Simple Multi-Tasking" chip -- gives you a recieve-only buffered UART, and is designed for simple interfacing with the BS2.