<?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: S32K1 LIN stack - diagnostic slave response</title>
    <link>https://community.nxp.com/t5/S32K/S32K1-LIN-stack-diagnostic-slave-response/m-p/1684634#M24925</link>
    <description>&lt;P&gt;Thank you very much. I'll try both suggestiones.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Francesco&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jul 2023 08:20:05 GMT</pubDate>
    <dc:creator>Francesco_Solito</dc:creator>
    <dc:date>2023-07-10T08:20:05Z</dc:date>
    <item>
      <title>S32K1 LIN stack - diagnostic slave response</title>
      <link>https://community.nxp.com/t5/S32K/S32K1-LIN-stack-diagnostic-slave-response/m-p/1679367#M24616</link>
      <description>&lt;P&gt;Good morning&lt;/P&gt;&lt;P&gt;I'm making a slave device and I'm using LIN stack.&lt;/P&gt;&lt;P&gt;How can I check that a slave response has been phisically sent on LIN bus?&lt;/P&gt;&lt;P&gt;For instance, when I receive a reset diagnostic frame (11 01), I parse it with ld_receive_message() and I prepare the response with ld_send_message(); then I have to really reset the microprocessor, but only after I'm sure that the slave response was really sent on bus. How can I check that the response was sent on bus? ld_send_message() only prepares the response, but this does not mean that it was phisically sent on bus.&lt;/P&gt;&lt;P&gt;As regards normal frames (not diagnostic), what is the way to ensure the same thing? (I mean, be sure that the response to a frame was really sent on bus).&lt;/P&gt;&lt;P&gt;Thank you in advance and kind regards,&lt;/P&gt;&lt;P&gt;Francesco Solito&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 07:43:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K1-LIN-stack-diagnostic-slave-response/m-p/1679367#M24616</guid>
      <dc:creator>Francesco_Solito</dc:creator>
      <dc:date>2023-06-30T07:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: S32K1 LIN stack - diagnostic slave response</title>
      <link>https://community.nxp.com/t5/S32K/S32K1-LIN-stack-diagnostic-slave-response/m-p/1683266#M24854</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 class="x_elementToProof x_ContentPasted0"&gt;
&lt;DIV class="x_ContentPasted0"&gt;For instance, when I receive a reset diagnostic frame (11 01), I parse it with ld_receive_message() and I prepare the response with ld_send_message(); then I havesss to really reset the microprocessor, but only after I'm sure that the slave response was really sent on bus. How can I check that the response was sent on bus? ld_send_message() only prepares the response, but this does not mean that it was phisically sent on bus.&lt;/DIV&gt;
&lt;DIV class="x_ContentPasted0"&gt;&lt;SPAN&gt;&lt;I&gt;=&amp;gt; As far as I know, you can use ld_raw_tx_status() function to check the status of tx_queue.&lt;/I&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="x_ContentPasted0"&gt;&lt;SPAN&gt;&lt;I&gt;tx_queue will be updated with data after you call ld_send_message() and will be cleaned after it is transmitted.&lt;/I&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="x_ContentPasted0"&gt;&lt;SPAN&gt;&lt;I&gt;Please refer the chapter 7.4.3.3 of LIN_Specification_Package_2.2A.pdf to more detail.&lt;/I&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="x_ContentPasted0"&gt;&lt;SPAN&gt;&lt;I&gt;&amp;nbsp;     &lt;/I&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_0-1688653316065.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/231153iBEE1FFE903D83DF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_0-1688653316065.png" alt="nxf78987_0-1688653316065.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;SPAN&gt;&lt;I&gt;&lt;BR aria-hidden="true" /&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="x_ContentPasted0"&gt;As regards normal frames (not diagnostic), what is the way to ensure the same thing? (I mean, be sure that the response to a frame was really sent on bus).&lt;/DIV&gt;
&lt;DIV class="x_ContentPasted0"&gt;&lt;SPAN&gt;&lt;I&gt;=&amp;gt; For Unconditional frame, you can use l_flg_tst() to check status. The flag will be set when the frame is successfully transmitted from the node.&lt;/I&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="x_elementToProof x_ContentPasted0"&gt;&lt;SPAN&gt;&lt;I&gt;Please refer the chapter 7.2.3 of LIN_Specification_Package_2.2A.pdf to more detail&lt;/I&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="x_elementToProof x_ContentPasted0"&gt;&lt;SPAN&gt;&lt;I&gt;      &lt;/I&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_1-1688653316067.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/231154iEC9006D3C0998E65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_1-1688653316067.png" alt="nxf78987_1-1688653316067.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;SPAN&gt;&lt;I&gt;&lt;BR aria-hidden="true" /&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="x_elementToProof x_ContentPasted0"&gt;&lt;SPAN&gt;&lt;I&gt;      &lt;/I&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_2-1688653316068.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/231155i3626D1F455991D85/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_2-1688653316068.png" alt="nxf78987_2-1688653316068.png" /&gt;&lt;/span&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Jul 2023 14:23:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K1-LIN-stack-diagnostic-slave-response/m-p/1683266#M24854</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-07-06T14:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: S32K1 LIN stack - diagnostic slave response</title>
      <link>https://community.nxp.com/t5/S32K/S32K1-LIN-stack-diagnostic-slave-response/m-p/1684634#M24925</link>
      <description>&lt;P&gt;Thank you very much. I'll try both suggestiones.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Francesco&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 08:20:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K1-LIN-stack-diagnostic-slave-response/m-p/1684634#M24925</guid>
      <dc:creator>Francesco_Solito</dc:creator>
      <dc:date>2023-07-10T08:20:05Z</dc:date>
    </item>
  </channel>
</rss>

