CRC value in CAN Loopback testing

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CRC value in CAN Loopback testing

694 Views
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 Kudos
Reply
1 Reply

531 Views
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 Kudos
Reply