- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
CRC详解(CRC,)
CRC详解(CRC,)
The CRC algorithm and C language implementation (three methods)
Pick to
In this paper, the principle of CRC algorithm is deduced theoretically, and three C language programs are given in the hardware environment of different computers or microcontrollers. The reader is more able to write a more practical CRC program in different languages based on the principle of this algorithm.
Keyword CRC algorithm C language
1 the introduction
CRC inspection technology is widely used in the field of measurement and control and communication. CRC calculation can be accomplished by dedicated hardware, but for a low cost microcontroller system, in the absence of hardware support to realize the CRC check, the key problem is how to use the software to complete the CRC calculation, namely, the CRC algorithm.
Here will provide three kinds of algorithms, they are a little different, a program is suitable for the space very demanding but CRC calculation speed of microcontroller system, another can be used for a wide application space and CRC calculation speed requirements higher computer or microcontroller system, the last one is apply to the space program is not too big, and CRC calculation speed and micro controller system can not be too slow.
2 introduction of CRC
CRC check of the basic idea is using the theory of linear code, the sender, according to the k bit binary code sequence to be transmitted to certain rules to create a check in the supervision of the code (both CRC code) r, and attached behind the information, form a new binary code sequence number (k + r), finally sent out. At the receiving end, the test is performed based on the rules of the information code and the CRC code to determine whether the transmission is wrong.
The rule of 16 bits of CRC code is that the number of binary sequences to be sent first is 16 bits
), divided by a polynomial, the resulting remainder is both CRC code, such as type (2-1) type, as shown in the B (X) n bit binary sequence number
您可能关注的文档
- 车间变电所位置和变压器数量(The location of the substation and the number of transformers).doc
- 部分题解(Part of the answer key).doc
- 部落草药学1-300攻略(Tribal herbs learn 1-300 strategies).doc
- 锡青铜 特点(Tin bronze characteristics).doc
- 长余辉材料(Long persistence material).doc
- 长春大学特殊教育学院残疾人高等教育入学单考单招考试说明(化学,普高)(University of changchun special education college students with disabilities higher education entrance examination certificate (chemistry, pugao)).doc
- 质管题库(Quality control test).doc
- 长春大学特殊教育学院残疾人高等教育入学单考单招考试说明(化学,青岛)(University of changchun special education college students with disabilities higher education entrance examination certificate (chemistry, Qingdao)).doc
- 长郡考试题(The long county test).doc
- 长距输油管道施工(Long distance pipeline construction).doc
- css3伪类选择器(Css3 pseudo-class selector).doc
- Crystalization(结晶).doc
- CS参数解释(CS parameter interpretation).doc
- CV薄荷配音作品集合(CV mint voice collection).doc
- C、医药科学学科分类6(C. Classification of medical science subjects 6).doc
- C语言 螺旋方阵解析(C language spiral square analysis).doc
- c程答案(C cheng answer).doc
- C语言图像函数库详解(The C language image function library is detailed).doc
- c语言牛拉法潮流(C language cow rafa tide).doc
- C语言考题(C language examination questions).doc
文档评论(0)