Hello,
I have a problem with can bus on Beaglebone black. I am using TI kernel on my BBB. Output of uname -a is as follows,
Linux am335x-evm 3.12.10-ti2013.12.01 #36 Sat Jul 25 12:45:12 EEST 2015 armv7l GNU/Linux
I am trying to send and receive can messages with can0. I was able to bring up can0 following this guide,
http://processors.wiki.ti.com/index.php/AM335X_DCAN_Driver_Guide
I have another board which sends can messages with the same bitrate continuously. I am sure that it can send/receive the messages since I tested this with two of them as one of them is receiver and the other one is sender.
When I run the candump, I can't see any packets on the screen. Output is as follows,
root@am335x-evm:~# ip link set can0 type can bitrate 50000 triple-sampling on
root@am335x-evm:~# ip link set can0 up
root@am335x-evm:~# candump can0
interface = can0, family = 29, type = 3, proto = 1
I added following lines in am335x-boneblack.dts file to configure the can0
dcan0_pins: dcan0_pins {
pinctrl-single,pins = <
0x178 0x12
0x17C 0x32
>;
};
&dcan0 {
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
I also tried to send can messages from BBB, I can see the signal with oscilloscope at can0 tx pin but receiving fails at receiver side.
My can trasnciever is sn65hvd233dr.
I am stuck with this after working several days. I would be happy if anyone can give some clue or suggest some tests to progress. Thank you.

