TXBHC Interrupt in Bus-off
Currently when node is in Bus-off and TXT Buffer receives Set Ready command, it moves to Ready and then immediately to TX Failed. But this transfer does not invoke TXBHC Interrupt! This should be either noted in Datasheet, or it should be implemented that TXBHCI is invoked! The decision is that it will be implemented so that TXBHCI behaviour is consistent!
Then CTU CAN FD driver will get TXBHCI when it is bus-off, and it should not execute TXT Buffer priority rotation (to keep the TXT Buffer in failed and not to move it for further transmission)... Or should it be rotated?