Regarding LIN communication issue with S32K148-Q176

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

Regarding LIN communication issue with S32K148-Q176

跳至解决方案
958 次查看
Bhavesh_Raju
Contributor III

Hi,
I am trying with the lin_master_S32K148 example for the board S32K148-Q176. I am not able to receive any frames from the LIN pins. Can anyone please help me with this?

0 项奖励
1 解答
884 次查看
Bhavesh_Raju
Contributor III

Hi @danielmartynek,

I tried with LIN2 it's not working. After changing some configurations I am receiving frames on the LIN1. Thanks for the support.

Regards,

Bhavesh RajuLINframe.JPG

在原帖中查看解决方案

0 项奖励
4 回复数
948 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Bhavesh_Raju,

The SBC UJA1132 is the LIN tranceiver on the board.

Is the SBC powered by 12V (J9, VBAT)?

Select P5V0 of the MCU to P5V0_V1SBC too.

danielmartynek_0-1682493647073.png

 

BR, Daniel

 

 

0 项奖励
945 次查看
Bhavesh_Raju
Contributor III

Hi @danielmartynek 

In my board, SBC UJA1131 is present I checked on the board. In the lin_master_s32k148 example, what changes are required to receive the frames for UJA1131 we have one LIN interface connected to LPUART0 can you please share the steps I have to follow to get frames from the LIN1 with the above mentioned example?

Regards,

Bhavesh Raju

0 项奖励
934 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Bhavesh Raju,

The example uses LPUART2

danielmartynek_0-1682512998662.png

pins PTA8, PTA9

danielmartynek_1-1682513029897.png

This is the LIN2 interface (J17) on the board:

danielmartynek_2-1682513080308.png

 

Can you just use LIN2 instead of LIN1?

 

Thank you,

BR, Daniel

0 项奖励
885 次查看
Bhavesh_Raju
Contributor III

Hi @danielmartynek,

I tried with LIN2 it's not working. After changing some configurations I am receiving frames on the LIN1. Thanks for the support.

Regards,

Bhavesh RajuLINframe.JPG

0 项奖励