Lin Example Code is not working

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

Lin Example Code is not working

763 Views
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

Labels (1)
0 Kudos
1 Reply

755 Views
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 Kudos