Based on s32k118, ide is s32ds, generate lin code by lin stack
it's slave node from my side. The LIN bus worked normally. But once in awhile, "Slave not responding" appeared suddenly. I am wondering why LIN STACK cannot respond in time sometimes.
Any suggestion is welcome. Thank you very much.
Best Regards.
Solved! Go to Solution.
Hi RickYeh777,
The attachment is the LIN project with your configuration. I ran this example successfully.
I saw that you are using interrupts. From my point of view, most likely the interrupt priority of LIN is effect to your issue. So, you can re-test with two situations:
Situation 1: you should set up the interrupt priority of LIN as the highest.
Situation 2: disable all of the interrupts different with the LIN interrupt.
Best regards,
Dan
Hi RickYeh777,
What is the driver's name you are using?
Could you send me the configuration files and .ldf files?
And Could you turn off the "Δt
Best regards,
Dan
Hi RickYeh777,
The attachment is the LIN project with your configuration. I ran this example successfully.
I saw that you are using interrupts. From my point of view, most likely the interrupt priority of LIN is effect to your issue. So, you can re-test with two situations:
Situation 1: you should set up the interrupt priority of LIN as the highest.
Situation 2: disable all of the interrupts different with the LIN interrupt.
Best regards,
Dan