LIN MBDT with s32k 148

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

LIN MBDT with s32k 148

4,671 Views
saurabhkulkarni123
Contributor II

I'm Building the S32K148 LIN example in MBD MATLAB, but I'm not getting any output at the LIN receiver side. I tried with LIN1 and LIN2 both and on the hardware side we connect LIN serial analyzer i.e. S32K148 is the master and LIN serial analyzer is a slave.

0 Kudos
Reply
6 Replies

3,105 Views
Even1
Contributor I

@saurabhkulkarni123 

Hello,Has this problem been solved.

0 Kudos
Reply

4,655 Views
stefancinipeanu
NXP Employee
NXP Employee

Hello, @saurabhkulkarni123 

The main reason that LIN peripheral could not work is not powering the evk with an external source. Did you power the S32K148 board with an external 12V DC power supply? LIN peripheral is working via SBC UJA113x chip and it needs an external power. To power up the board from the external source, you have to move the J8 jumper to 1-2 and let the default ones.

stefancinipeanu_1-1674645166611.png

 

Also, please keep in mind that for S32K148-EVK, LIN1 instance is connected to the LPUART0 and LIN2 instance is connected to the LPUART2, as depicted below.

stefancinipeanu_0-1674644826134.png

So, in order to use J13 pins for LIN1, you have to set inside the LIN configuration block for your model instance 0 and to make sure that pins for LPUART0_Tx and LPUART0_Rx are configured as PTA3 and PTA2, according to schematics.

Hope this will help you!

Let me know if it worked.

Regards,

Stefan.

0 Kudos
Reply

4,556 Views
saurabhkulkarni123
Contributor II

Hello @stefancinipeanu 

I'm tired of all configurations like LIN0 as master and LIN2 as a slave. and connect 12v power and put J8 jumper to 1-2 also but I'm not getting any output it shows every and the frame id is 0, here I'm using S32K 148 NXP wit REV-B, I'm also attaching the model here. Please check it once.

0 Kudos
Reply

4,291 Views
stefancinipeanu
NXP Employee
NXP Employee

Hi @saurabhkulkarni123 

From this post  turns out that there is a hardware issue with S32K148 RevB evaluation boards.

Currently, we do not have available this revision and cannot test it, but we are looking deeper into this issue.

Regards,

Stefan.

0 Kudos
Reply

4,596 Views
saurabhkulkarni123
Contributor II

Hello @stefancinipeanu 

I'm tired of all configurations like LIN0 as master and LIN2 as a slave. and connect 12v power also but I'm not getting any output. I am checking it with LIN ISR is data transmitted or not but its not work I'm also attaching the model here. Please check it once

0 Kudos
Reply

4,641 Views
saurabhkulkarni123
Contributor II

Hello @stefancinipeanu 

I'm tired of all configurations like LIN0 as master and LIN2 as a slave. and connect 12v power also but I'm not getting any output.

I'm also attaching the model here. Please check it once

0 Kudos
Reply