Hi, I am using the LIN stack contained in the S32 SDK for s32k118 and i need to know how the LIN driver works internally. I´m trying to understand how the driver manages to send/TX multiple bytes inside the same Interrupt handler (LIN_LPUART1_RxTx_IRQHandler)
From my understanding, a LIN response can contain multiple data bytes, so if the interrupt is triggered because the driver have received 1 byte, the driver should be able to respond with multiple data bytes as described in the Figure 2.3. However, inspecting the code
Hi,
yes byte by byte process is done. For each byte received LIN_LPUART_DRV_ProcessFrame is called and upon driver state new byte will be received or send.
BR, Petr