Describe the bug
I am trying to test Seeed 2 Channel Shield with RPI4. I installed CAN-HAT as follow:
$ git clone https://github.com/Seeed-Studio/seeed-linux-dtoverlays
$ cd seeed-linux-dtoverlays/modules/CAN-HAT
$ sudo ./install.sh
$ sudo reboot
$ sudo ip link set can0 up type can bitrate 250000
$ sudo ip link set can1 up type can bitrate 250000
As a result, the following messages are produced when trying dmesg | grep spi:
can1 works fine as it prints out only a single line of can1 7DF [4] DE AD BE EF on the terminal when trying: cansend can1 7DF#DEADBEEF from a different machine through PEAK-CAN interface.
But when I try the same to can0: cansend can0 7DF#DEADBEEF, the terminal reads the same message repeatedly for infinite times and it never stops until I escape:
...
can0 7DF [4] DE AD BE EF
can0 7DF [4] DE AD BE EF
can0 7DF [4] DE AD BE EF
can0 7DF [4] DE AD BE EF
can0 7DF [4] DE AD BE EF
can0 7DF [4] DE AD BE EF
can0 7DF [4] DE AD BE EF
can0 7DF [4] DE AD BE EF
...
Describe the bug I am trying to test Seeed 2 Channel Shield with RPI4. I installed CAN-HAT as follow:
As a result, the following messages are produced when trying
dmesg | grep spi
:can1
works fine as it prints out only a single line ofcan1 7DF [4] DE AD BE EF
on the terminal when trying:cansend can1 7DF#DEADBEEF
from a different machine through PEAK-CAN interface.But when I try the same to
can0
:cansend can0 7DF#DEADBEEF
, the terminal reads the same message repeatedly for infinite times and it never stops until I escape:Eventually, the following messages are shown:
I am not sure if this is a HW or CAN-HAT problem. Has anyone experienced the same or something similar?