RX dropped packets (can0 not working)

After successfully trying out candump can0 on a cangen can0 command, I ran into an issue where candump can0 does not display any messages. However, the same thing works for can1, athough I see an increase in number of RX packets each time I send a message . Any help on enabling can0 again?

These are the messages I receive after running ifconfig for can0 and can1:

can0: flags=193<UP,RUNNING,NOARP>  mtu 16
    unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)
    RX packets 3  bytes 24 (24.0 B)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 0  bytes 0 (0.0 B)
    TX errors 0  dropped 1 overruns 0  carrier 1  collisions 0
    device interrupt 67 

can1: flags=193<UP,RUNNING,NOARP>  mtu 16
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
        RX packets 204  bytes 1220 (1.2 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 204  bytes 1220 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 68

Hi ali4,

Sorry for the late response, may I know whether this is still an issue to support or you have managed to resolved it?

yes this is still something that I have not been able to resolve.

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Hi ali4,
Can you share the commands you have used to enable can0 and can1?
also status of below commands:
$cat /proc/device-tree/mttcan@c310000/status
$cat /proc/device-tree/mttcan@c320000/status

Thanks,
Shubhi

I had the same issue. Fixed it here Actually, this is related to two possible reasons:

  1. The sender and receiver nodes not configured at exact frequencies.

  2. Jetson not receiving frames in the expected format and hence rejecting them. In the above mentioned answer, I mentioned how to ask Jetson to accept all frames irrespective of their format errors.

1 Like

Exact same issue, I tried the script from the above link but it did not fix it. I am using a logic analyzer and can definitely pickup data on CAN1 but not seeing anything on CAN0.

Did you end up finding a way to fix this?

Hi HillRipper21,

Please help to open a new topic with more details. Thanks