Shop OBEX P1 Docs P2 Docs Learn Events
CRC incoming data — Parallax Forums

CRC incoming data

Jimbo30Jimbo30 Posts: 129
edited 2011-06-19 23:07 in General Discussion
What is meant by CRC incoming data and what might be the ideal time to implement CRC incoming data into a project?

Comments

  • potatoheadpotatohead Posts: 10,261
    edited 2011-06-19 22:36
    Cyclic Redundancy Check.

    http://en.wikipedia.org/wiki/Computation_of_CRC

    I don't know about the time metric. Probably you need to give some more detail. Lots of people here can help you on that. A CRC is typically used to determine whether or not a data set, or bit stream is communicated correctly. A data set, is simply a collection of bits, bytes, files, etc... A bit stream is a series of bits.
  • Jimbo30Jimbo30 Posts: 129
    edited 2011-06-19 22:47
    Great seems pretty common then. I will have questions as soon as I get that far. Right now I am in preliminary steps as I just finished a simple RF communications project between two stamps. Next is PWM via RF.
  • LeonLeon Posts: 7,620
    edited 2011-06-19 23:07
    I've used it for sending blocks of data from an ARM-based system to a PC viua RS-232.

    It can be useful to keep a log of CRC errors; we never got any apart from when I was testing the software. The CRC was a requirement, because it was medical data from a blood testing machine.

    CRC doesn't give 100% protection against errors, of course. Many years ago I had a file on a floppy disk that passed the CRC test because it loaded OK, but it was obviously corrupted.
Sign In or Register to comment.