<?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 Receive Frames lost in S32K</title>
    <link>https://community.nxp.com/t5/S32K/LIN-Receive-Frames-lost/m-p/2046537#M46004</link>
    <description>&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your fast response.&lt;/P&gt;&lt;P&gt;I have checked the CRC data of all three farmes, it is correct.&lt;/P&gt;&lt;P&gt;See Oszi screenshot and results from "online LIN CRC calculator".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DirkG_0-1739898215599.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/324568iACB42805501AD585/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DirkG_0-1739898215599.png" alt="DirkG_0-1739898215599.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DirkG_1-1739898233154.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/324569i83E36FE155FD41FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DirkG_1-1739898233154.png" alt="DirkG_1-1739898233154.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DirkG_2-1739898249468.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/324570i33DD03D5A4F5EE5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DirkG_2-1739898249468.png" alt="DirkG_2-1739898249468.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DirkG_3-1739898272413.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/324571iB4BFAB3536676639/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DirkG_3-1739898272413.png" alt="DirkG_3-1739898272413.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Lin Signal looks also ok to me, here is a screenshot with onyl 0x27 active.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DirkG_4-1739898376040.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/324572iFFDD562D59BA931A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DirkG_4-1739898376040.png" alt="DirkG_4-1739898376040.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and also a "zoom screenshot" to frame 0x27 only.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DirkG_5-1739898437887.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/324573i84E4B5E4E7CB6A20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DirkG_5-1739898437887.png" alt="DirkG_5-1739898437887.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The behaviour is still the same.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Feb 2025 17:07:46 GMT</pubDate>
    <dc:creator>DirkG</dc:creator>
    <dc:date>2025-02-18T17:07:46Z</dc:date>
    <item>
      <title>LIN Receive Frames lost</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Receive-Frames-lost/m-p/2045490#M45966</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i'm using the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;S32K3X4EVB-T172 Evaluation Board (S32K344) and the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;LINSTACK for S32K3 version 2.0.5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My setup is as follows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The MCU (S32K344) acts as a LIN Master. Inside ldf file three frames are declared (0x27, 0x28, 0x29), each frame hast the same structure ( getting values from temperaturre sensors)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This works fine, please see following screenshot (right now no slave is responding to the frames)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DirkG_0-1739795525144.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/324290i52A04C35E5D32A3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DirkG_0-1739795525144.png" alt="DirkG_0-1739795525144.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As soon as the slaves are responding to the Frames, i see a strange behaviour.&lt;/P&gt;&lt;P&gt;If only one slave is active (doesn't matter which one), everything is fine. The data are refreshed periodically inside the MCU. I observe the g_lin_frame_data_buffer and also the application variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If slave1 and slave2 are active, slave1 is behaving fine, slave2 does not refresh data. Remember, running each slave alone does work fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if all three slaves are active, no slave does refresh data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, using an oscilloscope and decoding the frames with it, shows that the data on the physical LIN BUS seems to be fine.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DirkG_1-1739796163559.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/324294iD7E8F3332C1AC5AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DirkG_1-1739796163559.png" alt="DirkG_1-1739796163559.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please tell me what i'm doing wrong.&lt;/P&gt;&lt;P&gt;Your help is very appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 12:45:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Receive-Frames-lost/m-p/2045490#M45966</guid>
      <dc:creator>DirkG</dc:creator>
      <dc:date>2025-02-17T12:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Receive Frames lost</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Receive-Frames-lost/m-p/2046245#M45998</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/241013"&gt;@DirkG&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Does the checksum match the data?&lt;/P&gt;
&lt;P&gt;Can you compare the LIN signal when one sensor is active and when three sensors are active?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 09:54:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Receive-Frames-lost/m-p/2046245#M45998</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-02-18T09:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Receive Frames lost</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Receive-Frames-lost/m-p/2046537#M46004</link>
      <description>&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your fast response.&lt;/P&gt;&lt;P&gt;I have checked the CRC data of all three farmes, it is correct.&lt;/P&gt;&lt;P&gt;See Oszi screenshot and results from "online LIN CRC calculator".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DirkG_0-1739898215599.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/324568iACB42805501AD585/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DirkG_0-1739898215599.png" alt="DirkG_0-1739898215599.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DirkG_1-1739898233154.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/324569i83E36FE155FD41FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DirkG_1-1739898233154.png" alt="DirkG_1-1739898233154.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DirkG_2-1739898249468.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/324570i33DD03D5A4F5EE5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DirkG_2-1739898249468.png" alt="DirkG_2-1739898249468.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DirkG_3-1739898272413.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/324571iB4BFAB3536676639/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DirkG_3-1739898272413.png" alt="DirkG_3-1739898272413.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Lin Signal looks also ok to me, here is a screenshot with onyl 0x27 active.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DirkG_4-1739898376040.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/324572iFFDD562D59BA931A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DirkG_4-1739898376040.png" alt="DirkG_4-1739898376040.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and also a "zoom screenshot" to frame 0x27 only.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DirkG_5-1739898437887.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/324573i84E4B5E4E7CB6A20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DirkG_5-1739898437887.png" alt="DirkG_5-1739898437887.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The behaviour is still the same.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 17:07:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Receive-Frames-lost/m-p/2046537#M46004</guid>
      <dc:creator>DirkG</dc:creator>
      <dc:date>2025-02-18T17:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Receive Frames lost</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Receive-Frames-lost/m-p/2047346#M46047</link>
      <description>&lt;P&gt;Hi Dirk,&lt;/P&gt;
&lt;P&gt;What about the status of the LIN master?&lt;/P&gt;
&lt;P&gt;What does this function return?&lt;/P&gt;
&lt;P&gt;l_ifc_read_status()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 13:23:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Receive-Frames-lost/m-p/2047346#M46047</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-02-19T13:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Receive Frames lost</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Receive-Frames-lost/m-p/2047381#M46050</link>
      <description>&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i just placed the function call,&amp;nbsp;&lt;SPAN&gt;l_ifc_read_status(),&amp;nbsp;&lt;/SPAN&gt; directly inside the "LinTick Task", the same task which calls:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;lin_dal_timeout_service();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;l_sch_tick();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The return value is tracked.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The picture below gives back the tracked value.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Legend:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Yellow Marker --&amp;gt; 0x27 is enabled by restbus simulation&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Green Marker --&amp;gt; 0x27 and 0x28 is enabled by restbus simulation&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Blue Marker --&amp;gt; 0x27, 0x28 and 0x29 are enabled by restbus simulation (all slaves)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-02-19 151409.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/324780i54907945479F2574/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-02-19 151409.png" alt="Screenshot 2025-02-19 151409.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The value, returned by function&amp;nbsp;&lt;SPAN&gt;l_ifc_read_status() is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;0x27 only active, yellow marker:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;59152 (0b1110011100010000) for 40ms&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;43024 (0b1010100000010000) for 80 ms&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;0x27 and 0x28 are active, green marker:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;59152 (0b1110011100010000) for 80ms&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;59664 (0b1110100100010000) for 40ms&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0x27, 0x28 and 0x29 are active, blue marker:&lt;/P&gt;&lt;P&gt;59152 all the time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Remember, my ldf is configured to send every 40ms a frame (0x27, 0x28, 0x29) and then repeat.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Feb 2025 14:33:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Receive-Frames-lost/m-p/2047381#M46050</guid>
      <dc:creator>DirkG</dc:creator>
      <dc:date>2025-02-19T14:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Receive Frames lost</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Receive-Frames-lost/m-p/2049080#M46143</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/241013"&gt;@DirkG&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for all the information, but I will need to test it on my side.&lt;/P&gt;
&lt;P&gt;Can you share the project here or privately via a support ticket?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2025 12:29:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Receive-Frames-lost/m-p/2049080#M46143</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-02-21T12:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Receive Frames lost</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Receive-Frames-lost/m-p/2049776#M46182</link>
      <description>&lt;P&gt;Dear Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have found the issue.&lt;/P&gt;&lt;P&gt;l_sch_tick() was called periodically every 10ms ( time base is also 10ms within ldf file ).&lt;/P&gt;&lt;P&gt;But lin_dat_timeout_service() was also called every 10ms. After changing the periodicity of lin_dat_timeout_service() to 1ms, everything has been fine.&lt;/P&gt;&lt;P&gt;Now im able to receive all three frames fro the slaves.&lt;/P&gt;&lt;P&gt;Thanks a lot for your support !!!&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dirk&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 09:28:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Receive-Frames-lost/m-p/2049776#M46182</guid>
      <dc:creator>DirkG</dc:creator>
      <dc:date>2025-02-24T09:28:50Z</dc:date>
    </item>
  </channel>
</rss>

