摘要
本文根据数学推导和工程实践的结果,论述了在单片机上如何运用软件方法,使生成多项式CRC─CCITT和CRC—16在串行同步通信中实现循环冗分校验的问题,并给出了详细的程序示例,还指明了用循环冗余校验的原理计算HDLC规程帧校验序列时的区别。
Based on mathematic deduction and engineering practical result,this paper addresses howto realize Cyclic Redundancy Check (CRC) bysoftware in single chip microcomputer when use twogenerator polynomials CRC -- CCITT and CRy-- 16 inserial sychronous communication (It not only presenta detailed program for calculating CRC but alsopoints out differences between calculating CylicRedundancy Check (CRC) and Frame CheckingSequence (FCS) of HDLC protocol with the givenmethod in the paper.
出处
《微计算机信息》
1999年第3期55-57,共3页
Control & Automation