<?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 MQX Light - Sleep in Idle Task - How to enable properly?  in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MQX-Light-Sleep-in-Idle-Task-How-to-enable-properly/m-p/646508#M39232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using KDS 3.0.0 with SDK 1.3. My application is using MQX Light out of Processor Expert. Processor Type MK02FN128VFM10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding Sleep during Idle Task.&lt;/P&gt;&lt;P&gt;I'm a Little bit confused about the defines. One one Hand it is possible to enable Low Power Modes and on the other Hand it is not possible to enable the sleep during idle Task.&lt;/P&gt;&lt;P&gt;Please see the Pictures below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have enabled the MQX_ENALBE_LOW_POWER in the mqx_cnfg.h.&lt;/P&gt;&lt;P&gt;But I Need to Change the Parameter of the Idle Task. If i do it in the mqx.h it throws an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How do I pass a Parameter other than 0 to the Idle Task?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is there any Driver available?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDK/rtos/mqx/mqx/source/kernel/idletask.c&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7788i7BFC67F1F7AD1D8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;SDK/rtos/mqx/config/common/mqx_cnfg.h&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7706i0BB258BE68D0A94D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDK/rtos/mqx/mqx/source/include/mqx.h&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7836i3B5704F0BB1CD79F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Nov 2016 15:04:31 GMT</pubDate>
    <dc:creator>philipp_laemmle</dc:creator>
    <dc:date>2016-11-09T15:04:31Z</dc:date>
    <item>
      <title>MQX Light - Sleep in Idle Task - How to enable properly?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MQX-Light-Sleep-in-Idle-Task-How-to-enable-properly/m-p/646508#M39232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using KDS 3.0.0 with SDK 1.3. My application is using MQX Light out of Processor Expert. Processor Type MK02FN128VFM10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding Sleep during Idle Task.&lt;/P&gt;&lt;P&gt;I'm a Little bit confused about the defines. One one Hand it is possible to enable Low Power Modes and on the other Hand it is not possible to enable the sleep during idle Task.&lt;/P&gt;&lt;P&gt;Please see the Pictures below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have enabled the MQX_ENALBE_LOW_POWER in the mqx_cnfg.h.&lt;/P&gt;&lt;P&gt;But I Need to Change the Parameter of the Idle Task. If i do it in the mqx.h it throws an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How do I pass a Parameter other than 0 to the Idle Task?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is there any Driver available?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDK/rtos/mqx/mqx/source/kernel/idletask.c&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7788i7BFC67F1F7AD1D8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;SDK/rtos/mqx/config/common/mqx_cnfg.h&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7706i0BB258BE68D0A94D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDK/rtos/mqx/mqx/source/include/mqx.h&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7836i3B5704F0BB1CD79F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 15:04:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MQX-Light-Sleep-in-Idle-Task-How-to-enable-properly/m-p/646508#M39232</guid>
      <dc:creator>philipp_laemmle</dc:creator>
      <dc:date>2016-11-09T15:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: MQX Light - Sleep in Idle Task - How to enable properly?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MQX-Light-Sleep-in-Idle-Task-How-to-enable-properly/m-p/646509#M39233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have fixed the issue. Did it like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uint32_t idleTaskParameter=1;&lt;/P&gt;&lt;P&gt;char* idleTaskName = MQX_IDLE_TASK_NAME;&lt;BR /&gt;_task_restart(_task_get_id_from_name(idleTaskName), &amp;amp;idleTaskParameter,0);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 09:44:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MQX-Light-Sleep-in-Idle-Task-How-to-enable-properly/m-p/646509#M39233</guid>
      <dc:creator>philipp_laemmle</dc:creator>
      <dc:date>2016-11-11T09:44:52Z</dc:date>
    </item>
  </channel>
</rss>

