-
Notifications
You must be signed in to change notification settings - Fork 5.2k
MCP251x failes setup CAN-bus communication with error=110 #4183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This sounds like a hardware problem - have you double-checked all of your wiring? |
I've checked it but with no changes. Rework all the wiring helped. So, it was a wiring issue. |
I encountered the same error while attempting to use the mcp2515 chip for CAN-bus communication over SPI 1-0/1/2 on the RPi 3B+. Communication over SPI 0-0/1cs is successful using the "mcp2515-can0.dtbo" and "mcp2515-can1.dtbo" overlays. I've also successfully tested SPI 0 with the newly introduced overlay "mcp2515.dtbo" found in the Raspberry OS, which functions correctly. However, attempting to use the chip with SPI1-0/1/2cs results in the same error. Below is the description of the "mcp2515.dtbo" overlay located in /boot/overlays/README:
INT -- 22 (GPIO 25)
dtparam=spi=on
`/dts-v1/; / {
}; |
My project uses the mcp2515 chip to communicate via CAN-bus.
After kernel update following failure occurs:
My overlay configuration is:
My current kernel version is:
Linux 5.10.11-v7l+ #1399 SMP Thu Jan 28 12:09:48 GMT 2021 armv7l GNU/Linux
os:
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
and additionally I use the can-utils package.
The text was updated successfully, but these errors were encountered: