Recovery from LIN error

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

Recovery from LIN error

Jump to solution
2,583 Views
ruihang_wu
Contributor III

How should we use the toolbox to handle errors during LIN communication?

For example, if the slave is supposed to respond to the header when the frame ID is 1, and it doesn't respond for whatever reason, I'm seeing that the master kind of gets stuck and never sends out anything else, even if I try to send another header on the master.

Using freemaster I can see that the lin1_State.isBusBusy and lin1_State.isRxBusy are both set to true. I'm wondering how I could reset the state and try to send out another header if the slave does not respond to a master header.

0 Kudos
Reply
1 Solution
2,519 Views
mariuslucianand
NXP Employee
NXP Employee
0 Kudos
Reply
3 Replies
2,580 Views
bryant48
Contributor I
0 Kudos
Reply
2,566 Views
ruihang_wu
Contributor III

Yes I have followed the examples outlined in that tutorial. It doesn't really explain how to handle bus errors.

0 Kudos
Reply
2,520 Views
mariuslucianand
NXP Employee
NXP Employee
0 Kudos
Reply