<?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 LIN Stack check corrupted message in S32K</title>
    <link>https://community.nxp.com/t5/S32K/LIN-Stack-check-corrupted-message/m-p/1089894#M7859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on an implementation of S32DS' Lin Stack, and, as a requirement, I need to check if my message has been somehow corrupted while being sent. Analogously, I also need to check if the LIN frame I have just received has been corrupted or if it has been correctly received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I know if the&amp;nbsp;LIN frames being received/sent have been corrupted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it helps, my LIN Description File uses protocol J2602.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2020 22:38:30 GMT</pubDate>
    <dc:creator>joseponc</dc:creator>
    <dc:date>2020-05-14T22:38:30Z</dc:date>
    <item>
      <title>LIN Stack check corrupted message</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Stack-check-corrupted-message/m-p/1089894#M7859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on an implementation of S32DS' Lin Stack, and, as a requirement, I need to check if my message has been somehow corrupted while being sent. Analogously, I also need to check if the LIN frame I have just received has been corrupted or if it has been correctly received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I know if the&amp;nbsp;LIN frames being received/sent have been corrupted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it helps, my LIN Description File uses protocol J2602.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2020 22:38:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Stack-check-corrupted-message/m-p/1089894#M7859</guid>
      <dc:creator>joseponc</dc:creator>
      <dc:date>2020-05-14T22:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Stack check corrupted message</title>
      <link>https://community.nxp.com/t5/S32K/LIN-Stack-check-corrupted-message/m-p/1089895#M7860</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;this the answer from SDK LINStack expert...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, the LinStack doesn’t support this feature and from what I know, the Lin specification also doesn’t mention it.&lt;/P&gt;&lt;P&gt;With the current SDK LinStack the lindriver will call function CallbackHandler of the file&amp;nbsp; “D:\SDK\code_base\SDK_codebase\middleware\lin\lowlevel\lin.c” to inform LinStack if:&lt;/P&gt;&lt;P&gt;-&amp;nbsp; PID receive ok or error&lt;/P&gt;&lt;P&gt;-&amp;nbsp; Frame send/receive success&lt;/P&gt;&lt;P&gt;-&amp;nbsp; Error(eg : framing error, checksum error,…….)&lt;/P&gt;&lt;P&gt;And the current Stack doesn’t have the method to share with the application these above information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The LinStack just have two method(Which mention in the Lin Specification) to monitor the error in Lin bus and the LinStack of SDK have already support it.&lt;/P&gt;&lt;P&gt;-&amp;nbsp; Status byte : the slave will report error for master note by ERR[2:0] – Error Field of status byte (first byte in all frame send from slave to master). Please see chapter 5.8.6 Status byte of Lin J2602 specification for more information.&lt;/P&gt;&lt;P&gt;-&amp;nbsp; l_ifc_read_status(Please see Lin2.0 or Lin 2.2A specification).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2020 08:49:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LIN-Stack-check-corrupted-message/m-p/1089895#M7860</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2020-05-22T08:49:19Z</dc:date>
    </item>
  </channel>
</rss>

