No.7478 作者:zbby 邮件:zbby@sina.com ID:2863 登陆:4次 文章数:3篇 最后登陆IP:61.236.10.254 最后登陆:2003/8/26 5:08:37 注册:2002/3/5 12:01:00 财富:16 发帖时间:2002/5/15 7:08:00 发贴者IP:61.189.11.221 标题:zbby:C51编程:恳请详细指导如下这段关于CRC校验的确切意思,谢谢。 摘要:No.7478C51编程:恳请详细指导如下这段关于CRC校验的确切意思,谢谢。 CRC SEQUENCE The frame check sequence is derived from a cyclic redundancy code best suited for frames with bit counts less than 127 bits (BCH Code). In order to carry out the CRC calculation the polynomial to be diveded is defined as the polynomial, the coefficients of which are given by the destuffed bit stream consisting of START OF FRAME, ARBITRATION FIELD, CONTROL FIELD, DATA FIELD (if present) and , for the 15 lowest coefficient , by 0. This polynomial is divided (the coefficients are calculated modulo-2) by the generator -polynomial: x^15 + x^14 + x^10 + x^7 + x^4 + x^3 +1 The remainder of this polynomial division is the CRC SEQUENCE transmitted over the bus. In order to implement this function ,a 15 bit shift register CRC_RG(14:0) can be used . If NXTBIT denotes the next bit of the bit stream, given by the destuffed bit sequence fr ......
>>返回讨论的主题
|