s32k118 lin error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

s32k118 lin error

跳至解决方案
565 次查看
mose
Contributor I

Hi team

based on s32k118, ide is s32ds, generate lin code by lin example(lin_baremetal_slave)

However, during normal communication with the master, an error frame occurs as follows

Here there are two LIN frames : ID 1 - Request Frame , ID 2 - Response Frame

During normal communication with the master, an error frame occurs as picture

1) CSerror(checksum error)

2) RCverror(8 bytes of data, but only 1 to 2 bytes of data sent)

Is there a solution to the error?lin error frame.png

Thanks & Regards

 

标签 (2)
0 项奖励
回复
1 解答
423 次查看
NamLee
NXP Employee
NXP Employee

I think there're 2 points that you can try with your app:

- Increase the TIMEOUT param from the code

- Update the DS to update 2 and try the newer version of SDK.

Thank you,

Nam.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
425 次查看
NamLee
NXP Employee
NXP Employee

Hi mose,

I checked the example and saw the Rx Buff receive data correctly when i press button for sending.

NamLe_0-1703129563865.png

I tried to observe the data with DS tool few times and there's no error happens.

I checked with lin_slave and lin_master example from DS 2.2 SDK 3.0.0

Please help me to check it again.

Thank you,

Nam.

0 项奖励
回复
528 次查看
NamLee
NXP Employee
NXP Employee

Hi mose,

Just to confirm, can you give me the name of Lin Example?

Also please provide the name of RTD package version that you're using. And how can you test/observe this issue?

Thank you,

Nam.

0 项奖励
回复
424 次查看
NamLee
NXP Employee
NXP Employee

I think there're 2 points that you can try with your app:

- Increase the TIMEOUT param from the code

- Update the DS to update 2 and try the newer version of SDK.

Thank you,

Nam.

0 项奖励
回复
506 次查看
mose
Contributor I
example name is lin_slave_baremetal_s32k118 and
SDK name is S32K118_SDK ver3.0.0
0 项奖励
回复