<?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 Example S32K344 questions in S32K</title>
    <link>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1981177#M42489</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried to change the .mex file as you mentioned but I still got the same issue:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;../src/main.c:30:10: fatal error: lin_stack_cfg.h: No such file or directory
   30 | #include "lin_stack_cfg.h"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I did:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Deleted old LIN example&lt;/P&gt;&lt;P&gt;- Opened LIN example again (with S32DS)&lt;/P&gt;&lt;P&gt;- Closed S32DS&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Changed mex file as you mentioned&lt;/P&gt;&lt;P&gt;- Opened S32DS&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Clicked on LIN example / Opened Configuration Tools&lt;/P&gt;&lt;P&gt;- Switched to my Package S32K344_172HDQFP&lt;/P&gt;&lt;P&gt;- Updated Code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--&amp;gt; Then I tried to build the whole project, where I got the error from above.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2024 11:18:31 GMT</pubDate>
    <dc:creator>nxp_user001123</dc:creator>
    <dc:date>2024-10-24T11:18:31Z</dc:date>
    <item>
      <title>LIN Example S32K344 questions</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1980886#M42464</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Situation is as the following:&lt;/P&gt;&lt;P&gt;-&amp;gt; currently using : S32K3X4EVB-T172 evaluation board&lt;/P&gt;&lt;P&gt;-&amp;gt; installed S32DS, SDK, LIN Stack, RTD, ...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I want to use the LIN_Master example "Lin_Master_S32K344_Example_DS" and configured my board with S32DS but at compiling the project, it is missing the following files:&lt;/P&gt;&lt;P&gt;"lin_stack_cfg.h"&lt;BR /&gt;&amp;nbsp;"lin_common_api.h"&lt;BR /&gt;"lin_commontl_api.h"&lt;BR /&gt;"lin_diagnostic_service.h"&lt;/P&gt;&lt;P&gt;Do you have any idea where the files come from? Are they generated out from a .ldf file (in S32DS?)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 06:23:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1980886#M42464</guid>
      <dc:creator>nxp_user001123</dc:creator>
      <dc:date>2024-10-24T06:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Example S32K344 questions</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1981143#M42482</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I was able to built example following below steps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-just open/create example&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-modify mex file in external editor before opening in S32DS, search for&amp;nbsp;src\LIN21.ldf and change it to&amp;nbsp;src/LIN21.ldf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- do a code update and allow changes for generated LinIf.h and LInIf.c as described in LINStack user manual chapter&amp;nbsp;6 Known issues and limitations&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then project can be built and elf generated&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 10:08:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1981143#M42482</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-10-24T10:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Example S32K344 questions</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1981173#M42487</link>
      <description>&lt;P&gt;Hi Petr,&lt;/P&gt;&lt;P&gt;Thanks a lot I will try. Can you help me where I can get the LinStack user manual? I just found LPUART and LIN with RTD - Training...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 11:02:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1981173#M42487</guid>
      <dc:creator>nxp_user001123</dc:creator>
      <dc:date>2024-10-24T11:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Example S32K344 questions</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1981174#M42488</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;it is part of linstack installation. On my RTD4.0.0 and linstack 2.0.4&lt;BR /&gt;c:\NXP\S32DS.3.5_RTD400\S32DS\software\PlatformSDK_S32K3\stacks\lin\documentation\LIN_UserManual.pdf&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 11:06:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1981174#M42488</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-10-24T11:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Example S32K344 questions</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1981177#M42489</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried to change the .mex file as you mentioned but I still got the same issue:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;../src/main.c:30:10: fatal error: lin_stack_cfg.h: No such file or directory
   30 | #include "lin_stack_cfg.h"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I did:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Deleted old LIN example&lt;/P&gt;&lt;P&gt;- Opened LIN example again (with S32DS)&lt;/P&gt;&lt;P&gt;- Closed S32DS&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Changed mex file as you mentioned&lt;/P&gt;&lt;P&gt;- Opened S32DS&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Clicked on LIN example / Opened Configuration Tools&lt;/P&gt;&lt;P&gt;- Switched to my Package S32K344_172HDQFP&lt;/P&gt;&lt;P&gt;- Updated Code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--&amp;gt; Then I tried to build the whole project, where I got the error from above.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 11:18:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1981177#M42489</guid>
      <dc:creator>nxp_user001123</dc:creator>
      <dc:date>2024-10-24T11:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Example S32K344 questions</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1983589#M42640</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;So finally we can build the LIN example. The next problem is that the MCU is not getting over a generated/configured function in the file : "Power_Ip_PMC.c" in function "Power_Ip_PMC_PowerInit" exactly in this piece of code (highlighted line, line number 304):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-10-29 085741.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/307414i095D49A1E4B9F3C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-10-29 085741.jpg" alt="Screenshot 2024-10-29 085741.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If we go with debugger over the highlighted line , we are in some kind of deadlock/reset loop of the S32K3. Debugger is not working, we can not reset MCU. So we have to erease the whole memory of the chip with J-Flash Lite.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If we do this again with the debugger and just set "ConfigValue" (before execution in line 304) just to "0" we have a normal run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone explain why? And where exactly we can find the configuration menu for this ConfigValue in S32DS? What is a optimal configuration for this register?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 08:03:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1983589#M42640</guid>
      <dc:creator>nxp_user001123</dc:creator>
      <dc:date>2024-10-29T08:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Example S32K344 questions</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1984734#M42718</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;PMC is configured in&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_0-1730289979009.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/307688iB49E8064D1D4DFAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_0-1730289979009.png" alt="PetrS_0-1730289979009.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With above setting I was able to pass outlined code when set VDD_HV_A to 3.3V using J18.2-3 jumper setting.&lt;BR /&gt;Or if V15_MCU is sourced from ballast transistor using J31.2-3.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 12:18:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1984734#M42718</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-10-30T12:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Example S32K344 questions</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1986907#M42859</link>
      <description>Thanks a lot.</description>
      <pubDate>Mon, 04 Nov 2024 09:03:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Example-S32K344-questions/m-p/1986907#M42859</guid>
      <dc:creator>nxp_user001123</dc:creator>
      <dc:date>2024-11-04T09:03:26Z</dc:date>
    </item>
  </channel>
</rss>

