<?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: SDK lptimer wakeup from VLPS in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/SDK-lptimer-wakeup-from-VLPS/m-p/1389517#M2359</link>
    <description>&lt;P&gt;你好，我想了解一下关于MCAL配置LPTMR用作时钟唤醒时的配置实例，可以吗？我现在如下现象：通过mcal配置gpt,mcu等模块，gpt中配置Lptmr，参考时钟用的是SIRC，mcu中已配置，在debug模式，载VLPS模式下LPTMR计时器可以正常工作，但通过flash下载到控制器，在VLPS模式下LPTMR就无法计时工作。我将模式改成stop1模式，LPTMR也能正常工作。目前实在无法找到原因，能提供可能出问题的配置吗，谢谢！&lt;/P&gt;</description>
    <pubDate>Mon, 20 Dec 2021 11:50:57 GMT</pubDate>
    <dc:creator>lidded</dc:creator>
    <dc:date>2021-12-20T11:50:57Z</dc:date>
    <item>
      <title>SDK lptimer wakeup from VLPS</title>
      <link>https://community.nxp.com/t5/S32-SDK/SDK-lptimer-wakeup-from-VLPS/m-p/718389#M229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just wondering if anyone have an SDK example where LPTIMER is used as a wakeup source. We have some examples on power modes and lptimer but as far as I see no wakeup from VLPS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 14:40:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/SDK-lptimer-wakeup-from-VLPS/m-p/718389#M229</guid>
      <dc:creator>viktorfellinger</dc:creator>
      <dc:date>2017-10-24T14:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: SDK lptimer wakeup from VLPS</title>
      <link>https://community.nxp.com/t5/S32-SDK/SDK-lptimer-wakeup-from-VLPS/m-p/718390#M230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viktor,&lt;/P&gt;&lt;P&gt;I prepared example code for you (in attachment).&lt;/P&gt;&lt;P&gt;I simply use power_mode_switch_s32k144 example code as a template and add there LPTIMER component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LPTIMER is configured for 10s interrupt, with 1KHz LPO input clock!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7495iFED5C837665E81AE/image-size/large?v=v2&amp;amp;px=999" title="LPTIMER 10s configuration.png" alt="LPTIMER 10s configuration.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The main contains LPTIMER initialization:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7537iFC4AB9D3F12B9097/image-size/large?v=v2&amp;amp;px=999" title="LPTIMER initialization.png" alt="LPTIMER initialization.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And LPTIMER interrupt routine:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7585i6A43D185F7E9DC8C/image-size/large?v=v2&amp;amp;px=999" title="LPTIMER ISR.png" alt="LPTIMER ISR.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I configured and initialized also GPIO Blue LED (port D, pin 0) - just for testing purpose.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please be aware that power_mode_switch in SDK0.8.4 sometimes behave strangely (ignore inputs from the terminal) because it waits for EOL char (\r or \n) – please use Enter button with number char for your power mode choice.&lt;/P&gt;&lt;P&gt;This example works like a charm with SDK0.8.5 due to minor changes in the main code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7626i3CCB51DC234E339D/image-size/large?v=v2&amp;amp;px=999" title="power_mode_switch_s32k144 example - SDK 0.8.5 changes.png" alt="power_mode_switch_s32k144 example - SDK 0.8.5 changes.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you load code into MCU, the LED should be GREEN. When you use any serial terminal and switch mode to any STOP mode like VLPS, the LED become RED.&lt;/P&gt;&lt;P&gt;The LPTIMER event every 10s wake-ups MCU from stop mode and change LED from RED to GREEN.&lt;/P&gt;&lt;P&gt;Wake-up is also possible by SW3 button on board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 13:45:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/SDK-lptimer-wakeup-from-VLPS/m-p/718390#M230</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2017-10-27T13:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: SDK lptimer wakeup from VLPS</title>
      <link>https://community.nxp.com/t5/S32-SDK/SDK-lptimer-wakeup-from-VLPS/m-p/1389517#M2359</link>
      <description>&lt;P&gt;你好，我想了解一下关于MCAL配置LPTMR用作时钟唤醒时的配置实例，可以吗？我现在如下现象：通过mcal配置gpt,mcu等模块，gpt中配置Lptmr，参考时钟用的是SIRC，mcu中已配置，在debug模式，载VLPS模式下LPTMR计时器可以正常工作，但通过flash下载到控制器，在VLPS模式下LPTMR就无法计时工作。我将模式改成stop1模式，LPTMR也能正常工作。目前实在无法找到原因，能提供可能出问题的配置吗，谢谢！&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 11:50:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/SDK-lptimer-wakeup-from-VLPS/m-p/1389517#M2359</guid>
      <dc:creator>lidded</dc:creator>
      <dc:date>2021-12-20T11:50:57Z</dc:date>
    </item>
  </channel>
</rss>

