What is a cyclic redundancy check (CRC)?

This is a recommends products dialog
Top Suggestions
Starting At
View All >
Language
Français
English
ไทย
German
繁體中文
Country
Hi
All
Sign In / Create Account
language Selector,${0} is Selected
Register & Shop at Lenovo Pro
Register at Education Store
Pro Tier Benefits
• Dedicated personal Account Representative
• Pay by invoice with a 30-days payment term
• Plus Tier available for spends of £5K+/year
Plus Tier Benefits
• Dedicated personal Account Representative
• Pay by invoice with a 30-days payment term
• Elite Tier available for spends of £10K+/year
Elite Tier Benefits
• Dedicated personal Account Representative
• Pay by invoice with a 30-days payment term
Reseller Benefits
• Access to Lenovo’s full product portfolio
• Configure and Purchase at prices better than Lenovo.com
My account details
more to reach
PRO Plus
PRO Elite
Congratulations, you have reached Elite Status!
Pro for Business
Delete icon Remove icon Add icon Reload icon
TEMPORARILY UNAVAILABLE
DISCONTINUED
Temporary Unavailable
Cooming Soon!
. Additional units will be charged at the non-eCoupon price. Purchase additional now
We're sorry, the maximum quantity you are able to buy at this amazing eCoupon price is
Sign in or Create an Account to Save Your Basket!
Sign in or Create an Account to Join Rewards
View Basket
Your basket is empty! Don’t miss out on the latest products and savings — find your next favorite laptop, PC, or accessory today.
Remove
item(s) in cart
Some items in your cart are no longer available. Please visit cart for more details.
has been deleted
There's something wrong with your basket, please go to basket to view the detail.
of
Contains Add-ons
Subtotal
Proceed to checkout
Yes
No
Popular Searches
What are you looking for today?
Quick Links
Recent Searches
Hamburger Menu
skip to main content

What is a cyclic redundancy check (CRC)?

CRC is an algorithm used to detect errors in data transmission. The CRC algorithm generates a checksum, which is a fixed-size value derived from the data being transmitted. This checksum is then appended to the data and sent along with it. Upon receiving the data, the receiver performs the same CRC algorithm and compares the calculated checksum with the received one. If they match, it indicates that the data was transmitted correctly. Otherwise, it suggests that errors have occurred during transmission.

How does CRC work?

CRC works by treating the data as a binary polynomial. The data is divided by a predefined divisor, known as the generator polynomial. The remainder of this division is the CRC checksum. To verify the integrity of the data, the receiver performs the same division operation. If the remainder is zero, the data is considered error-free. If the remainder is non-zero, it means that errors were detected in the data.

What are the advantages of using CRC?

CRC has several advantages when it comes to error detection in data transmission. Firstly, it is simple and fast to calculate, making it suitable for real-time applications. Secondly, it can detect both random and burst errors, ensuring high reliability. Additionally, CRC is widely supported in various protocols and standards, making it compatible with different systems. Lastly, CRC can detect a wide range of error patterns, providing robust error checking capabilities.

Can CRC correct errors?

No, CRC cannot correct errors. Its primary purpose is to detect errors in data transmission, not to correct them. When errors are detected, the receiver can request the sender to retransmit the data to ensure error-free communication. However, CRC cannot correct errors within the data.

Where is CRC used?

CRC is extensively used in various domains where data integrity is crucial. It is commonly employed in communication protocols, such as ethernet, universal serial bus (USB), Bluetooth®, and WiFi, to ensure error-free transmission of data packets. CRC is also utilized in storage systems, such as hard drives and memory cards, to verify the integrity of stored data. Additionally, CRC is employed in file transfer protocols, error detection algorithms, and other applications where data accuracy is paramount.

Can CRC be used for data encryption?

No, CRC should not be used for data encryption. CRC is solely designed for error detection and does not provide any security features. It is a deterministic algorithm that produces the same checksum for identical data, making it unsuitable for encryption purposes. If data confidentiality is required, cryptographic algorithms and protocols should be used instead of CRC.

How efficient is CRC in detecting errors?

CRC is highly efficient in detecting errors, especially when compared to other error detection methods. It can detect a wide range of errors, including single-bit errors, burst errors, and some types of multiple-bit errors. The efficiency of CRC depends on the chosen polynomial and the length of the data being transmitted. By carefully selecting the generator polynomial, CRC can achieve a high probability of detecting errors while keeping computational overhead relatively low.

What is the role of polynomials in CRC?

Polynomials play a crucial role in CRC. The generator polynomial determines the characteristics of the CRC algorithm, including the error detection capability. Different generator polynomials result in different checksum lengths and error detection capabilities. The choice of polynomial depends on the specific requirements of the application, considering factors such as the desired error detection rate and available resources.

How does CRC handle different data lengths?

CRC is flexible in handling data of different lengths. It can be used to check the integrity of data packets or entire files. When calculating the CRC checksum, the data is processed bit by bit, regardless of its length. The generated checksum can then be appended to the data, allowing the receiver to verify the integrity of the entire transmission. This flexibility makes CRC suitable for various applications with differing data lengths.

How does CRC handle transmission errors?

When transmission errors occur, CRC plays a vital role in detecting them. As the data is received, the receiver performs the same CRC algorithm on the received data and generates a checksum. This checksum is compared with the one sent along with the data. If the two checksums match, it indicates that the data was transmitted without errors. However, if the checksums do not match, it suggests that errors have occurred during transmission, and the receiver can request retransmission of the data.

Can CRC detect all types of errors?

No, CRC cannot detect all types of errors. While it is effective in detecting many types of errors, there are certain error patterns that CRC may not be able to catch. For example, if errors occur in specific positions within the data that align with the mathematical properties of the chosen polynomial, CRC may fail to detect those errors. It is important to consider the limitations of CRC and evaluate its effectiveness based on the specific requirements of the application.

Is CRC used in error correction codes?

No, CRC is not typically used as an error correction code. While it can detect errors, it does not have the capability to correct them. Error correction codes, such as Reed-Solomon codes or Hamming codes, are designed to detect and correct errors. They introduce redundancy into the data, which allows for the reconstruction of the original information even in the presence of errors. CRC, on the other hand, focuses solely on error detection.

How does CRC handle multiple-bit errors?

CRC can detect some types of multiple-bit errors, depending on the error patterns and the chosen polynomial. If the multiple-bit errors align with the mathematical properties of the polynomial, CRC can detect them. However, if the errors occur in positions that do not align with the polynomial, CRC may not be able to detect those errors. It is important to consider the specific characteristics of the chosen polynomial and evaluate its effectiveness in detecting multiple-bit errors.

Can CRC be used for error detection in analog signals?

CRC is primarily designed for error detection in digital signals and is not suitable for use with analog signals. Analog signals are continuous and do not have discrete binary representations like digital signals. Error detection in analog signals requires different techniques, such as parity checks, checksums, or redundancy schemes specifically designed for analog signal processing. CRC relies on discrete binary data and would not be directly applicable to analog signal error detection.

Does CRC add any overhead to the transmitted data?

Yes, CRC adds a certain amount of overhead to the transmitted data. The CRC checksum, which is typically a fixed number of bits, needs to be appended to the original data before transmission. This increases the total size of the data being transmitted. The amount of overhead depends on the length of the CRC checksum and the size of the original data. However, the benefits of error detection provided by CRC often outweigh the additional overhead in most communication or storage scenarios.

open in new tab
© 2024 Lenovo. All rights reserved.
© {year} Lenovo. All rights reserved.
Compare  ()
x