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?
已解决! 转到解答。
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.
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
Hello,
Could you provide more details on how you were able to get this to work on your "Rev B" boards?
I am using the Lin_master/Lin_Slave example for S32K148 boards which uses LIN 2. Please advice.
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