<?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>S32KのトピックRe: S32K1xx LIN Stack</title>
    <link>https://community.nxp.com/t5/S32K/S32K1xx-LIN-Stack/m-p/1656266#M23231</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216715"&gt;@Francesco_Solito&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;
&lt;P&gt;What I found now is that initial_NAD seems to be used only in 0xB0 service, while for all the other services configured_NAD is used. So, with a CANoe simulation, if I don't perform 0xB0 service at the beginning (in order to switch from initial_NAD to configured_ND), I'm not able to access diagnostic service (because CANoe uses initial_NAD while the lin stack uses configured_NAD). If I use 0xB0 at the beginning everything works correctly then. Is that correct considering the LIN specifications?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;I&gt;=&amp;gt; You are right. As far as I know, the&amp;nbsp;&lt;/I&gt;&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN&gt;initial_NAD is only used in 0xB0 service and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;configured_NAD is used for other services.&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;I&gt;You can refer to chapter 4.2.5 of LIN_Specification_2.2A.pdf for more detail.&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_0-1684906032871.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224617i51849E6A481D7221/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_0-1684906032871.png" alt="nxf78987_0-1684906032871.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_1-1684906032872.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224616i7E1D5E4BECA600C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_1-1684906032872.png" alt="nxf78987_1-1684906032872.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_2-1684906032873.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224618i9060937B1B262EBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_2-1684906032873.png" alt="nxf78987_2-1684906032873.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As regards my point 2: I'm using S32DS for S32 Platform v3.5 Build id: 230226 (Update 2)&lt;/P&gt;
&lt;P&gt;S32SDK_S32K1XX_RTM_4.0.1&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;I&gt;=&amp;gt; The feature as you would expect is not supported in this version of the software. However, this feature has been supported in S32SDK_S32K1XX_RTM_4.0.2. So please update your software version if you need to use this feature.&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 24 May 2023 05:29:43 GMT</pubDate>
    <dc:creator>DanNguyenDuy</dc:creator>
    <dc:date>2023-05-24T05:29:43Z</dc:date>
    <item>
      <title>S32K1xx LIN Stack</title>
      <link>https://community.nxp.com/t5/S32K/S32K1xx-LIN-Stack/m-p/1643632#M22569</link>
      <description>&lt;P&gt;Good morning&lt;/P&gt;&lt;P&gt;I tried to setup the lin_slave_s32k118 stack example on my evaluation board and I see the LIN traffic correctly.&lt;/P&gt;&lt;P&gt;What I'm not able to do is:&lt;/P&gt;&lt;P&gt;1) get a slave response to a diagnostic service like 0xB2 (that is included into the example); please note that NAD, PID and FID are ok;&lt;/P&gt;&lt;P&gt;2) change the LDF reference file to a different folder than the SDK installation folder (I would like to use my project folder)&lt;/P&gt;&lt;P&gt;Could you please help me in particular on point 1?&lt;/P&gt;&lt;P&gt;Thank you and kind regards,&lt;/P&gt;&lt;P&gt;Francesco&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 13:26:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K1xx-LIN-Stack/m-p/1643632#M22569</guid>
      <dc:creator>Francesco_Solito</dc:creator>
      <dc:date>2023-05-03T13:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: S32K1xx LIN Stack</title>
      <link>https://community.nxp.com/t5/S32K/S32K1xx-LIN-Stack/m-p/1651879#M22996</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216715"&gt;@Francesco_Solito&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;SPAN&gt;1) get a slave response to a diagnostic service like 0xB2 (that is included into the example); please note that NAD, PID and FID are ok;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;I&gt;&lt;SPAN&gt;=&amp;gt; As far as know, you can use the&amp;nbsp;ld_receive_message() to receive one diagnostic message and store it in the buffer pointed to by user data.&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;I&gt;&lt;SPAN&gt;Please refer to chapter 7.4.4.2 of LIN_Specification_2.2A.pdf for more detail.&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_0-1684311895075.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/223561iE6EE7517B8FAEFCC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_0-1684311895075.png" alt="nxf78987_0-1684311895075.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;SPAN&gt;2) change the LDF reference file to a different folder than the SDK installation folder (I would like to use my project folder)&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;I&gt;&lt;SPAN&gt;=&amp;gt; Please share with me the software version that you are using. I will recheck this problem on my side.&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 May 2023 08:25:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K1xx-LIN-Stack/m-p/1651879#M22996</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-05-17T08:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32K1xx LIN Stack</title>
      <link>https://community.nxp.com/t5/S32K/S32K1xx-LIN-Stack/m-p/1651948#M23000</link>
      <description>&lt;P&gt;Hello and thank you for your reply.&lt;/P&gt;&lt;P&gt;As regards my point 1: I solved it simply calling ld_init(LI0) before l_ifc_init(LI0). ld_init(LI0) was not present in the main.c of the example project "lin_slave_s32k118".&lt;/P&gt;&lt;P&gt;What I found now is that initial_NAD seems to be used only in 0xB0 service, while for all the other services configured_NAD is used. So, with a CANoe simulation, if I don't perform 0xB0 service at the beginning (in order to switch from initial_NAD to configured_ND), I'm not able to access diagnostic service (because CANoe uses initial_NAD while the lin stack uses configured_NAD). If I use 0xB0 at the beginning everything works correctly then. Is that correct considering the LIN specifications?&lt;/P&gt;&lt;P&gt;As regards my point 2: I'm using&lt;/P&gt;&lt;P&gt;S32DS for S32 Platform v3.5 Build id: 230226 (Update 2)&lt;/P&gt;&lt;P&gt;S32SDK_S32K1XX_RTM_4.0.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance and kind regards,&lt;/P&gt;&lt;P&gt;Francesco&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 09:41:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K1xx-LIN-Stack/m-p/1651948#M23000</guid>
      <dc:creator>Francesco_Solito</dc:creator>
      <dc:date>2023-05-17T09:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: S32K1xx LIN Stack</title>
      <link>https://community.nxp.com/t5/S32K/S32K1xx-LIN-Stack/m-p/1656266#M23231</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216715"&gt;@Francesco_Solito&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;
&lt;P&gt;What I found now is that initial_NAD seems to be used only in 0xB0 service, while for all the other services configured_NAD is used. So, with a CANoe simulation, if I don't perform 0xB0 service at the beginning (in order to switch from initial_NAD to configured_ND), I'm not able to access diagnostic service (because CANoe uses initial_NAD while the lin stack uses configured_NAD). If I use 0xB0 at the beginning everything works correctly then. Is that correct considering the LIN specifications?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;I&gt;=&amp;gt; You are right. As far as I know, the&amp;nbsp;&lt;/I&gt;&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN&gt;initial_NAD is only used in 0xB0 service and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;configured_NAD is used for other services.&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;I&gt;You can refer to chapter 4.2.5 of LIN_Specification_2.2A.pdf for more detail.&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_0-1684906032871.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224617i51849E6A481D7221/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_0-1684906032871.png" alt="nxf78987_0-1684906032871.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_1-1684906032872.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224616i7E1D5E4BECA600C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_1-1684906032872.png" alt="nxf78987_1-1684906032872.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_2-1684906032873.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224618i9060937B1B262EBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_2-1684906032873.png" alt="nxf78987_2-1684906032873.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As regards my point 2: I'm using S32DS for S32 Platform v3.5 Build id: 230226 (Update 2)&lt;/P&gt;
&lt;P&gt;S32SDK_S32K1XX_RTM_4.0.1&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;I&gt;=&amp;gt; The feature as you would expect is not supported in this version of the software. However, this feature has been supported in S32SDK_S32K1XX_RTM_4.0.2. So please update your software version if you need to use this feature.&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 05:29:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K1xx-LIN-Stack/m-p/1656266#M23231</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-05-24T05:29:43Z</dc:date>
    </item>
  </channel>
</rss>

