Even Parity Check, How?


+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Mark Scotford's Avatar
    Mark Scotford Guest

    Default Even Parity Check, How?

    I'm slowly getting there, got HPWM, ADC, I2C to work. Now I am getting to Serial, I have to follow somebody else's protocol and they have specified that I use a Block Check at the end of the data string. They want "Even Parity Check (exclusive -OR)" is there anywhere I can find information on explaining to a non-maths person what this means, in very simple terms?

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    They want "Even Parity Check (exclusive -OR)" is there anywhere I can find information on explaining to a non-maths person what this means, in very simple terms?
    It depend on how your data in transmit.

    Some will use send serial 8 bits as
    7 databits + parity bit + stop bit.
    In this case you just have to test the 8th bit

    Some other will send serial 9 bits as
    8 databit + parity bit + stop bit.
    In this case you just have to test the 9th bit

    tell us more about your hardware and what you plan to do.

    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  2. Reading in Manchester code
    By brid0030 in forum Code Examples
    Replies: 0
    Last Post: - 10th March 2009, 21:55
  3. PIC16F877A - Timer0 won't interrupt
    By WishMaster^ in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 25th April 2007, 08:25
  4. Code check -- button not working
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 2nd March 2006, 22:43
  5. Debug with parity?
    By cmolson in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 3rd December 2005, 00:23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts