Shop OBEX P1 Docs P2 Docs Learn Events
8051 multi-drop serial communications — Parallax Forums

8051 multi-drop serial communications

ksltdksltd Posts: 163
edited 2013-10-11 19:06 in General Discussion
Hi,

I can't seem to find any support for the 8031/8051 9-bit multi-drop serial communication protocol. Has anyone got such an object laying about?

Thanks!

Comments

  • jmgjmg Posts: 15,173
    edited 2013-10-11 01:21
    Any SW uart is going to have the bit-length as a constant, loaded into a BitCounter, so will be easy to adjust to 9 bits.
    Find an object that has the right specs for Baud rate and message size, and it should be easy to modify to length setting to 9bits, and add the handling of that 9th bit, and talk to 8051 slaves.
  • Don MDon M Posts: 1,652
    edited 2013-10-11 03:11
    ksltd wrote: »
    Hi,

    I can't seem to find any support for the 8031/8051 9-bit multi-drop serial communication protocol. Has anyone got such an object laying about?

    Thanks!

    Vending machine / VMC / payment systems MDB ?
  • VIRANDVIRAND Posts: 656
    edited 2013-10-11 19:06
    As I recall the ninth bit wakes up the 8051 to expect its net address, and it goes back to sleep if it doesn't find it and ignores the rest of the packet which is intended for some other 8051. I think you just have to duplicate a serial object with one change for sending net addresses, which is, the first stop bit sent should be zero for all data or one for a net address.
Sign In or Register to comment.