<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic LIN Slave error in S9KEAZ128ACLH in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-Slave-error-in-S9KEAZ128ACLH/m-p/723747#M44299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using&amp;nbsp;&lt;SPAN style="color: #393939;"&gt;S9KEAZ128ACLH with LIN2.x and SAE J2602&amp;nbsp;Stack (REV v4.5.9). Our module works as LIN slave. And we only call two functions: ret_8 = l_sys_init() and ret_8 = l_ifc_init(LII0) to initialize the LIN stack. No other LIN stack functions are called in our software. The watchdog is also disabled.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #393939;"&gt;We halted the slave program in debug mode with CodeWarrior and resume it after about 1 second. The connection with LIN master is lost. But if we did the same operation to the master program, the system can still work fine.&lt;/SPAN&gt;&lt;SPAN style="color: #393939;"&gt;&amp;nbsp;Could you help to give some suggestion for these two different behaviors in master and slave node?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #393939;"&gt;When the connection was lost in LIN slave, we try to re-execute the initialization functions: l_sys_init() and l_ifc_init() and the connection cannot be setup again. How can the slave node reconnect to the LIN network without reset the whole slave node?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #393939;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #393939;"&gt;Gordon Li&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Nov 2017 08:07:00 GMT</pubDate>
    <dc:creator>gordonli</dc:creator>
    <dc:date>2017-11-21T08:07:00Z</dc:date>
    <item>
      <title>LIN Slave error in S9KEAZ128ACLH</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-Slave-error-in-S9KEAZ128ACLH/m-p/723747#M44299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using&amp;nbsp;&lt;SPAN style="color: #393939;"&gt;S9KEAZ128ACLH with LIN2.x and SAE J2602&amp;nbsp;Stack (REV v4.5.9). Our module works as LIN slave. And we only call two functions: ret_8 = l_sys_init() and ret_8 = l_ifc_init(LII0) to initialize the LIN stack. No other LIN stack functions are called in our software. The watchdog is also disabled.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #393939;"&gt;We halted the slave program in debug mode with CodeWarrior and resume it after about 1 second. The connection with LIN master is lost. But if we did the same operation to the master program, the system can still work fine.&lt;/SPAN&gt;&lt;SPAN style="color: #393939;"&gt;&amp;nbsp;Could you help to give some suggestion for these two different behaviors in master and slave node?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #393939;"&gt;When the connection was lost in LIN slave, we try to re-execute the initialization functions: l_sys_init() and l_ifc_init() and the connection cannot be setup again. How can the slave node reconnect to the LIN network without reset the whole slave node?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #393939;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #393939;"&gt;Gordon Li&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 08:07:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-Slave-error-in-S9KEAZ128ACLH/m-p/723747#M44299</guid>
      <dc:creator>gordonli</dc:creator>
      <dc:date>2017-11-21T08:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Slave error in S9KEAZ128ACLH</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-Slave-error-in-S9KEAZ128ACLH/m-p/723748#M44300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the LIN bus is master/slave mode, the LIN master control the bus communication.&lt;/P&gt;&lt;P&gt;The LIN bus error handling at application layer, please check how the Lin master handle when the slave node without any response.&lt;/P&gt;&lt;P&gt;The LIN slave node doesn't response the master will cause the slave no response error.&lt;/P&gt;&lt;P&gt;Please check the LIN master code how to handle this kind of error.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 08:00:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-Slave-error-in-S9KEAZ128ACLH/m-p/723748#M44300</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-12-06T08:00:50Z</dc:date>
    </item>
  </channel>
</rss>

