<?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>S12 / MagniV MicrocontrollersのトピックRe: S12ZVML128 Lin Issue</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1602816#M19084</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;&amp;nbsp;Thank you for the information. But, still the issue is there. For now I'm uploading the LDF File that we have created for Reprogramming.&lt;/P&gt;&lt;P&gt;Please let me know if you need anything.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Abhijit.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Feb 2023 10:28:11 GMT</pubDate>
    <dc:creator>itsnewforme</dc:creator>
    <dc:date>2023-02-21T10:28:11Z</dc:date>
    <item>
      <title>S12ZVML128 Lin Issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1601035#M19078</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I'm using S12ZVL128 for Reprogramming. I've made CANoe as Master and ECU as Slave. After dumping the Srec File using CANoe I'm able to see that all the UDS related test cases are giving positive response with correct data. But, there are some minor errors that are available on trace, please refer snapshot&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="itsnewforme_0-1676628077253.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/211362i9A26E52DEBDD88C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="itsnewforme_0-1676628077253.png" alt="itsnewforme_0-1676628077253.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please Let me know how to resolve this issue.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Abhijit&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 10:02:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1601035#M19078</guid>
      <dc:creator>itsnewforme</dc:creator>
      <dc:date>2023-02-17T10:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVML128 Lin Issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1602580#M19083</link>
      <description>&lt;DIV&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202343"&gt;@itsnewforme&lt;/a&gt;,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;From my point of view, maybe the cause of the problem comes from the time delay between frames. I also would like to share with you some information about the timing&amp;nbsp;of&amp;nbsp;the frame.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_0-1676962338502.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/211698i93DC8284126DBBE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_0-1676962338502.png" alt="nxf78987_0-1676962338502.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We always need the minimum time to transmit for each frame, that is minimum frame delay. For example, if&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;master is sending at a baud rate of 19.2 kbps and loading frame data of 8 bytes, the minimum frame&amp;nbsp;delay&amp;nbsp;is 9.14ms and you need to configuration frame delay is 10ms.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So, please recheck the time delay between frames on your side.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#1F497D"&gt;&lt;SPAN&gt;If the problem is still not solved. Could you please share with me your project or the .ldf file and LIN version that you are using? I will try to check on my side and send it back when it's done.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 Feb 2023 06:53:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1602580#M19083</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-02-21T06:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVML128 Lin Issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1602816#M19084</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;&amp;nbsp;Thank you for the information. But, still the issue is there. For now I'm uploading the LDF File that we have created for Reprogramming.&lt;/P&gt;&lt;P&gt;Please let me know if you need anything.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Abhijit.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 10:28:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1602816#M19084</guid>
      <dc:creator>itsnewforme</dc:creator>
      <dc:date>2023-02-21T10:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVML128 Lin Issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1606769#M19092</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202343"&gt;@itsnewforme&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;I saw some errors in your example. I fixed and created an example to test based on it. I would like to share it with you(Attached).&lt;/DIV&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV&gt;Hardware:&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;      - S12ZVL128&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Software:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;      -&amp;nbsp;LIN_stack_S12_4_6_6&lt;BR aria-hidden="true" /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;DIV&gt;It seems all the frames have been sent on the bus normally.&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_0-1677579137680.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/212625i135B168EB2202DA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_0-1677579137680.png" alt="nxf78987_0-1677579137680.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;Dan&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Feb 2023 10:12:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1606769#M19092</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-02-28T10:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVML128 Lin Issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1612195#M19112</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;&amp;nbsp;. The issue is resolved. Actually it was due to wrong implementation of a function to send a LIN Frame From Slave to Master.&lt;/P&gt;&lt;P&gt;In our previous implementation of LIN Send Function we have used Lin Send break and Lin Send Sync Methods (see below image)&amp;nbsp; due to which it was showing those errors on Canoe Trace Window&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="itsnewforme_0-1678345323438.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/213819iD401E72A4ACC9F5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="itsnewforme_0-1678345323438.png" alt="itsnewforme_0-1678345323438.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, we have made changes to this function as follows&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="itsnewforme_1-1678345532126.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/213820i53E40AF958E6CAE5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="itsnewforme_1-1678345532126.png" alt="itsnewforme_1-1678345532126.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But now we have came across an issue where after transmitting and receiving some amount of LIN frames. our ECU is getting into reset.&lt;/P&gt;&lt;P&gt;can you please help us to resolve this issue&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 07:07:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1612195#M19112</guid>
      <dc:creator>itsnewforme</dc:creator>
      <dc:date>2023-03-09T07:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVML128 Lin Issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1612792#M19116</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202343"&gt;@itsnewforme&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Could you describe detailed when ECU is getting into reset?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 02:44:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1612792#M19116</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-03-10T02:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVML128 Lin Issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1612930#M19117</link>
      <description>&lt;P&gt;Sure&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;&amp;nbsp;, we have used CANoe as Master ECU and have developed a tool using it to upload the Srec file. The Tool performs all the UDS related request and then starts transmitting the data in chunks of 256 bytes. So, after every 256 bytes of data is transmitted I'm using the Method linTransmitHeader() to get the positive response. PFA. First image is of CAPL script and second image is of Trace Window&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="itsnewforme_0-1678429990418.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/214003i41A88479726B6F61/image-size/medium?v=v2&amp;amp;px=400" role="button" title="itsnewforme_0-1678429990418.png" alt="itsnewforme_0-1678429990418.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="itsnewforme_1-1678430070227.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/214008iB08E90199599BB9E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="itsnewforme_1-1678430070227.png" alt="itsnewforme_1-1678430070227.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, after Transmitting 39 sequences. It is supposed to get a positive response but as the ECU is going into reset it is unable to do so. (you can refer the write window)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="itsnewforme_2-1678430223991.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/214009i71CF7091F221A3B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="itsnewforme_2-1678430223991.png" alt="itsnewforme_2-1678430223991.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help us to resolve this issue.&lt;/P&gt;&lt;P&gt;I'm also uploading the Zip file of the NXP code that we have used as reference to develop the functions to transmit and receive Lin Frame for s12 microcontroller.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Regards Abhijit.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 06:44:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1612930#M19117</guid>
      <dc:creator>itsnewforme</dc:creator>
      <dc:date>2023-03-10T06:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVML128 Lin Issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1612962#M19119</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202343"&gt;@itsnewforme&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Unfortunately, I can't support you in this situation because you didn't use our driver.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 07:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1612962#M19119</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-03-10T07:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVML128 Lin Issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1613007#M19120</link>
      <description>&lt;P&gt;Yes&amp;nbsp; we have not used LIN stack, because we have used the implementation provided in the AN5389SW which suggests to use the polling method PFA&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="itsnewforme_0-1678436889006.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/214025i5715441628CF315B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="itsnewforme_0-1678436889006.png" alt="itsnewforme_0-1678436889006.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="itsnewforme_1-1678436978798.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/214026i2242659C7E692240/image-size/medium?v=v2&amp;amp;px=400" role="button" title="itsnewforme_1-1678436978798.png" alt="itsnewforme_1-1678436978798.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="Application note" href="https://www.nxp.com/docs/en/application-note/AN5389.pdf" target="_blank" rel="noopener"&gt;https://www.nxp.com/docs/en/application-note/AN5389.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="AN5389SW" href="https://www.nxp.com/docs/en/application-note-software/AN5389SW.zip" target="_blank" rel="noopener"&gt;https://www.nxp.com/docs/en/application-note-software/AN5389SW.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 08:31:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1613007#M19120</guid>
      <dc:creator>itsnewforme</dc:creator>
      <dc:date>2023-03-10T08:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVML128 Lin Issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1613129#M19121</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202343"&gt;@itsnewforme&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Because I can't know whether code in those materials are as same as with LIN driver or not. So, I didn't certain that I can help you in this situation.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 11:30:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVML128-Lin-Issue/m-p/1613129#M19121</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-03-10T11:30:43Z</dc:date>
    </item>
  </channel>
</rss>

