S32K148EVB SDK LIN example

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K148EVB SDK LIN example

Jump to solution
552 Views
Contributor II

Hello everyone!

I am new to LIN communication and I wanted to test the LIN master and slave SDK example. I followed the instructions given in SDK documentation:

for master example:

-Generated PE code

-Built the project

-Downloaded to flash via USB1 (open SDA)

for slave example:

-Generated PE code

-Built the project

-Debug in RAM via USB2 (open SDA)

I connected LIN and GND pins of J17 connectors, connected the boards to 12V input via J9 connector. I set the J12 jumper for master option on master board, and left open J12 on slave board.

After running the examples, both master and slave nodes go to sleep mode due to LIN bus inactivity timeout. Is there anything I forgot to do to make the examples work?

Tested board types are S32K148EVB-Q176. SDK example is for Q144 type, but the pin configuration for UJA1332 transciever is the same, so it should not be the problem?

Labels (1)
1 Solution
181 Views
Contributor II

Hi Tai,

Thank you for your answer. I found the error, the example is made for REV A of the evaluation board (which had hardware error, SDI and SDO switched), and I tested it on REV B.

View solution in original post

4 Replies
181 Views
Contributor II

Update: no activity on PTA27 pin (SPI_DOUT line) while sending transciever configuration.

yellow: SCK

blue: DOUT

DSC_0313[138].JPG

0 Kudos
181 Views
NXP Employee
NXP Employee

Hi Milos Lovric,

If no activity on PTA27, you can check again config pin and clock for LPSPI. 

If it is true, please give me which S32K148 rev is you used for testing?

And could you give me signal on SDI, SDO, SCK?

Previous I received an error connect between SDI and SDO on board.

Thanks,

Tai Bui Van

182 Views
Contributor II

Hi Tai,

Thank you for your answer. I found the error, the example is made for REV A of the evaluation board (which had hardware error, SDI and SDO switched), and I tested it on REV B.

View solution in original post

127 Views
Contributor I

Hi, Milos

I am trying to test LIN communication on Rev B board.

Also, currently, I am suffering same problem on rev board B.

The error you found means version problem?

Is there any other example projects which operate on Rev B board.

Thanks

0 Kudos