<?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 Re: LIN_Stack Package for Kinetis  in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-Stack-Package-for-Kinetis/m-p/745750#M45425</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;Here is the case number: &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;00142547&lt;/SPAN&gt; comments:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;First, it need to check the TRK-KEA64 board schematics version, the Rev B and below with the full LIN circuit, should works.&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;The Rev. C board and above had removed some resistors with LIN circuit, make the LIN couldn't work.&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/36975i99626A99652EB341/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Then, it need to check the KEA64 clock setting, which is different with KEA128:&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;LIN bus baud rate is 9600&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;KEA128 setting:&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&amp;lt;lin_hw_cfg.h&amp;gt; line55:&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;/* MCU bus frequency */&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;#define MCU_BUS_FREQ 20000000&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&amp;lt;main.c&amp;gt; function Clk_Init() line 77&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;ICS_C3= 0x90; /* Reference clock frequency = 39.0625 KHz*/&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;KEA64 setting:&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&amp;lt;lin_hw_cfg.h&amp;gt; line59:&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;/* MCU bus frequency */&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;#define MCU_BUS_FREQ 19500000&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&amp;lt;main.c&amp;gt; function Clk_Init() line 77&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;ICS_C3= 0x50; /* Reference clock frequency = 39.0625 KHz*/&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Third Hardware setting:&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;TRK-KEA64 J13 2-3 and power from P1 (12V)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Wish it helps.&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;best regards,&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Mike&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2018 01:23:01 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2018-01-05T01:23:01Z</dc:date>
    <item>
      <title>LIN_Stack Package for Kinetis</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-Stack-Package-for-Kinetis/m-p/745747#M45422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i just installed the Lin_stack_package FSL_LIN_2.x_STACK_Package_4.5.9 and generate the code for my TRK Kinetis EA64. I can compile the code with codewarrior and flash the mcu. I built a CANoe Simulation to simulate the Master. I use the Lin connector on the TRK to connect with LIN/CANoe. My Master has a single frame with 2 signals. The Slave (TRK) has on Frame with 2 signals. I need just to turn the LEDs On and OFF with Lin. But my Slave is not responding!! The master plays the&amp;nbsp;schedule table periodically. I can see the Master frame on the bus, and the master puts the Header of the Slave frame on the bus too, but the Slave do not answer!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIN 2.0&lt;/P&gt;&lt;P&gt;Slave Mode&lt;/P&gt;&lt;P&gt;UART_LIN 0&lt;/P&gt;&lt;P&gt;speed 19.2 kbps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;find attached the LDF and NPF files and the main.c file. In the main i just chek the two Lin Signals and switch the LEDs on or off according to the received signal. The application is toggle the LED0 every 125ms just to know that the applicaion is running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Hani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 16:13:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-Stack-Package-for-Kinetis/m-p/745747#M45422</guid>
      <dc:creator>hanisamara</dc:creator>
      <dc:date>2017-11-28T16:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: LIN_Stack Package for Kinetis</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-Stack-Package-for-Kinetis/m-p/745748#M45423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am checking the same question with Case Number: 00142547.&lt;/P&gt;&lt;P&gt;Please check my reply with that case. Thanks.&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 06:46:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-Stack-Package-for-Kinetis/m-p/745748#M45423</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-12-06T06:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: LIN_Stack Package for Kinetis</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-Stack-Package-for-Kinetis/m-p/745749#M45424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am facing similar problem, how can i find the question with Case Number:&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;00142547. It would be great if someone shares the link here.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 15:29:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-Stack-Package-for-Kinetis/m-p/745749#M45424</guid>
      <dc:creator>jananisubraveti</dc:creator>
      <dc:date>2018-01-04T15:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: LIN_Stack Package for Kinetis</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-Stack-Package-for-Kinetis/m-p/745750#M45425</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;Here is the case number: &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;00142547&lt;/SPAN&gt; comments:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;First, it need to check the TRK-KEA64 board schematics version, the Rev B and below with the full LIN circuit, should works.&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;The Rev. C board and above had removed some resistors with LIN circuit, make the LIN couldn't work.&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/36975i99626A99652EB341/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Then, it need to check the KEA64 clock setting, which is different with KEA128:&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;LIN bus baud rate is 9600&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;KEA128 setting:&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&amp;lt;lin_hw_cfg.h&amp;gt; line55:&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;/* MCU bus frequency */&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;#define MCU_BUS_FREQ 20000000&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&amp;lt;main.c&amp;gt; function Clk_Init() line 77&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;ICS_C3= 0x90; /* Reference clock frequency = 39.0625 KHz*/&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;KEA64 setting:&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&amp;lt;lin_hw_cfg.h&amp;gt; line59:&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;/* MCU bus frequency */&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;#define MCU_BUS_FREQ 19500000&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&amp;lt;main.c&amp;gt; function Clk_Init() line 77&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;ICS_C3= 0x50; /* Reference clock frequency = 39.0625 KHz*/&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Third Hardware setting:&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;TRK-KEA64 J13 2-3 and power from P1 (12V)&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Wish it helps.&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;best regards,&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Mike&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 01:23:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LIN-Stack-Package-for-Kinetis/m-p/745750#M45425</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2018-01-05T01:23:01Z</dc:date>
    </item>
  </channel>
</rss>

