Hi, i´m trying the demo project lin_slave_s32k116 in a S32K116EVB2Q048 and the board doesn´t receive nor transmit any message. I´ve used an oscilloscope to check if the signal was corrrectly arriving to the LIN-associated pin, and that´s ok.
During the first attempts, as it comes configured by default in the demo, the LIN Rx/Tx pin were PTC6/PTC7. The communications doesn´t work, so that i changed these pins to PTC8/PTC9 and communications are not working yet.
I guess the problem may be in the transceiver wake-up process, but i don´t know. The instructions to wake-up the transceiver are the following:
````
/* Set LIN transceiver sleep pin direction */
PINS_DRV_SetPinsDirection(PTA, (0x1u << 7UL));
/* Wake up LIN transceiver */
PINS_DRV_SetPins(PTA, (0x1u << 7UL));
```
Thanks for your help, regards.
Solved! Go to Solution.
Hi @davara
This example demonstrates the LIN communication between S32K116 Master and Slave using unconditional frames.
So, it is necessary to have one board as slave and the other as master.
Hello, sir. Have you resolved the LIN communication issue now?
Hi @davara
To run the example you will need to have the following items:
Be sure to have this before running the project.
B.R.
VaneB
¿Must i flash in one board the slave demo program and the master demo program in the other one? ¿Or the slave demo in both?
Thank you.
Hi @davara
This example demonstrates the LIN communication between S32K116 Master and Slave using unconditional frames.
So, it is necessary to have one board as slave and the other as master.