Tiny Core Base > Raspberry Pi

Problem: Unable to Bring Up Two MCP2515 CAN Interfaces Simultaneously on piCore

<< < (2/2)

gadget42:
https://forums.raspberrypi.com/viewtopic.php?t=141052

milad:
Thanks again!
However, my problem is not related to the MCP2515 driver or wiring. The issue is that SPI on piCore cannot handle two CAN interfaces simultaneously (I THINK).

On other OSes like DietPi, both can0 and can1 come up together and work fine. But on piCore, I can only bring up one at a time—attempting to bring up the second interface causes issues.

The problem seems to be with SPI handling on piCore, not the CAN setup itself. Any ideas or suggestions on how to resolve this would be greatly appreciated!

Rich:
Hi milad
Maybe you could post the output from the following commands:

--- Code: ---version
uname -r
--- End code ---
This way people will know what version of piCore you are running
and on which architecture.


--- Quote from: milad on February 28, 2025, 04:21:35 PM ---yes , I'm using dtoverlay=mcp2515-can0 and can1 on the same bus
--- End quote ---
Oh good, you shared some information about your config.txt file.

This guy has 5 MCP2515 controllers running, but based on what little
information you provided, I think his config.txt might be doing the
overlays a bit differently:
https://forums.raspberrypi.com/viewtopic.php?t=353869

Navigation

[0] Message Index

[*] Previous page

Go to full version