AnsweredAssumed Answered

CRC value in CAN Loopback testing

Question asked by khushboo sharma on Jul 27, 2016
Latest reply on Jul 27, 2016 by igorpadykov

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

Outcomes