Not not using the canbus cape, but I hope I can help. I actually created my own “cape”, but it should work the same. To initialize the can bus I call the following commands:
ip link set can0 type can bitrate 125000 triple-sampling on
ifconfig can0 up
If it works, you should see the device when you call “ifconfig”.
After that, calling “candump can0” does print the data on the bus. I think I am able to send data as well, but I haven’t tried in a while. I’m using SocketCAN, but I mainly read values from the bus and update the UI in my application. Anway, hope this helps…