S32K144 - LIN interrupt is not working

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

S32K144 - LIN interrupt is not working

Jump to solution
1,021 Views
szblaci
Contributor III

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

Labels (1)
Tags (3)
0 Kudos
Reply
1 Solution
968 Views
szblaci
Contributor III

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

View solution in original post

0 Kudos
Reply
2 Replies
969 Views
szblaci
Contributor III

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

0 Kudos
Reply
1,005 Views
PetrS
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply