LIN Diagnostic Issue using LIN Stack

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

LIN Diagnostic Issue using LIN Stack

1,458件の閲覧回数
chaitanya_kalyani
Contributor III

Hello,

 

I am using processor expert mode, LIN stack(SDK_S32K1xx_15) and want to use diagnostics for S32K116 series controller.

 

I checked with Both IDE S32 Design Studio V2018 as well as V2.2.

 

For unconditional signal there is no issue but getting issue with diagnostic signal No Response Error getting.

 

chaitanya_kalya_0-1608312871972.png

For checking I am sending command Read By Identifier - LIN Product identification.

 

Code is enabled but control is not coming to the part of the code. Same thing tested and working with S12ZVL series controller.

 

chaitanya_kalya_1-1608313140810.png

 

Thank you in advance.

 

 

 

0 件の賞賛
5 返答(返信)

1,426件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello,

maybe you send a request with a wrong value of “Supplier ID” or “Function ID”.

S32DS configuration

danielmartynek_0-1608734755550.png

Diagnostic request and response on the bus

danielmartynek_1-1608734833938.png

Regards,

Daniel

 

0 件の賞賛

1,419件の閲覧回数
chaitanya_kalyani
Contributor III

Hello @danielmartynek ,

 

Thank you for your response.

 

I checked still it is not getting response for diagnostics.

chaitanya_kalya_0-1608969844130.png

and my configuration is 

chaitanya_kalya_1-1608970107722.png

I am not getting where is the issue.

 

0 件の賞賛

1,386件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello,

I'm sorry for the delayed response,

Could you please scope the the diagnostic request frame (3C) and the response frame (3D) by a logic analyzer on the LPUART pins?

This is an answer from the LIN Stack SW team:

Please make sure that the conditions below have been met:
- Tick on “User transport layer” and “Support diagnostic service” on tab “Network configuration”
- Configure with the correct value of “Supplier ID” and “Function ID” on tab “Node attribute definition”
- Re-generate configuration files and compile
- Call “ ld_init()” function before use diagnostic service.

 

Thank you,

BR, Daniel

 

0 件の賞賛

634件の閲覧回数
Francesco_Solito
Contributor II

Good morning

I have the same issue (with S32DS 3.5 instead of 2018.R1). I followed the suggestions in this post, but I didn't solve. Did you solve your issue? Could you please share the solution?

Thank you in advance.

Kind regards,

Francesco Solito

0 件の賞賛

581件の閲覧回数
Francesco_Solito
Contributor II

Hello

ld_init(LI0) was not present in the main.c of the example project "lin_slave_s32k118". Calling it before l_ifc_init(LI0) has solved the issue.

Kind regards,

Francesco

0 件の賞賛