Hi all,
we bought a BBB a few days ago. I tried to run a simple can send/receive demo. I’m using the “out of the box” angstrom linux distribution and activated the dcan1 according to this tutorial: http://www.embedded-things.com/bbb/enable-canbus-on-the-beaglebone-black/ . The overlay is placed and the driver comes up as expected. My ifconfig shows the can0 if and I could start a simple onboard loopback demo. Now we ordered a HS-CAN transceiver (microchip MCP2551) and setup a simple circurit and connected the CAN bus to an external stimmulator. Now to my problem: I only can send data on the bus (even on the relatet pin on BBB) when I initialize the CAN with loopback mode enabled, otherwise only the first frame can be seen via a oscilloscope but the bus tracer reports an error. All attempts to write again on the bus fail afterwards. Dmesg tells me “c_can_platform 481d0000.d_can can0: setting BTR=1c0e BRPE=0000”.
The next problem is, when I start in loopback mode, I only can send on the bus, but when I trigger a frame with the external bus stimulator I can see the frame circulating on the bus (again only with the oscilloscope) but no reception at the RXD pin of my BBB.
Does this sound familar to any one? Thank you in advance