<?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>CodeWarrior Development ToolsのトピックLIN Stack Problem with Processor Expert Mode</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/LIN-Stack-Problem-with-Processor-Expert-Mode/m-p/995484#M7999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am facing issue while using LIN stack with processor expert mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If directly added LIN stack then getting issue ISR redefined.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95537i7920D28857BC084E/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I allow macro redefinition&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95597i8363E01B529DB973/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then not able to flash the program. getting error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95639i4596F275FAAE95C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.PNG" alt="3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After commenting lin_isr.c file able to flash properly. But need a lin signals based on interrupt base.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you update the lin_isr.c.&amp;nbsp; Find sample code that I am trying to use in the attachment below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quick response highly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Dec 2019 14:07:09 GMT</pubDate>
    <dc:creator>chaitanya_kalyani</dc:creator>
    <dc:date>2019-12-02T14:07:09Z</dc:date>
    <item>
      <title>LIN Stack Problem with Processor Expert Mode</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/LIN-Stack-Problem-with-Processor-Expert-Mode/m-p/995484#M7999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am facing issue while using LIN stack with processor expert mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If directly added LIN stack then getting issue ISR redefined.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95537i7920D28857BC084E/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I allow macro redefinition&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95597i8363E01B529DB973/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then not able to flash the program. getting error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95639i4596F275FAAE95C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.PNG" alt="3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After commenting lin_isr.c file able to flash properly. But need a lin signals based on interrupt base.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you update the lin_isr.c.&amp;nbsp; Find sample code that I am trying to use in the attachment below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quick response highly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 14:07:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/LIN-Stack-Problem-with-Processor-Expert-Mode/m-p/995484#M7999</guid>
      <dc:creator>chaitanya_kalyani</dc:creator>
      <dc:date>2019-12-02T14:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Stack Problem with Processor Expert Mode</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/LIN-Stack-Problem-with-Processor-Expert-Mode/m-p/995485#M8000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you need a Processor Expert? Wouldn't it be easier to set it up by yourself?&lt;/P&gt;&lt;P&gt;LIN uses interrupts that are not generated by the Processor Expert. So, when you don't use lin_isr.c it is working.&lt;/P&gt;&lt;P&gt;As you can see a similar case in this link&amp;nbsp;&lt;A href="https://community.nxp.com/thread/466366"&gt;"Fail to resume target process.Downloading binary to target..."&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you look at your .map file you can see below interrupts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95982iC2B84565DE79DE08/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The interrupts can be generated by the init_SCI and init_TIM bean in the Processor Expert.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2019 07:38:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/LIN-Stack-Problem-with-Processor-Expert-Mode/m-p/995485#M8000</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-12-09T07:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Stack Problem with Processor Expert Mode</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/LIN-Stack-Problem-with-Processor-Expert-Mode/m-p/995486#M8001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new with LIN as well as S12ZVL and working on an urgent project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made some changes in lin_isr.c file and normal LIN communication working fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just not able to set CPMUSYNR register value to &lt;STRONG&gt;0x8F&lt;/STRONG&gt;&amp;nbsp;through PE so setting it manually in main.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if I am following any wrong approach and that will cause any problem or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find the sample code and procedure screenshot in the attachment below.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2019 04:22:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/LIN-Stack-Problem-with-Processor-Expert-Mode/m-p/995486#M8001</guid>
      <dc:creator>chaitanya_kalyani</dc:creator>
      <dc:date>2019-12-11T04:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Stack Problem with Processor Expert Mode</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/LIN-Stack-Problem-with-Processor-Expert-Mode/m-p/995487#M8002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very sorry for the delay.&lt;/P&gt;&lt;P&gt;It is not possible to set&amp;nbsp;CPMUSYNR&amp;nbsp;to 0x8F because the value of VCOFRQ = 0b10 is reserved.&lt;/P&gt;&lt;P&gt;Please, refer to the below table from the RM rev 2.48&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98830i8F4A9A9D348A39FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&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/98790iD57B11FAFB6E0DDE/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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2020 14:22:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/LIN-Stack-Problem-with-Processor-Expert-Mode/m-p/995487#M8002</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-01-24T14:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Stack Problem with Processor Expert Mode</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/LIN-Stack-Problem-with-Processor-Expert-Mode/m-p/995488#M8003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the exact issue. The issue was with the baud rate. I added auto baud rate support from NPF and interrupt vector so it is working fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when you update LIN cfg files then need to add #include"IO_Map.h" in lin_hw_cfg.h file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find an updated sample code in the attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2020 05:05:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/LIN-Stack-Problem-with-Processor-Expert-Mode/m-p/995488#M8003</guid>
      <dc:creator>chaitanya_kalyani</dc:creator>
      <dc:date>2020-02-20T05:05:20Z</dc:date>
    </item>
  </channel>
</rss>

