I am trying to connect mcp2515 can bus module with raspi 4b.
On using pi@piv2:~ $ sudo ip link set can0 up type can bitrate 125000
the terminal freezes so i downgraded my terminal to 5.4.61-v7l ,t started working after that change.
On using dmesg I found the following:
mcp251x spi0.0 can0: MCP2515 successfully initialized.
mcp251x spi0.0 can0: bitrate error 33.3% too high
mcp251x spi0.0 can0: bus-off
I had also installed can-utils package and tried to verify my connections using candump but no messages are received. My mcp2515 works on 8Mhz, my connections are as follows: Arduino - can module - can module - raspi, I have verified working of arduino can module via oscilloscope. Also I am using 5v to 3.3v logic converters to connect the raspi to can bus. I am following this page: https://forums.raspberrypi.com/viewtopic.php?t=141052