Combining Parity & CRC for Error Checking

In summary, the conversation is about combining parity and CRC error checking methods for data transmission. The question is whether or not these two methods can be used together and how to implement them for error checking. The response is that it is common to combine them and the checksum (CRC) is placed at the end of the data, with the parity bit being applied to each byte in the data stream.
  • #1
ws0619
53
0
Hi!

Recently I am studying on parity and CRC(cyclic redundancy checks) this two error checking methods.

The problem is can this both methods combine to use together during transmission data?

Let say I need to transfer ASCII code and I do CRC first,then before sending data I do parity on the data formed after CRC to make it 8 bits.

Is this method correct or not?Can someone guide me how to build a error checking by using this two methods together?

Thanks!
 
Engineering news on Phys.org
  • #2
Yes it's common to combine them.
Once you have calculated the checksum (CRC) it goes on the end of the data like any data - the parity bit is then applied to each byte in the data stream
 
  • #3


Hello,

It is possible to combine parity and CRC for error checking, but it is important to understand the limitations and considerations of each method before doing so.

Parity checks are a simple and efficient method for detecting errors in data transmission. However, it can only detect an odd number of errors and is not able to correct them. In contrast, CRC is a more complex and robust error checking method that can detect and correct a larger number of errors.

In theory, combining both methods can provide a more thorough error checking process. However, it is important to consider the added complexity and potential for errors in the implementation. Additionally, it is important to ensure that the CRC and parity bits are properly aligned and calculated to avoid any issues.

Overall, it is possible to combine parity and CRC for error checking, but it is important to carefully consider the trade-offs and ensure proper implementation for the best results.
 

1. What is the purpose of combining parity and CRC for error checking?

The purpose of combining parity and CRC (Cyclic Redundancy Check) is to create a more robust and reliable error checking system. Parity alone can detect single-bit errors, while CRC can detect more complex errors such as burst errors. By combining these two methods, a wider range of errors can be detected.

2. How does the combination of parity and CRC work?

The combination of parity and CRC works by first using parity to check for single-bit errors. If a parity error is detected, the data is discarded. If no parity error is found, then CRC is used to check for more complex errors. The CRC algorithm generates a checksum based on the data, which is then compared to the received checksum. If the two checksums match, the data is assumed to be error-free.

3. Can combining parity and CRC completely eliminate errors?

No, combining parity and CRC cannot completely eliminate errors. While this method can detect a wide range of errors, it is still possible for certain errors to go undetected. However, the likelihood of undetected errors is significantly reduced compared to using parity or CRC alone.

4. Are there any drawbacks to using a combination of parity and CRC for error checking?

One potential drawback of using a combination of parity and CRC is the increased complexity and computational cost. Both methods require additional bits to be added to the data for error checking, which can impact data transmission speeds. Additionally, implementing both methods may require more advanced hardware or software.

5. Is combining parity and CRC the most effective way to ensure data integrity?

While combining parity and CRC is a common and effective method for error checking, it may not be the most effective for all situations. Different methods may be more suitable depending on the specific needs and requirements of the data being transmitted. It is important to carefully consider the data and potential error sources when selecting an error checking method.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
4
Views
814
  • Electrical Engineering
Replies
2
Views
3K
  • Programming and Computer Science
Replies
4
Views
803
  • Programming and Computer Science
Replies
3
Views
1K
  • Electrical Engineering
Replies
8
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
8
Views
2K
Replies
1
Views
948
  • Electrical Engineering
Replies
15
Views
2K
  • Electrical Engineering
Replies
1
Views
2K
  • Electrical Engineering
Replies
3
Views
2K
Back
Top