I'm new to using CAN and revpi. Using a revpi with a CAN module... it is connected to customer CAN node(s).
I'm finding that sometimes the CAN network goes down.
I have to restart it like this:
sudo ip link set can0 down
sudo ip link set can0 type can restart-ms 100
(I attempt to use this command instead, "sudo ip link set can0 type can restart" but it gives an invalid argument error)
sudo ip link set can0 up
Suppose the revpi is the only CAN node that is up, all the other CAN nodes are powered down. Then I assume what will happen is, transmission errors will accumulate on the revpi and eventually the can bus will go into BUS-OFF state? Is that right? I suspect this might be what's going on. What other other issues can cause transmission errors? Thanks.