CRC value in CAN Loopback testing

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CRC value in CAN Loopback testing

1,045 次查看
khushboosharma
Contributor I

Hi,

    I am testing "Can" interface using "canutils" utility. Currently i am testing a can interface with "loopback" mode.

When i am capturing packets sent through cansend utility using tcpdump i can not see CRC field filled in packets i.e. its value is 0.

Also when i check "flexcan.c" file, i cannot find any code for filling CRC value.

Can anyone please help why no CRC value is filled?

Is it because of "loopback" mode?

At which point exaclty the "crc" field on CAN frame is filled?

Thanks

Khushboo

0 项奖励
回复
1 回复

882 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Khushboo

for crc usage one can look at sect.26.6.9.5 Arbitration and Matching Timing

i.MX6DQ Reference Manual

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf

Linux driver for i.mx6 flexcan mailbox

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复