Hello Community,
I am using S32K144 (64 pin) MCU with LIN driver from SDK. I would like to process a diagnostic frame as a slave node but somehow not all of the bytes have been read from the line. Usually the last 1-2 data bytes and the checksum are "ignored" by the MCU.
I attached a measurement where I set a pin high at the beginning of the LIN IRQ handler and set low at the end. According to this there is no interrupt generated (actually) for the last data byte and the checksum.
Doy you have any idea what can be the problem?
(In the LIN_LPUART_DRV_ProcessReceiveFrameData function the rxSize is 9, this should be enough )
Thanks in advance!
Laszlo
Solved! Go to Solution.
Hello Petr,
Thanks for the reply. Meanwhile I created a new project from scratch where the communication is working so it seems the problem is in my code somewhere.
regards
Laszlo
Hello Petr,
Thanks for the reply. Meanwhile I created a new project from scratch where the communication is working so it seems the problem is in my code somewhere.
regards
Laszlo
Hi,
what S32DS and SDK version do you use? Do you refer to soem demo code?
Could below thread help..
https://community.nxp.com/t5/S32K/S32K116-LIN-Diagnostic-Example/m-p/1196377
BR, Petr