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 <devan....@gmail.com> 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 useful notes on socket-can and
> bus-off conditions:
>
> http://python-can.readthedocs.org/en/latest/socketcan.html#can-errors
>
>
> On Wednesday, September 10, 2014 9:39:21 AM UTC-7, Brent wrote:
>>
>> I have noticed that if I short CAN_H and CAN_L together, or if there is
>> noise on the bus, the BeagleBone will stop sending and receiving CAN
>> messages.  When this happens, if I execute "ifconfig can0 down" and
>> "ifconfig can0 up", things start working again.  Is there a way to detect
>> this automatically and recover?  I'm using SocketCAN, but haven't found
>> anything that would tell me when I get a bus off or bus heavy.
>>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/SdvoxYkgagc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
-brent

-- 
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