Shop OBEX P1 Docs P2 Docs Learn Events
Full Duplex Serial with Parity? — Parallax Forums

Full Duplex Serial with Parity?

Ken PetersonKen Peterson Posts: 806
edited 2007-10-09 13:03 in Propeller 1
Hi Everyone!

I have a project that requires ODD parity and I need the speed of Full Duplex Serial.· Before I spend the time trying to modify the object to use parity, has anyone already done this?

Thanks!

Ken

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


The more I know, the more I know I don't know.· Is this what they call Wisdom?

Comments

  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2007-10-09 13:03
    Yeah, I have a comport object as a work in progress that's based on FullDuplex that includes parity among many other things. Let me dress it up and I will post it here as soon as I can.

    The modules mode bits are:
    0 = invert rx
    1 = invert tx
    2 = open-drain/source tx
    3 = ignore tx echo on rx
    4 = rs485 (tepin = txpin, txpin = rxpin)
    5 = parity enable
    6 = odd parity
    7 = xon/xoff

    You can also specify buffer sizes etc plus there's XON/XOFF handshaking I'm building in.

    *Peter*
Sign In or Register to comment.