I am trying to implement LIN on IMX8QM with UART3 connecting to a LIN transceiver (TJA 1021).
Since the BSP is not supported by NXP, I found a LIN module (sllin) for Linux on Github (https://github.com/lin-bus/linux-lin/wiki). After loading the module to Linux kernel, I mount sllin0 on ttyLP3 and send data which also can be received by its own. Everything seems find and no error shows up.
However, the data I send are corrupt in oscilloscope. And neither Master mode and Slave mode are able to communicate with other devices on the same LIN bus.
Does anyone successfully implement LIN on IMX8QM using slLIN library? Is there any configuration I just missing? like UART config or something else?
Any advice would be appreciated.