Connect with us


Discussion in '8bit Microcontrollers' started by [email protected], Mar 4, 2004.

Scroll to continue with content
  1. Guest

    Has anyone got any info/routines for CRC/Hamming/Golay etc for pic
    micros... If not, I code my own.


  2. Dan Henry

    Dan Henry Guest

    Yes, and I sent a ZIP file of it all, but the e-mail kept bouncing.

    I give up!
  3. Rich Webb

    Rich Webb Guest

    Google for "A painless guide to CRC error detection algorithms" by Ross
    Williams. After reading it, you should find it fairly straightforward to
    put together a table-driven implementation.
  4. Guest

    Sorry Dan... I Hadn't set my news reader up correctly. The addr on this
    post should be correct. I would really appreciate those zips.


  5. Dan Henry

    Dan Henry Guest

    I'll not be attempting anymore e-mails until my patience is restored.
    To show my earnest intentions however, I'll simply point you to a
    document of mine where you can extract a standard CRC implementation
    that is a particularly good tradeoff between code size and speed when
    realized on a PIC (using the HI-TECH PICC compiler, at least). Please
    refer to Fcs16_b() on PDF page 11 (document page 8) of:

    Since you are only interested in the "CRC/Hamming/Golay etc", you'll
    have to ignore the rest of the protocol drivel.
  6. ego

    ego Guest

Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day