LDF File for lin_slave_baremetal_s32k142

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

LDF File for lin_slave_baremetal_s32k142

973 Views
itsnewforme
Contributor IV

I want to test lin_slave_baremetal_s32k142 code on CANoe ,Therefore Need LDF File for lin_slave_baremetal_s32k142 code. 

0 Kudos
5 Replies

963 Views
itsnewforme
Contributor IV

Okay, but how do I verify the communication between master and slave using CANoe.

I want to use Canoe as master node and S32k142 as slave node. I flashed the lin_slave_baremetal_s32k142 code in s32k142 board and now

I want to verify the working of it using CANoe

Please help with the above queries 

0 Kudos

959 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I do not know/use CANoe, I tested it with PLIN View as I posted at 
https://community.nxp.com/t5/S32K/S32K142-LIN-Setup/td-p/1477998
I incorrectly pointed to PID 1 and 2, should be ID.
I set one frame to publish (sent) 8 bytes with ID=1 and second to subscibe (receive) 8 bytes too with ID=2. Classic checksum is used in the example.

For ID to PID calculation you can refer e.g. to https://elearning.vector.com/pluginfile.php/492/mod_page/content/4/LIN_4.3_IGR_PIDComputer_EN.html

BR, Petr

0 Kudos

956 Views
itsnewforme
Contributor IV

Thanks PetrS.

I'm still struggling with the configuration of master in CANoe

Can you please share the steps, how you configured the master in PLIN ?

0 Kudos

938 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I connected interface as master with 9600baud

PetrS_0-1656405303902.png

then added 2 frames as I wrote, one frame to publish (sent) 8 bytes with ID=1 and second to subscribe (receive) 8 bytes too with ID=2. Classic checksum used.

PetrS_1-1656405439246.png

After triggered (manualy) slave properly receive payload or respond back, that shows in PLIN View receive section.

BR, Petr

 

0 Kudos

966 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

this "baremetal" LIN examples are using LIN driver without LIN Stack and LDF.
You can refer to example description to know how it runs, see e.g. for S32DS_ARM_v2.2
c:\NXP\S32DS_ARM_v2.2\S32DS\software\S32SDK_S32K1xx_RTM_3.0.0\examples\S32K142\driver_examples\communication\lin_slave_baremetal\Doxygen\lin_slave_baremetal.dox

BR, Petr

0 Kudos