cdsteinkuehler / beaglebone-universal-io

Device tree overlay and support scripts for using most available hardware I/O on the BeagleBone without editing dts files or rebuilding the kernel
GNU General Public License v2.0
127 stars 54 forks source link

CAN doesn't work #50

Open HerpVanDerp opened 7 years ago

HerpVanDerp commented 7 years ago

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.

AlexEshoo commented 6 years ago

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.