本帖最后由 tyw 于 2023-10-19 14:06 编辑
每一帧8字节,最后一位是校验位,不清楚怎么计算的,有此经验的同行请驻足,给指点一下。
谢谢!
x| 00 01 00 00 00 00 00 3E
x| 00 01 00 00 00 00 01 11
x| 00 01 00 00 00 00 02 60
x| 00 01 00 00 00 00 03 4F
x| 00 01 00 00 00 00 04 82
x| 00 01 00 00 00 00 05 AD
x| 00 01 00 00 00 00 06 DC
x| 00 01 00 00 00 00 07 F3
x| 00 01 00 00 00 00 08 69
x| 00 01 00 00 00 00 09 46
x| 00 01 00 00 00 00 0A 37
x| 00 01 00 00 00 00 0B 18
x| 00 01 00 00 00 00 0C D5
x| 00 01 00 00 00 00 0D FA
x| 00 01 00 00 00 00 0E 8B
x| 00 01 00 00 00 00 0F A4
新能源汽车CAN和CANFD通信中的校验算法.pdf
(1.07 MB)
tyw 注
|
谢谢。本来一个累加和就可以解决的问题整得这么复杂,这样会不会加重CPU的负担?这样会比简单的CRC会更可靠?
参考一下