Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7539573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T07:25:10+00:00 2026-05-30T07:25:10+00:00

I am currently trying to implement a CRC-32 for an incoming datastream (Serial communication)

  • 0

I am currently trying to implement a CRC-32 for an incoming datastream (Serial communication) on an ATMEGA1280 and I am a little lost how to do this on the embedded side in C…. If anyone could point me in the proper direction and/or help in anyway i would greatly appreciate it…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T07:25:11+00:00Added an answer on May 30, 2026 at 7:25 am

    You should know what polynomial you are dealing with. So it is not enough to know that you are using CRC, but you should also know polynomial.

    You are looking for function with this kind of prototype

     uint32_t crc(uint8_t * data, int len, uint32_t polynomial)
    

    Or even further, this function can also support updating if you getting your data asynchronously, so there is extra parameter for resuming computation.

    With CRC32 you stream bits through CRC function and you get 32 bit number that is used for data corruption checking.

    I am sure you will be able to find C code of crc online.

    EDIT:

    It looks like, CRC32 polynomial is sort of standard and is usually unified.
    That mean that CRC32 implementation will employ correct polynomial.

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

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to implement a little function in my app. I am currently playing
I am currently trying to implement a serial port reader class using Windows (already
I am currently trying to implement this into my current code: http://cubiq.org/iscroll I have
I am currently trying to implement basic speech recognition in AS3. I need this
All I am currently trying implement something along the lines of dim l_stuff as
I'm currently trying to implement a class to handle secure communications between instances of
I am currently trying to implement an algorithm to select a unique (16-bit) identifier.
I'm currently trying to implement a socket server that enables the clients to send
I've been trying to implement unit testing and currently have some code that does
I'm trying to implement a mailing list system for my application. I'm currently using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.