Hi,
there are two RTD demos you can refer to, where LPUART is used as LIN Master
- "Lin_Ip_FrameTransfer_S32K344"... simple application which shows a communication between a Lin Master and a Lin Slave of both Lpuart Ip and Flexio Ip. But it does not show master receive, however can be modified if needed.
- "Lin_Master_S32K344_Example_DS" ... LINStack example demonstrating the LIN communication between S32K344 Master and other board/tool Slave using unconditional frames.

If looking for baremetal code, maybe below one can be useful;
https://community.nxp.com/t5/S32K/S32K144-LIN-bus/m-p/818963
BR, Petr