基于C8051F的CRC校验算法的实现.PDFVIP

  • 13
  • 0
  • 约2.01万字
  • 约 4页
  • 2018-12-13 发布于天津
  • 举报
基于C8051F的CRC校验算法的实现.PDF

基于 C8051F 的 CRC 校验算法的实现  陈 敏 ,等 基于 C8051F 的 CRC校验算法的实现 Im p lem e n ta tio n o f th e CRC A lgo rithm B a se d o n C8051F 陈  敏  褚红燕 (南京师范大学电气与自动化工程学院 ,南京 2 10042) ( ) 摘  要 : 介绍了 CRC 循环冗余码校验 原理及集成混合信号片上系统单片机 C8051F 的新特性 ,推导获得以字节为单位的数据序列 CRC码递推算法 ,利用 C8051F单片机的自带 CAN 2. 0B 总线接口控制器可以很方便的组成基于网络通信的智能仪器测控系统 ,给出 了应用 C8051F 的 CAN2. 0B 总线接口通信时的 CRC码运算实例 ,此算法完全可以满足工业测控系统实时性的需要 。 关键词 : 测控系统 网络通信  智能仪器 中图分类号 : TP393    文献标识码 : B A bstract: The p rincip le of CRC ( cyclic redundancy check ing) and the new characteristic s of SOC ( system on ch ip ) C8051F are introduced. The recursive algorithm on the arrays of data CRC w ith Byte a s the un it is derived. By u sing integrated CAN2. 0B bu s interface contro ller of MCU C8051F, it is easy to compo se the intelligent in strum ent m easuring and contro lling system ba sed on network commun ication. The CRC ex amp le is given when the CAN2. 0B bu s interface of C8051F on commun ication is app lied. The algorithm comp letely m eets the real tim e dem and of the indu strial m ea suring and contro ling system s. Keywords: M ea suring and contro ling system  N etwork commun ication Intelligent in strum ent 大的 8位单片机之一 ,很多原来需要外围元器件组成 0 引言 的功能电路被集成到芯片之中;具有速度更快 、实时性 目前 , 由单片机构成的嵌入式工业测控系统应用越 好 、小型化 、低功耗等特点 。 来越广泛 。随着网络技术的发展 ,大多数的应用都需要 1 CRC 原理 通过网络与上位机相连 。而在实现过程中,存在着工业 环境相对恶劣与通信数据不容出错的制约因素。 CRC校验的基本思想是

文档评论(0)

1亿VIP精品文档

相关文档