Not able to test S32K142 Lin Slave sample code

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

Not able to test S32K142 Lin Slave sample code

跳至解决方案
948 次查看
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 项奖励
回复
1 解答
907 次查看
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 项奖励
回复
2 回复数
924 次查看
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 项奖励
回复
908 次查看
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 项奖励
回复