beaglebone-universal-io icon indicating copy to clipboard operation
beaglebone-universal-io copied to clipboard

CAN doesn't work

Open HerpVanDerp opened this issue 7 years ago • 1 comments

Hello,

I'm trying to use the CAN bus with cape-univerisal. After booting the BeagleBone executes this commands with sudo:

config-pin P9.24 can config-pin P9.26 can modprobe can modprobe can-dev modprobe can-raw ip link set can0 up type can bitrate 250000 ifconfig can0 up

Afterwards with ifconfig, the can should be running: can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 UP RUNNING NOARP MTU:16 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:207

However I'm not able to read the bus with candump or write the bus with cansend. The commands are not returning an error, but nothing happens.

HerpVanDerp avatar Jun 18 '17 18:06 HerpVanDerp

I am experiencing the same, I previously had the CAN bus working with the BB-CAN1 cape enabled, but I have updated my bootloader and since then, have not been able to connect with either that cape or the universala cape enabled.

AlexEshoo avatar May 07 '18 17:05 AlexEshoo