On 26.10.2015 14:04, Robert Nelson wrote:
On Sun, Oct 25, 2015 at 7:49 AM,  <m.schies...@gmail.com> wrote:
Hi out there,

hope someone can help me to activate the CAN Bus interface at Beaglebone
Black. I describe shortly what I
have done so far
The can interface works fine, what did you use to interface the bbb's
pins to your can network?

Regards,

Hi Robert,
I use a simple breakout board,

https://www.pi-shop.ch/adafruit-proto-cape-kit-for-beagle-bone

soldered CAN Transceiver SN65HVD230D on it and connected Pin


P9_26 -> 4
P9_24 -> 1
GND -> 2
+3.3 -> 3
CANL -> 6
CANH -> 7
GND  -> 8

I verified the signals by oscilloscope and receive a good signal at pin P9_26 but the socket interface does not show any frame. The same signal connected to raspberry and it receives valid frames at a bitrate of 125kBit.

If I try to send frames from bbb I don't can measure any signal at pin P9_24. And the interface goes straight into BUS-OFF mode, if I don't give "restart-ms 100" option during interface creation.

Do I give the "loopback" option

ip link set can0 type can bitrate 125000 triple-sampling on loopback on

everything is fine and I can receive my own frames.

could it be a bitrate issue / frequency problem?
Do you have a tool handy, reading register values form the arm. Maybe this would help to understand the issue better

Regards

markus

--
For more options, visit http://beagleboard.org/discuss
--- You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to