Search found 5 matches

by agregg
13 Jun 2025, 17:52
Forum: Software
Topic: Pi5 CANbus with Balena
Replies: 7
Views: 14055

Re: Pi5 CANbus with Balena

Bump on this ^ Are you able to replicate with Balena?
by agregg
09 May 2025, 15:47
Forum: Software
Topic: Pi5 CANbus with Balena
Replies: 7
Views: 14055

Re: Pi5 CANbus with Balena

Hi Nicolai, that's what is strange. I'm setting spi5 exactly how you wrote in your post, but the error is coming back as spi0.
by agregg
07 May 2025, 17:57
Forum: Software
Topic: Pi5 CANbus with Balena
Replies: 7
Views: 14055

Re: Pi5 CANbus with Balena

I'm having trouble with that one. I tried adding it with the previous can0 overlay and also just by itself.

I get the following conflict:

root@balena:~# dmesg | grep spi
[ 3.009703] spi spi0.0: chipselect 0 already in use
[ 3.009712] spi_master spi0: spi_device register error /axi/pcie@1000120000 ...
by agregg
05 May 2025, 17:42
Forum: Software
Topic: Pi5 CANbus with Balena
Replies: 7
Views: 14055

Re: Pi5 CANbus with Balena

Thanks! I started looking through the overlay files and was almost there. I tried the overlays you recommended:
"spi1-2cs,cs1_pin=11","mcp251xfd,spi1-1,interrupt=6,oscillator=20000000"

After removing the default param spi=on that was causing a gpio conflict, I was able to get can0 working ...
by agregg
25 Apr 2025, 04:20
Forum: Software
Topic: Pi5 CANbus with Balena
Replies: 7
Views: 14055

Pi5 CANbus with Balena

Hi, I am trying to get the Pi5 CANbus to work with Balena OS. I have successfully loaded Balena and I am using dt overlays that work with a different MCP2515-based CAN hat. I doubt these are correct for RevPi. I'm unable to see the can devices in ifconfig. Could you tell me the correct overlays that ...