s32k118 lin error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

s32k118 lin error

Jump to solution
904 Views
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

 

Labels (2)
0 Kudos
Reply
1 Solution
762 Views
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.

View solution in original post

0 Kudos
Reply
4 Replies
764 Views
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 Kudos
Reply
867 Views
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 Kudos
Reply
763 Views
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 Kudos
Reply
845 Views
mose
Contributor I
example name is lin_slave_baremetal_s32k118 and
SDK name is S32K118_SDK ver3.0.0
0 Kudos
Reply