Not able to test S32K142 Lin Slave sample code

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

Not able to test S32K142 Lin Slave sample code

Jump to solution
2,579 Views
sivaEmbitel
Contributor II

Hi

I am using S32K142EVB Evaluation Board – REV.

I am unable to communicate Lin slave example code (both lin_slave_baremetal_s32k142 and lin_slave_s32k142).

Please let me know the Hardware connection and necessary Software changes to make it work (for lin_slave_baremetal_s32k142 example code).

 

Thanks in advance.

 

 

 

 

0 Kudos
Reply
1 Solution
2,538 Views
sivaEmbitel
Contributor II

Hi Daniel,

Thanks for your reply,

I am able to test the sample code after some workaround between J4 and J6 instead of J5 and J6

J6-9 (\b PTD6) - J4-5 (\b PTC8)  ----- Rx pin

J6-11 (\b PTD7) - J4-7 (\b PTC9) ------ Tx pin

View solution in original post

0 Kudos
Reply
2 Replies
2,555 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @sivaEmbitel,

the lin_slave_baremetal_s32k142 example works with the lin_master_baremetal_s32k142 example.

If you have two boards, you can connect them via LIN and communicate.

This is explained in the description of the two examples, please find the description in the S32DS installation directory

For example:

file:///C:/NXP/S32DS.3.4/S32DS/software/S32SDK_S32K1XX_RTM_4.0.2/doc/html_S32K142/lin_master_baremet...

file:///C:/NXP/S32DS.3.4/S32DS/software/S32SDK_S32K1XX_RTM_4.0.2/doc/html_S32K142/lin_slave_baremeta...

danielmartynek_0-1643810482378.png

 

danielmartynek_1-1643810521407.png

 

Regards,

Daniel

 

 

 

0 Kudos
Reply
2,539 Views
sivaEmbitel
Contributor II

Hi Daniel,

Thanks for your reply,

I am able to test the sample code after some workaround between J4 and J6 instead of J5 and J6

J6-9 (\b PTD6) - J4-5 (\b PTC8)  ----- Rx pin

J6-11 (\b PTD7) - J4-7 (\b PTC9) ------ Tx pin

0 Kudos
Reply