Hello,
I am able to reproduce the following situation:
I intentionally short circuit the CAN_HI and CAN_LO lines in order to generate a bus-off condition. Furthermore I run the following function every 62.5[us] out of a timer IRQ.
It can be seen that I detected 88 times a bus-off condition, so for a time duration of 88 x 62.5us = 5.5ms.
The CCR bit inside the CANMC register indicates this situation (note that the ABO bit is set to 0).
But the BO bit is cleared after 5.5[ms] and I don't know why this is happening since I did not yet called a function that exits the bus-off condition via clearing the CCR bit.
The CAN controller is not operating and the time stamp counter register CANTSC is not incrementing until I clear the CCR bit. So the bus-off condition seems to be pending.
Is this a normal situation, especially the fact that the BO bit gets automatically 0 after a short time?