s32k118 lin error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
902件の閲覧回数
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 解決策
760件の閲覧回数
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 返答(返信)
762件の閲覧回数
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 件の賞賛
返信
865件の閲覧回数
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 件の賞賛
返信
761件の閲覧回数
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 件の賞賛
返信
843件の閲覧回数
mose
Contributor I
example name is lin_slave_baremetal_s32k118 and
SDK name is S32K118_SDK ver3.0.0
0 件の賞賛
返信