This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我在验证CAN奇偶校验的时候使能了PMD这个位域,但是不管是正常发送还是接收CAN报文,
这个位域都会显示出现错误位并且
这个寄存器也是相应邮箱的值。所以我想请问如何正确的使用
CAN奇偶校验这个机制呢。
您好,
我是说,报错机制对于正确的数据是没用的。
“28.15.1.5 CAN Error Generation Example”中是有例程参考的,但要保证数据帧中的个别位错误,导致的奇偶校验错误,有一定难度,您可以试一下。