Lin Example Code is not working

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

Lin Example Code is not working

983 次查看
rohit_alate
Contributor II

Hello Community,

I am trying to establish the connection between the Lin Master Baremeteal code example, on s32k148, and the on-vehicle spy I am checking for the data.so I am not able to receive the data on the vehicle spy tool.

I am new in these things can anyone please help me out here how I can establish the Communication between the tool and any lin example code for the s32k148.

Thanks in Advance,
Rohit

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

975 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@rohit_alate

         What is the driver (SDK, RTD) version you are using?, are you using S32K148EVB?

There are some routines in our SDK about LIN communication.

“lin_master_s32k148” & “lin_slave_s32k148”

Those examples demonstrates the LIN communication between S32K EVB Master and Slave using unconditional frames.

 

For example, what I am using shows below.

IDE:S32 Design Studio for ARM Version:2018.R1

Driver:SDK:RTM3.0

Hardware:S32K142EVB

LIN Tool : PCAN-USB Pro

    Two S32K148EVBs are used, one is used as the master and the other is used as the slave.

    Or you can download lin_slave_s32k148 to S32K148EVB, then load the LDF file into the PCAN software tool, set the PC to Master mode, note that S32K148EVB must use 12V power supply。

 

For details and usage, please refer to the Doxygen file in the routine project.

 

BR!

     Jim,

 

 

 

         

0 项奖励
回复