请教CRC的问题
时间:10-02
整理:3721RD
点击:
--------------------------------------------------------------------
--------------------------------------------------------------------
The CRC register is initialized to 0x0001 just prior to the first bit of a packet then the bytes of the packet are
shifted into the register LSB first.
上面的协议要求CRC寄存器的初始值为:0x0001
没搞明白是什么道理,还请高手指点
CRC寄存器的初始值,我知道以下两种:
1、寄存器初始为全一时(magic number),相当于被除式增加了一个常数,在校验计算时会产生一个定值,
2、寄存器初始值为全0,校验的结果应该为0
--------------------------------------------------------------------
The CRC register is initialized to 0x0001 just prior to the first bit of a packet then the bytes of the packet are
shifted into the register LSB first.
上面的协议要求CRC寄存器的初始值为:0x0001
没搞明白是什么道理,还请高手指点
CRC寄存器的初始值,我知道以下两种:
1、寄存器初始为全一时(magic number),相当于被除式增加了一个常数,在校验计算时会产生一个定值,
2、寄存器初始值为全0,校验的结果应该为0
