Skip to content

CAN doesn't work #50

Open
Open
@HerpVanDerp

Description

@HerpVanDerp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions