Regarding LIN communication issue with S32K148-Q176

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

Regarding LIN communication issue with S32K148-Q176

Jump to solution
547 Views
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 Kudos
1 Solution
473 Views
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

View solution in original post

0 Kudos
4 Replies
537 Views
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 Kudos
534 Views
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 Kudos
523 Views
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 Kudos
474 Views
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 Kudos