<?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 Re: S32K Perodic Wake-up in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K-Perodic-Wake-up/m-p/1278616#M10907</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for quick response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ported that code for S32K116 but that is entering into sleep state but not able to wake-up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately don't have S32K116 eve board so I am testing this example on our developed board expecting only sleep-wake up and current change while changing the states.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here I am attaching the code that I am using it.&lt;/P&gt;</description>
    <pubDate>Wed, 19 May 2021 05:53:18 GMT</pubDate>
    <dc:creator>chaitanya_kalyani</dc:creator>
    <dc:date>2021-05-19T05:53:18Z</dc:date>
    <item>
      <title>S32K Perodic Wake-up</title>
      <link>https://community.nxp.com/t5/S32K/S32K-Perodic-Wake-up/m-p/1278199#M10900</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to use perodic wake-up for my project like 100us using S32k116.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It should enter into sleep mode and after 100us it should wake up and read inputs and again enter into sleep mode(VLPS mode).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I got to know with the help of LPTM we can do it but I am not able to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any example available?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on urgent project so quick response highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 11:21:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-Perodic-Wake-up/m-p/1278199#M10900</guid>
      <dc:creator>chaitanya_kalyani</dc:creator>
      <dc:date>2021-05-18T11:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32K Perodic Wake-up</title>
      <link>https://community.nxp.com/t5/S32K/S32K-Perodic-Wake-up/m-p/1278235#M10901</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/94876"&gt;@chaitanya_kalyani&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can refer to this example:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-RTC-VLPS/ta-p/1119655" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-RTC-VLPS/ta-p/1119655&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And replace RTC with LPTMR.&lt;/P&gt;
&lt;P&gt;In this example, the RTC module brings the MCU from VLPS to VLPR every 1s.&lt;/P&gt;
&lt;P&gt;It works in the Sleep-on-exit mode so that the MCU can go back to VLPS automatically once the RTC interrupt routine is complete.&lt;/P&gt;
&lt;P&gt;Please note that it takes some time to transition between RUN modes and STOP modes as specified in the datasheet,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1621341874474.png" style="width: 683px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144960i3DC99B67CD245F7B/image-dimensions/683x437?v=v2" width="683" height="437" role="button" title="danielmartynek_0-1621341874474.png" alt="danielmartynek_0-1621341874474.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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 12:46:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-Perodic-Wake-up/m-p/1278235#M10901</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-05-18T12:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: S32K Perodic Wake-up</title>
      <link>https://community.nxp.com/t5/S32K/S32K-Perodic-Wake-up/m-p/1278616#M10907</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for quick response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ported that code for S32K116 but that is entering into sleep state but not able to wake-up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately don't have S32K116 eve board so I am testing this example on our developed board expecting only sleep-wake up and current change while changing the states.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here I am attaching the code that I am using it.&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 05:53:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-Perodic-Wake-up/m-p/1278616#M10907</guid>
      <dc:creator>chaitanya_kalyani</dc:creator>
      <dc:date>2021-05-19T05:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: S32K Perodic Wake-up</title>
      <link>https://community.nxp.com/t5/S32K/S32K-Perodic-Wake-up/m-p/1278931#M10913</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/94876"&gt;@chaitanya_kalyani&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The S32K11x MCUs have a different vector table, you forgot to change it&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;    // RTC_Interrupt (alarm)
    S32_NVIC-&amp;gt;ICPR[0] = (1 &amp;lt;&amp;lt; (6 % 32));
    S32_NVIC-&amp;gt;ISER[0] = (1 &amp;lt;&amp;lt; (6 % 32));

    // RTC_Seconds_Interrupt
    S32_NVIC-&amp;gt;ICPR[0] = (1 &amp;lt;&amp;lt; (7 % 32));
    S32_NVIC-&amp;gt;ISER[0] = (1 &amp;lt;&amp;lt; (7 % 32));&lt;/LI-CODE&gt;
&lt;P&gt;Also, my description of the example posted here is not correct.&lt;/P&gt;
&lt;P&gt;The RTC second interrupt is disabled in the VLPS mode, only the RTC alarm is enabled.&lt;/P&gt;
&lt;P&gt;You need to enabled it in the RTC init function if you want to use it.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;RTC-&amp;gt;IER |= (1 &amp;lt;&amp;lt; 4);
// [4] TSIE = 1 Time Seconds Interrupt Enabled&lt;/LI-CODE&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>Wed, 19 May 2021 10:40:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-Perodic-Wake-up/m-p/1278931#M10913</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-05-19T10:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: S32K Perodic Wake-up</title>
      <link>https://community.nxp.com/t5/S32K/S32K-Perodic-Wake-up/m-p/1279445#M10919</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked that example after your suggested modification it is working but when I integrate with our project then it is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For our project development I am using SDK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you provide example with LPTMR 100ms perodic wake-up form VLPS using SDK?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Quick response highly appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 05:30:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-Perodic-Wake-up/m-p/1279445#M10919</guid>
      <dc:creator>chaitanya_kalyani</dc:creator>
      <dc:date>2021-05-20T05:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: S32K Perodic Wake-up</title>
      <link>https://community.nxp.com/t5/S32K/S32K-Perodic-Wake-up/m-p/1281094#M10938</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You can use these two SDK examples:&lt;/P&gt;
&lt;P&gt;lptmr_periodic_interrupt_s32k116&lt;/P&gt;
&lt;P&gt;power_mode_switch_s32k116&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>Mon, 24 May 2021 11:26:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-Perodic-Wake-up/m-p/1281094#M10938</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-05-24T11:26:56Z</dc:date>
    </item>
  </channel>
</rss>

