Jump to content

CRC-16 Calculation

Recommended Posts


I am unable to recreate a CRC vi to calculate the checksum. The procedure mentions calculation as follows:-

The polynomial is 0x8005. The initial register value should be 0x0000. After the last bit of the
Count and packet has been transmitted, the internal CRC Register should have a value that matches that in the
block. The first Checksum byte transmitted (N-2) is the most-significant byte of the CRC value, and the last byte
of the block is the least-significant byte of the CRC.

I used the attached VI and configured as mentioned. The results are wrong:-

Some of the correct results are below:

Input: 0702000000 | CRC:1E2D

Input: 0730000000 | CRC:035D


CRC 16 Calculation.vi

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.