<?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のトピックLIN physical layer</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LIN-physical-layer/m-p/1972013#M20186</link>
    <description>&lt;P&gt;The same code, the LIN physical layer can work during debugging, but the LIN physical layer cannot work during program download and execution.&lt;/P&gt;&lt;P&gt;PIM set:&lt;/P&gt;&lt;P&gt;void pim_init(void)&lt;BR /&gt;{&lt;BR /&gt;MODRR0_SCI1RR = 1; // SCI - FreeMASTER&lt;/P&gt;&lt;P&gt;DDRS_DDRS4 = 1; // Debugg Signal&lt;BR /&gt;DDRS_DDRS5 = 1; // Debugg Signal&lt;BR /&gt;&lt;BR /&gt;//DDRT_DDRT0 = 1; // Debugg Signal&lt;BR /&gt;DDRT_DDRT1 = 0; // Input switch signal&lt;BR /&gt;&lt;BR /&gt;MODRR0_S0L0RR = 0x01; //LIN routed to RX&lt;BR /&gt;MODRR2_T0IC3RR = 0x01; //RX routed to TIM0C3&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;LIN sends Datas：&lt;/P&gt;&lt;P&gt;LIN sends using register LP0DR_LPDR1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20241011163333.jpg" style="width: 749px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/304185i13F487D5C7826E37/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20241011163333.jpg" alt="微信图片_20241011163333.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20241011163340.jpg" style="width: 749px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/304186i97D7E4EA34588E4B/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20241011163340.jpg" alt="微信图片_20241011163340.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Oct 2024 08:39:18 GMT</pubDate>
    <dc:creator>LiZhanWu</dc:creator>
    <dc:date>2024-10-11T08:39:18Z</dc:date>
    <item>
      <title>LIN physical layer</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LIN-physical-layer/m-p/1972013#M20186</link>
      <description>&lt;P&gt;The same code, the LIN physical layer can work during debugging, but the LIN physical layer cannot work during program download and execution.&lt;/P&gt;&lt;P&gt;PIM set:&lt;/P&gt;&lt;P&gt;void pim_init(void)&lt;BR /&gt;{&lt;BR /&gt;MODRR0_SCI1RR = 1; // SCI - FreeMASTER&lt;/P&gt;&lt;P&gt;DDRS_DDRS4 = 1; // Debugg Signal&lt;BR /&gt;DDRS_DDRS5 = 1; // Debugg Signal&lt;BR /&gt;&lt;BR /&gt;//DDRT_DDRT0 = 1; // Debugg Signal&lt;BR /&gt;DDRT_DDRT1 = 0; // Input switch signal&lt;BR /&gt;&lt;BR /&gt;MODRR0_S0L0RR = 0x01; //LIN routed to RX&lt;BR /&gt;MODRR2_T0IC3RR = 0x01; //RX routed to TIM0C3&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;LIN sends Datas：&lt;/P&gt;&lt;P&gt;LIN sends using register LP0DR_LPDR1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20241011163333.jpg" style="width: 749px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/304185i13F487D5C7826E37/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20241011163333.jpg" alt="微信图片_20241011163333.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20241011163340.jpg" style="width: 749px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/304186i97D7E4EA34588E4B/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20241011163340.jpg" alt="微信图片_20241011163340.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 08:39:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LIN-physical-layer/m-p/1972013#M20186</guid>
      <dc:creator>LiZhanWu</dc:creator>
      <dc:date>2024-10-11T08:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: LIN physical layer</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LIN-physical-layer/m-p/1973920#M20187</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205113"&gt;@LiZhanWu&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Some registers can be written only once in Normal mode&lt;/P&gt;
&lt;P&gt;This applies to MODRR0 and MODRR2.&lt;/P&gt;
&lt;P&gt;Make sure the application writes it only once.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1728973847151.png" style="width: 489px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/304678i23C50B3A9A638F2F/image-dimensions/489x192?v=v2" width="489" height="192" role="button" title="danielmartynek_0-1728973847151.png" alt="danielmartynek_0-1728973847151.png" /&gt;&lt;/span&gt;&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;</description>
      <pubDate>Tue, 15 Oct 2024 06:31:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LIN-physical-layer/m-p/1973920#M20187</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-10-15T06:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: LIN physical layer</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LIN-physical-layer/m-p/1976733#M20200</link>
      <description>&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;yes, you are right.I write&amp;nbsp;MODRR0 two times.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 06:35:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LIN-physical-layer/m-p/1976733#M20200</guid>
      <dc:creator>LiZhanWu</dc:creator>
      <dc:date>2024-10-18T06:35:19Z</dc:date>
    </item>
  </channel>
</rss>

