Hi team,
When LIN driven (UART2 analogue) transmits data, with the exception of the break and sync segments, the rest is sent in the receive interrupt (the LIN transceiver is capable of sending bytes from UART2_TX to UART2_RX and also onto the LIN bus).
Background: The ECU's LIN module is the master and the LIN drive is written using UART2. Response is lost when using UART2 to send the header and response. An interrupt flag was printed when the problem occurred and a time-out interrupt was found.
Issue: The time-out interrupt is always entered when sending data.
The waveform when this problem occurs is as follows, when UART2_TX transmitted the last byte, a time-out interrupt was entered, resulting in the receive register RHR data of 0x00, and the remaining bytes could not be transmitted.

The waveform for a normal transmission is as follows:

Could you help check this case? Thanks.
Best Regards,
Cherry