Hello ,
Continuing the discussion from MTTCAN on Orin NX issues:
@KevinFFF
I had the same problem and checked out your previous posts.
The only way to restore the CAN transmit function with your patch modification is to turn CAN off and on again.
But according to my understanding, the automatic recovery of busoff should restore the CAN transmit function at the same time, otherwise the recovery of busoff is meaningless.
I added a modification according to my understanding: reset tx_object after busoff executes the recovery logic.
The test works and it can automatically restore the transmit function after busoff.
Since I haven’t fully analyzed your can driver, I need your help:
Is it possible to make this modification? Will this one modification cause me to introduce other unknown issues?