S32K144 - LIN interrupt is not working

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K144 - LIN interrupt is not working

ソリューションへジャンプ
944件の閲覧回数
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

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 解決策
891件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
892件の閲覧回数
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 件の賞賛
返信
928件の閲覧回数
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 件の賞賛
返信