Shop OBEX P1 Docs P2 Docs Learn Events
Buffered Serial Communications Needed — Parallax Forums

Buffered Serial Communications Needed

JonmarJonmar Posts: 9
edited 2008-02-01 20:28 in BASIC Stamp
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

Comments

  • Bruce BatesBruce Bates Posts: 3,045
    edited 2008-02-01 20:11
    Jon -

    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!
  • CMcGCMcG Posts: 17
    edited 2008-02-01 20:14
    Hello Jon,

    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
  • allanlane5allanlane5 Posts: 3,815
    edited 2008-02-01 20:28
    Or, for $10 or so, you can use this one-chip solution:
    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.
Sign In or Register to comment.