Hello,
I am currently working on a company project using a custom board based on the i.MXRT1171. Additionally, I have an EVB1176 B version kit available for reference.
During a test scenario where the CAN Bus line after the CAN transceiver experiences a short circuit, TX-related errors occur, leading to an increase in TXERRCNT and triggering the TXWRN interrupt.
I am attempting to notify users about CAN transmission issues and implement a handler to restore normal operation. However, while TXWRN is cleared upon retransmission, TXERRCNT remains persistently high, causing the TXWRN interrupt to repeatedly occur.
From my understanding, TXERRCNT can only be controlled in Freeze mode. In normal operation mode, is a soft reset the only solution to this issue? Alternatively, is there any sample code for handling CAN errors?
Thank you for your assistance.