This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CANBUS clearing error counter

Genius 5910 points

I use the 28069 and I  have the following problem: When there is NO  Canbus connected. I get a lot of Canbus interrupts. This affect my main controller interrupt loop,  an interrupt priority system would be nice.

To solve this: When I detect that one of the Canbus error counters overflows. I disable the Canbus interrupt. And after a second,  I want to clear the error counters and try again. Unfortunately I can't find in the datasheet how to clear those counters. So can you please tell me  how is it done?

 Thanks!