Calculating the CRC for Messages using the TCP/IP Communication Protocol APPLICATION NOTE
■A cyclic redundancy check (CRC) is an error-detecting techniquethat is commonly used to detect accidental changes to data in networks. A check value is attached to the original data prior to transmitting it. When the data is received after being transmitted through anetwork the check value can be used to determine if the data has been corrupted.
■MagneMotion uses the CRC-CCITT standard with an initial value of 0xFFFF and the mask polynomial 0x1021 = 2^16+2^12+2^5+1 = 100010000001000012.Note that the hexadecimal representation (0x1021) omits the leading 1 of the binary representation according tocommon practice.
●Summary
■The CRC is used in MagneMotion’s TCP/IP Communications Protocol to detect transmission errors. The step by step example in this App Note describes the process to calculate the CRC value and how to use it to detect accidental data corruption.
|
|
|
|
Application note & Design Guide |
|
|
|
Please see the document for details |
|
|
|
|
|
|
|
English Chinese Chinese and English Japanese |
|
2020/2/18 |
|
Rev. A |
|
MMI-AT031A-EN-P |
|
396 KB |
- +1 Like
- Add to Favorites
Recommend
All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.