Search found 2 matches

by spintec
Thu Mar 15, 2018 3:49 pm
Forum: ESP-IDF
Topic: Can Bus off
Replies: 3
Views: 7755

Re: Can Bus off

Hi, I'm facing similar problems with bus-off. Only workaround I have found till now is to read TX error counter an if it exceed half of max value, then start CPU based bus-off recovery before it actually enter real bus-off. In attachment there is my modified CAN.c - try it and let me know if it work...
by spintec
Thu Mar 15, 2018 3:48 pm
Forum: Hardware
Topic: CAn controller
Replies: 9
Views: 14324

Re: CAn controller

Hi, I'm facing similar problems with bus-off. Only workaround I have found till now is to read TX error counter an if it exceed half of max value, then start CPU based bus-off recovery before it actually enter real bus-off. In attachment there is my modified CAN.c - try it and let me know if it work...