LIN protocol Tx/Rx

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LIN protocol Tx/Rx

783 Views
semiconductor_user
Contributor III

i am working on s32k324 MCU where i'm tring to commnucation with slave Via Lin protocol.and i am using PLIN tool as slave for data transmit and receive but i'm facing issue in receving data in my board. if anybody have example code for transimt and receive both please share me.

Tags (1)
0 Kudos
Reply
1 Reply

754 Views
PetrS
NXP TechSupport
NXP TechSupport

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.

PetrS_0-1728479537721.png

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

0 Kudos
Reply