teachop / FlexCAN_Library

Arduino library for CAN on Teensy 3.1
The Unlicense
155 stars 122 forks source link

Bus Off Recover #28

Open nikosp11 opened 7 years ago

nikosp11 commented 7 years ago

Dear Sir,

if a bus off state occurs, is there an option to recover that state and automatically reconnect to the bus?

Thank you, Nikos

tonton81 commented 6 years ago

The controller does this by default (autorecovery), you may disable this but handle the ESR1 manually if the BUSS OFF state is triggered in order to manually get it running again. Refer to datasheet