CRC value in CAN Loopback testing

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CRC value in CAN Loopback testing

1,049件の閲覧回数
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 返信

886件の閲覧回数
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 件の賞賛
返信