The setup: 2X MCP2515 chips with ATA6561 transiever
https://seengreat.com/wiki/82/dual-ch-can-hat
on a Raspberry Pi 5 Trying to connect to a 2013 Ford Fusion through the radio node. The Pi is to replace radio completely.
The CAN HS3 (come factory connected to the radio) twisted pair read 60 OHM across them and both are a fluctuating 2.5V with ground.
When I take the readings on the PI I get the same voltage fluctuation and each of the chips read 120 OHM if their respective termination switch is engaged.
I compiled SavvyCAN for the PI and I am ready to have some fun...
Unfortunately It is radio silence... as in when i initiate the CAN drivers on the PI, the dash goes down! When I say down, it wasn't even recording mileage!!
I've attached some command line stuff, but i was just following some things i had found online, HELP!!
https://seengreat.com/wiki/82/dual-ch-can-hat
on a Raspberry Pi 5 Trying to connect to a 2013 Ford Fusion through the radio node. The Pi is to replace radio completely.
The CAN HS3 (come factory connected to the radio) twisted pair read 60 OHM across them and both are a fluctuating 2.5V with ground.
When I take the readings on the PI I get the same voltage fluctuation and each of the chips read 120 OHM if their respective termination switch is engaged.
I compiled SavvyCAN for the PI and I am ready to have some fun...
Unfortunately It is radio silence... as in when i initiate the CAN drivers on the PI, the dash goes down! When I say down, it wasn't even recording mileage!!
I've attached some command line stuff, but i was just following some things i had found online, HELP!!
Code:
jr@raspberrypi:~ $ sudo ip link set can0 up type can bitrate 1000000jr@raspberrypi:~ $ sudo ip link set can1 up type can bitrate 1000000
Code:
jr@raspberrypi:~ $ dmesg | grep -i mcp[ 3.606244] mcp251x spi0.1 can0: MCP2515 successfully initialized.[ 3.633863] mcp251x spi0.0 can1: MCP2515 successfully initialized.
Code:
jr@raspberrypi:~ $ lsmod | grep spispidev 49152 0spi_bcm2835 49152 0spi_dw_mmio 49152 0spi_dw 49152 1 spi_dw_mmio
Code:
jr@raspberrypi:~ $ ifconfigcan0: flags=193<UP,RUNNING,NOARP> mtu 16 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 2 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0can1: flags=193<UP,RUNNING,NOARP> mtu 16 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Code:
jr@raspberrypi:~ $ grep 25 /proc/interrupts 9: 0 0 0 0 GICv2 25 Level vgic187: 0 0 0 0 pinctrl-rp1 25 Level spi0.0
Statistics: Posted by Tchort — Mon Jun 17, 2024 5:21 am — Replies 0 — Views 12