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,
I'm testing the LIN driver with LIN interface layer the Tx header TX response is updating ,for Tx header Rx response the register level LIN_LPUART1_RxTx_IRQHandler() the rx data was not updating .
Note: At the driver level the Tx and RX working fine.
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