<?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: S12VR32 cannot wake up by the LIN</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12VR32-cannot-wake-up-by-the-LIN/m-p/768262#M15322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;The SCI0ACR1 register is an alternative register.&lt;BR /&gt;Do you set SCISR2_AMAP = 1 before&lt;BR /&gt;SCI0ACR1_RXEDGIE = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you monitor ECLK frequency?&lt;BR /&gt;Or how do you know in which mode the MCU is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jun 2018 15:00:25 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2018-06-04T15:00:25Z</dc:date>
    <item>
      <title>S12VR32 cannot wake up by the LIN</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12VR32-cannot-wake-up-by-the-LIN/m-p/768259#M15319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN style="color: inherit !important; font-size: 10.5pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a question that when I use the S12VR32 ，I&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: inherit !important; font-size: 10.5pt;"&gt;cannot&amp;nbsp;wake&amp;nbsp;up the MCU by&amp;nbsp;the&amp;nbsp;LIN when the MCU&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN style="color: inherit !important; font-size: 10.5pt;"&gt;is in stop mode。&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN style="color: inherit !important; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: inherit !important; font-size: 10.5pt;"&gt;&amp;nbsp; &amp;nbsp; How can I do for it ？Do you have some code about it?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN style="color: inherit !important; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: inherit !important; font-size: 10.5pt;"&gt;&amp;nbsp; &amp;nbsp; Thanks ,best wishes for you!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 01:22:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12VR32-cannot-wake-up-by-the-LIN/m-p/768259#M15319</guid>
      <dc:creator>ericka</dc:creator>
      <dc:date>2018-05-18T01:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: S12VR32 cannot wake up by the LIN</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12VR32-cannot-wake-up-by-the-LIN/m-p/768260#M15320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You need to set LPCR_LPWUE bit which will enable the receiver to pass wake-up events to the SCI.&lt;/P&gt;&lt;P&gt;If the LIN Physical Layer receives a dominant level longer than tWUFR followed by a rising edge, it sends a pulse to the SCI module which can generate a wake-up interrupt.&lt;/P&gt;&lt;P&gt;In the SCI module, set SCIACR1_RXEDGIE to enable interrupt generation on an active edge. And clear RXEDGIF flag in the SCI interrupt routine.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 14:36:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12VR32-cannot-wake-up-by-the-LIN/m-p/768260#M15320</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2018-05-18T14:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: S12VR32 cannot wake up by the LIN</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12VR32-cannot-wake-up-by-the-LIN/m-p/768261#M15321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hello Daniel,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #666666; font-weight: normal; font-size: 14px;"&gt;My code is as follows:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #666666; font-weight: normal; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; LPSLRM_LPDTDIS =0; // TxD-dominant timeout feature is enabled&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; LPSLRM_LPSLR =0; // Normal Slew Rate (optimized for 20 kbit/s)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LPCR_LPPUE =0; // The pullup resistor is high ohmic (330kOhm)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LPCR_RXONLY =0;// The LIN Physical Layer is not in receive only mode&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LPCR_LPWUE =1;// In standby mode the wake-up feature is enabled&lt;BR /&gt; &lt;BR /&gt;LPCR_LPE =1;// The LIN Physical Layer is not in shutdown mode &lt;BR /&gt; &lt;BR /&gt;SCI0ACR1_RXEDGIE =1;&lt;BR /&gt; &lt;BR /&gt; //PPSL_PPSL2 = 0; //falling edge interrupt&lt;BR /&gt; PPSL_PPSL2 = 1; //rising edge interrupt&lt;BR /&gt; go_sleep_cnt = 0;&lt;BR /&gt; PIEL_PIEL2 = 1; //enable interrupt&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; _asm andcc #0x7f;&lt;BR /&gt; _asm stop;&lt;BR /&gt; &lt;BR /&gt; SCI0ACR1_RXEDGIE =0;&lt;BR /&gt;PIEL_PIEL2 = 0; //close PL2 interrupt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I can&amp;nbsp;&lt;EM style="color: #999999; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN class=""&gt;&lt;A data-keyword="awaken" style="color: #2b77c5; font-weight: bold; text-decoration: none;"&gt;awaken the mcu sometimes ,but it also will disable somtimes ,I donnot know why.&lt;/A&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 01:32:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12VR32-cannot-wake-up-by-the-LIN/m-p/768261#M15321</guid>
      <dc:creator>ericka</dc:creator>
      <dc:date>2018-06-04T01:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: S12VR32 cannot wake up by the LIN</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12VR32-cannot-wake-up-by-the-LIN/m-p/768262#M15322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;The SCI0ACR1 register is an alternative register.&lt;BR /&gt;Do you set SCISR2_AMAP = 1 before&lt;BR /&gt;SCI0ACR1_RXEDGIE = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you monitor ECLK frequency?&lt;BR /&gt;Or how do you know in which mode the MCU is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 15:00:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12VR32-cannot-wake-up-by-the-LIN/m-p/768262#M15322</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2018-06-04T15:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: S12VR32 cannot wake up by the LIN</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12VR32-cannot-wake-up-by-the-LIN/m-p/768263#M15323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SCI0SR2_AMAP =1;&lt;BR /&gt; LPCR_LPE =0; //shutdown mode&lt;BR /&gt; LPCR_LPPUE =0; //The pullup resistor is high ohmic (330).&lt;BR /&gt; LPCR_RXONLY =0; // The LIN Physical Layer is not in receive only mode&lt;BR /&gt; LPCR_LPWUE =1; // In standby mode the wake-up feature is enabled&lt;BR /&gt; LPSLRM_LPDTDIS =1; // TxD-dominant timeout feature is enabled.&lt;BR /&gt; LPSLRM_LPSLR =0; // Normal Slew Rate (optimized for 20 kbit/s).&lt;BR /&gt; LPCR_LPE =1;&lt;BR /&gt; &lt;STRONG&gt;SCI0ACR1_RXEDGIE =1;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; SCI0ASR1_RXEDGIF =1;//when I add this ,the code is ok ,but I donot know why.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt; PPSL_PPSL2 = 1; //rising edge interrupt&lt;BR /&gt;PIEL_PIEL2 = 1; //enable interrupt&lt;BR /&gt;&lt;BR /&gt; asm(CLI);&lt;BR /&gt; asm(andcc #0x7f);&lt;BR /&gt; asm(stop);&lt;BR /&gt;&lt;BR /&gt; LPCR_LPE =1;&lt;BR /&gt; SCI0ACR1_RXEDGIE =0;&lt;BR /&gt; &lt;BR /&gt; lin_timeout_4s =500;&lt;BR /&gt; PIEL_PIEL2 = 0; //close PL2 interrupt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 02:21:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12VR32-cannot-wake-up-by-the-LIN/m-p/768263#M15323</guid>
      <dc:creator>ericka</dc:creator>
      <dc:date>2018-06-22T02:21:21Z</dc:date>
    </item>
  </channel>
</rss>

