I want to test lin_slave_baremetal_s32k142 code on CANoe ,Therefore Need LDF File for lin_slave_baremetal_s32k142 code.
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
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
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 ?
Hi,
I connected interface as master with 9600baud
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.
After triggered (manualy) slave properly receive payload or respond back, that shows in PLIN View receive section.
BR, Petr
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