Hi,
I faces a timeout problem in my LIN slave application that I use s32k116 MCU. I am using LPUART1 for LIN communication and when it responses to a LIN header, after sending first data byte, it stops sending but "LIN_TX_COMPLETED" event does not occur. I have doupts on the LIN library because when I debug it , it goes only once to the "LPUART_Putchar" function. I am sending response to the header inside the LIN callback function. Can you please help me!
Hi,
do not manually send characters, use driver api. Just prepare response buffer and use LIN_DRV_SendFrameData as it is shown in example. Checksum is calculated within interrupt handler.
BR, Petr