How to determine which CRC used?

If I have a certain number of bytes to transmit serially, how do I determine which CRC to use (CRC8, CRC16, etc., basically how many bits of CRC?) and still have high error detection percentage? Is there this formula?
From the length of the CRC, normal statistics apply. For the bit width of the CRC, you have 1 /( 2^n) false alarm rate. So, for 8-bit CRC, you have a 1/255 chance, etc.

However, the polynomial selected will also have a big impact. Mathematics is highly dependent on the transmitted data and is not a simple answer.

According to your communication mechanism, you should evaluate more than CRC (turbo codes such as FEC and systems are very useful and common ).

If I have a certain number of bytes to transmit serially, how do I determine which CRC to use (CRC8, CRC16, etc., basically how many bits of CRC?) And still have a high percentage of false detections? Is there this formula?

From the length of the CRC, normal statistics apply. For the bit width of the CRC, you have a false positive rate of 1/(2^n). Therefore, for 8-bit CRC, you have a 1/255 chance, etc.

However, the selected polynomial will also have a big impact. The mathematics is highly dependent on the transmitted data and is not a simple The answer.

According to your communication mechanism, you should evaluate more than just CRC (turbo codes such as FEC and systems are very useful and common).

Leave a Comment

Your email address will not be published.