This does not tell us strictly speaking if the canbus itself has issues,
but we have a heartbeat device on the canbus. If we fail to hear from it
(or any other traffic) for a set period of time, we reset the canbus as you
described. In practice I've only seen this reset trigger when I've
forgot
You can configure the controller to automatically recover from bus-off
conditions by setting the "restart-ms" option.
The python-can documentation has some useful notes on socket-can and
bus-off conditions:
http://python-can.readthedocs.org/en/latest/socketcan.html#can-errors
On Wednesday, Sep
Adding restart-ms did the trick! Thanks so much, I never knew that was even
there.
On Wed, Sep 10, 2014 at 8:37 PM, Devan Lai wrote:
> You can configure the controller to automatically recover from bus-off
> conditions by setting the "restart-ms" option.
>
> The python-can documentation has some
Brent, what guide are you reading for CAN ? I've never used CAN personally,
and am curious . . .
On Thu, Sep 11, 2014 at 2:25 PM, Brent Sink wrote:
> Adding restart-ms did the trick! Thanks so much, I never knew that was
> even there.
>
> On Wed, Sep 10, 2014 at 8:37 PM, Devan Lai wrote:
>
>> Y
Well, I'm not reading a guide, but I'll share a few links that helped me
get started. I have a Qt application and I use the SocketCAN to read/write
CAN messages. This will work with J1939 as well.
https://www.kernel.org/doc/Documentation/networking/can.txt
http://en.wikipedia.org/wiki/SocketCA
Thank Brent, However I was more curious about the bring up of the hardware
on the BBB. IS there cape file I have not noticed yet ?
If so I can probably figure it out on my own.
On Thu, Sep 11, 2014 at 4:52 PM, Brent wrote:
> Well, I'm not reading a guide, but I'll share a few links that helped
Ah, yes. The TT3201 cape has three CAN channels, but two of them are over
SPI. This should help you out...
https://github.com/beagleboard/devicetree-source/blob/master/arch/arm/boot/dts/TT3201-001-01.dts
On Thu, Sep 11, 2014 at 8:00 PM, William Hermans wrote:
> Thank Brent, However I was mor
Witch kernel are you using? Using the can cape that uses the can1
interface, I'm having some troubles with the 3.8 of Robert.
After I send some packages it just silently stop sending and I have to do a
ifdown ifup in order to make it run again. This didn't happen with the
Kernel version of the A