LIN protocol Tx/Rx

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LIN protocol Tx/Rx

781 次查看
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.

标记 (1)
0 项奖励
回复
1 回复

752 次查看
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 项奖励
回复