<?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 K70 Not entering Wait mode   in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Not-entering-Wait-mode/m-p/872277#M51920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;BR /&gt; &lt;BR /&gt; I am very new to Kinetis, I am trying to implement Low power mode, We are using MK70FN1M0VMJ15.&lt;BR /&gt; &lt;BR /&gt;I tried to put the system to Wait mode using "_lpm_set_operation_mode (LPM_OPERATION_MODE_WAIT)" looks it's not working, &lt;BR /&gt;got stuck in _lpm_set_cpu_operation_mode() as it waiting PMSTAT register status to go for wait mode (4)&lt;BR /&gt; &lt;BR /&gt;SO I read the register values to check&lt;/P&gt;&lt;P&gt;SMC_PMSTAT =&amp;gt; 0x1 -- set to run mode&lt;/P&gt;&lt;P&gt;SMC_PMPROT =&amp;gt; 0x2a (low power mode enabled) code compilation flag for LPM enabled.&lt;BR /&gt;SMC_PMCTRL =&amp;gt; 0x40 set to wait mode – (I read this register before setting wait mode; the STOPA bit not set)&lt;/P&gt;&lt;P&gt;waited long time but SMC_PMSTAT not changing to Wait mode.&lt;/P&gt;&lt;P&gt;I saw the other threads and reference doc, I could not find what I am missing.&lt;/P&gt;&lt;P&gt;Please help to find the issue. Thanks in advance.&lt;/P&gt;&lt;P&gt;Xavier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Apr 2019 14:46:09 GMT</pubDate>
    <dc:creator>lourdu_xavier</dc:creator>
    <dc:date>2019-04-02T14:46:09Z</dc:date>
    <item>
      <title>K70 Not entering Wait mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Not-entering-Wait-mode/m-p/872277#M51920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;BR /&gt; &lt;BR /&gt; I am very new to Kinetis, I am trying to implement Low power mode, We are using MK70FN1M0VMJ15.&lt;BR /&gt; &lt;BR /&gt;I tried to put the system to Wait mode using "_lpm_set_operation_mode (LPM_OPERATION_MODE_WAIT)" looks it's not working, &lt;BR /&gt;got stuck in _lpm_set_cpu_operation_mode() as it waiting PMSTAT register status to go for wait mode (4)&lt;BR /&gt; &lt;BR /&gt;SO I read the register values to check&lt;/P&gt;&lt;P&gt;SMC_PMSTAT =&amp;gt; 0x1 -- set to run mode&lt;/P&gt;&lt;P&gt;SMC_PMPROT =&amp;gt; 0x2a (low power mode enabled) code compilation flag for LPM enabled.&lt;BR /&gt;SMC_PMCTRL =&amp;gt; 0x40 set to wait mode – (I read this register before setting wait mode; the STOPA bit not set)&lt;/P&gt;&lt;P&gt;waited long time but SMC_PMSTAT not changing to Wait mode.&lt;/P&gt;&lt;P&gt;I saw the other threads and reference doc, I could not find what I am missing.&lt;/P&gt;&lt;P&gt;Please help to find the issue. Thanks in advance.&lt;/P&gt;&lt;P&gt;Xavier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 14:46:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Not-entering-Wait-mode/m-p/872277#M51920</guid>
      <dc:creator>lourdu_xavier</dc:creator>
      <dc:date>2019-04-02T14:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: K70 Not entering Wait mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Not-entering-Wait-mode/m-p/872278#M51921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xavier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WAIT mode doesn't involve the SMC so I would check that you are not trying to set a different mode than expected.&lt;BR /&gt;SMC_PMCTRL of 0x40 is "very low power run mode" and will only be accepted when the clocks are correct for this mode (eg. Flash clock max. 1MHz) so it may also be normal that it is not moving to that state if you haven't adjusted the clocks correctly prior to commanding it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may help: &lt;A href="http://www.utasker.com/kinetis/LLWU.html" target="test_blank"&gt;http://www.utasker.com/kinetis/LLWU.html&lt;/A&gt;&lt;BR /&gt;and some low power videos:&lt;BR /&gt;- &lt;A href="https://youtu.be/kWNlsAoMly4" target="test_blank"&gt;https://youtu.be/kWNlsAoMly4&lt;/A&gt;&lt;BR /&gt;- &lt;A href="https://youtu.be/iZEMRiDmHzw" target="test_blank"&gt;https://youtu.be/iZEMRiDmHzw&lt;/A&gt;&lt;BR /&gt;- &lt;A href="https://youtu.be/v4UnfcDiaE4" target="test_blank"&gt;https://youtu.be/v4UnfcDiaE4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Complete Kinetis solutions, training and support: &lt;A href="http://www.utasker.com/kinetis.html" target="test_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Kinetis K70:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- &lt;A href="http://www.utasker.com/kinetis/TWR-K70F120M.html" target="test_blank"&gt;http://www.utasker.com/kinetis/TWR-K70F120M.html&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- &lt;A href="http://www.utasker.com/kinetis/EMCRAFT_K70F120M.html" target="test_blank"&gt;http://www.utasker.com/kinetis/EMCRAFT_K70F120M.html&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 23:16:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Not-entering-Wait-mode/m-p/872278#M51921</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2019-04-02T23:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: K70 Not entering Wait mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Not-entering-Wait-mode/m-p/872279#M51922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This helps a lot, I will check and update the results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 07:33:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Not-entering-Wait-mode/m-p/872279#M51922</guid>
      <dc:creator>lourdu_xavier</dc:creator>
      <dc:date>2019-04-03T07:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: K70 Not entering Wait mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Not-entering-Wait-mode/m-p/872280#M51923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your input helps a lot. I removed the check to wait on&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;SMC_PMCTRL, and made few changes referring code under PE_LDD_VERSION flag. Now I can go to Wait and Sleep mode. I could not set to 2Mhz(system got crashed, I will check later) but I can set to 12 Mhz.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Can you help me with one more, From wait mode device came out for Gpio key press but from Sleep mode it is not. Is there any GPIO setting to set as wakeup source or something like that for sleep mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 14:20:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Not-entering-Wait-mode/m-p/872280#M51923</guid>
      <dc:creator>lourdu_xavier</dc:creator>
      <dc:date>2019-04-03T14:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: K70 Not entering Wait mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Not-entering-Wait-mode/m-p/872281#M51924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xavier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not clear exactly which modes your are using but there is a difference between modes that can be woken by normal interrupt (like a GPIO interrupt) and those (low leakage modes) that can't. The second ones can only be woken by a LLWU (low leakage wake-up) event - &lt;EM&gt;see the link that I gave in the first post which looks at LLWU&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't make progress quickly download the uTasker project from GITHUB since it contains a complete low power solution for K70 (and all others) [plus USB, Ethernet and drivers and the ability to simulate the chip] so you'll not need to experiment too long.&lt;/P&gt;&lt;P&gt;If you are starting a professional development consider the professional version since it will greatly cut development time and costs and give you personal support when needed to ensure a successful outcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 16:45:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Not-entering-Wait-mode/m-p/872281#M51924</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2019-04-03T16:45:37Z</dc:date>
    </item>
  </channel>
</rss>

