S32K144 LIN Slave Diagnostics

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

S32K144 LIN Slave Diagnostics

568件の閲覧回数
Punit_01
Contributor II

Hello,

I am trying to implement LIN slave in S32K144 where it should support normal unconditional frames as well as Diagnostics with Class 2/3. (basically SID $10,$22,$2E are my minimum requirements).

Upon selecting the configuration in S32DS CT I have a bunch of files generated but i am finding it hard to understand the code structure.I have selected the LIN mode as slave & class 3. Additionally, i have selected "Support Diagnostics" & also selected the $2E service support.

When i browse the generated files & SDK, i see that there are some functions that are only applicable for a LIN Master. 

It would be great if anyone can help me with some pointers on how to understand the generated files (may be some documentation?) & the callbacks which can be used to achieve the results.

 

Thanks in advance!

 

I am using the S32K144_SDK v4.0.1 with S32Ds v3.5.

タグ(4)
0 件の賞賛
2 返答(返信)

554件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Punit_01,

Regarding UDS, you can refer to this example.

https://community.nxp.com/t5/S32K/S32K-SDK-LIN-Stack-not-working-properly-with-UDS/m-p/1313360

Even though it was built with in S32DS 2.2. with older SDK (Processor Expert), it should be very similar.

I believe the file structure is explained in the User Manual of the LIN Stack.
It is in the installation directory of the Stack.
Or it can be open from the CT (right-click on the lin stack component and select Documentation).

 

Regards,

Daniel

 

0 件の賞賛

530件の閲覧回数
Punit_01
Contributor II

Hello Daniel,

Thanks for your comments.

I will try your suggestions.

0 件の賞賛