<?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>Kinetis MicrocontrollersのトピックRe: LIN master stops transmission when no respose</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-master-stops-transmission-when-no-respose/m-p/839190#M50677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiao yang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your updated information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do you have test the KEAZN64 sample code in the following code directly:&lt;/P&gt;&lt;P&gt;C:\nxp\FSL_LIN_2.x_STACK_Package_4.5.9\Examples\Kinetis\KEA64&lt;/P&gt;&lt;P&gt;&amp;nbsp; Without any modification, whether it works OK on your side or not? We just to make sure it is not the stack porting problem. From my side test result with official examples, the master won't stop work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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, 09 Jan 2019 07:10:50 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2019-01-09T07:10:50Z</dc:date>
    <item>
      <title>LIN master stops transmission when no respose</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-master-stops-transmission-when-no-respose/m-p/839187#M50674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying use KEAZN64 as LIN master node and I used FSL_LIN_2.x_STACK_Package_4.5.9 to generate LIN code.&lt;/P&gt;&lt;P&gt;The communication was correct when slave node responded rx frame. But if a rx frame sent by master has no response, the master node will stop transmission and no more frame header will be sent ( Although the frame is scheduled in correct time as break field can be sent ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried three ways out to result in the problem:&lt;/P&gt;&lt;P&gt;1. Disconnect LIN bus of slave node.&lt;/P&gt;&lt;P&gt;2. Slave node stop LIN function but LIN bus connect.&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;Master send a frame but there is no related slave node response.( In this case, the first frames that have responses were sent correctly)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't found any related explain or how to set master node in LIN spec and LIN stack user manual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2018 09:34:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-master-stops-transmission-when-no-respose/m-p/839187#M50674</guid>
      <dc:creator>xiaoyang</dc:creator>
      <dc:date>2018-12-28T09:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: LIN master stops transmission when no respose</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-master-stops-transmission-when-no-respose/m-p/839188#M50675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiao Yang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do you mean, if you disconnect the LIN wire between the master node and the&amp;nbsp; slave node, then connect the LIN wire again, the LIN communication will be stopped?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Do you tried the NXP TRK-KEA64 board with the FSL_LIN_2.x_STACK_Package_4.5.9&amp;nbsp; sample code directly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I have tested it on my side, after I disconnect the LIN wire between the LIN master and the LIN slave, the LIN communication will be stopped, but after I connect the LIN wire again, after a moment, the LIN communication will be work again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please check my attached test result, master: TRK-KEA64 board, the on board chip is SKEAZN64MLH2, the slave node is the TRK-KEA128 board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You can find when I disconnect the LIN wire, then the D6,D8 won't blink, but after I connect the LIN wire again, then the D6,D8 on both the master and slave works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, I think you can try the official board and the official sample code directly on your side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps&amp;nbsp; you!&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Mon, 07 Jan 2019 09:05:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-master-stops-transmission-when-no-respose/m-p/839188#M50675</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-01-07T09:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: LIN master stops transmission when no respose</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-master-stops-transmission-when-no-respose/m-p/839189#M50676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Kerry,&lt;/P&gt;&lt;P&gt;Thank you for your responce. My chip is S9KEAZN64AMLC, and&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;FSL_LIN_2.x_STACK_Package_4.5.9.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I tried re-connect LIN wire but master still stop sending frame.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;In my case , master node will stop sending frame when a rx frame header was sent but no responce ( for example slave disconnected ). However, b&lt;SPAN&gt;reak field can be sent at correct scheduled time as&amp;nbsp;oscilloscope showed (attached video).&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;I suppose&amp;nbsp;master node send next frame header after&amp;nbsp;slave responce timeout, but my software didn't work. Maybe I have wrong schedule setting in my code. l_sch_set_LI0() is called at initialization to set schedule table and&amp;nbsp;l_sch_tick_LI0() is called periodically as time&amp;nbsp;base.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;I will check my code later.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 08:40:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-master-stops-transmission-when-no-respose/m-p/839189#M50676</guid>
      <dc:creator>xiaoyang</dc:creator>
      <dc:date>2019-01-08T08:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: LIN master stops transmission when no respose</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-master-stops-transmission-when-no-respose/m-p/839190#M50677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiao yang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your updated information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do you have test the KEAZN64 sample code in the following code directly:&lt;/P&gt;&lt;P&gt;C:\nxp\FSL_LIN_2.x_STACK_Package_4.5.9\Examples\Kinetis\KEA64&lt;/P&gt;&lt;P&gt;&amp;nbsp; Without any modification, whether it works OK on your side or not? We just to make sure it is not the stack porting problem. From my side test result with official examples, the master won't stop work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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, 09 Jan 2019 07:10:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-master-stops-transmission-when-no-respose/m-p/839190#M50677</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-01-09T07:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: LIN master stops transmission when no respose</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-master-stops-transmission-when-no-respose/m-p/839191#M50678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;I have found the problem.&lt;/P&gt;&lt;P&gt;In sample&amp;nbsp;l_sch_tick() is called every 15ms ( with time base 5ms in LDF ). But I called&amp;nbsp;&lt;SPAN&gt;l_sch_tick() every 5ms.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I modifed the period and LIN communication correctly( 1. can recover after re-&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;connect LIN bus.&amp;nbsp; 2. keep sending when no responce&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now the question is how to calculate the period of&amp;nbsp;l_sch_tick().&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I just found explanation in LIN 2.2A &lt;SPAN&gt;Specification that&amp;nbsp;l_sch_tick() should be called periodically according to time base. Why it is called every 15ms while time base is 5ms ?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 03:34:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-master-stops-transmission-when-no-respose/m-p/839191#M50678</guid>
      <dc:creator>xiaoyang</dc:creator>
      <dc:date>2019-01-17T03:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: LIN master stops transmission when no respose</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-master-stops-transmission-when-no-respose/m-p/839192#M50679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiao Yang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please check the LIN_User_Manual.pdf in the LIN stack folder:&lt;/P&gt;&lt;P&gt;C:\nxp\FSL_LIN_2.x_STACK_Package_4.5.9\Documentation&lt;BR /&gt;Chapter 4.6.3 Timer for LIN schedule execution.&lt;/P&gt;&lt;P&gt;The 15ms is used for every LIN frame transmission.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Thu, 17 Jan 2019 08:24:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-master-stops-transmission-when-no-respose/m-p/839192#M50679</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-01-17T08:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: LIN master stops transmission when no respose</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-master-stops-transmission-when-no-respose/m-p/839193#M50680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi Kerry,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp;In the documentation "the API function for schedule-table execution must be called at or multiple of the corresponding time-base interval". &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I wonder if the peroid is fixed for all cases.&amp;nbsp;What if time-base is 10ms in another LDF ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2019 06:04:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-master-stops-transmission-when-no-respose/m-p/839193#M50680</guid>
      <dc:creator>xiaoyang</dc:creator>
      <dc:date>2019-01-18T06:04:38Z</dc:date>
    </item>
  </channel>
</rss>

