<?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>MQX Software SolutionsのトピックMQX Enable Low Power flag</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Enable-Low-Power-flag/m-p/454272#M15277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;When using KDS3.0, KSDK1.3 and MQXLite - how do I configure the project to set the MQX_ENABLE_LOW_POWER flag and remove the idle loop counter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details:&lt;/P&gt;&lt;P&gt;I am in the process of converting (read - re writing) a project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The existing project uses KDS2.0 and MQXLite, but not KSDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new project uses KDS3.0, KSDK1.3 and MQXLite.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both projects create an Idle Task&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Idle Task makes use of two flags:&lt;/P&gt;&lt;P&gt;MQX_ENABLE_IDLE_LOOP&amp;nbsp; - Idle task implements a counter, preventing transitions to lower power states&lt;/P&gt;&lt;P&gt;MQX_ENABLE LOW_POWER - counter is replaced with _ASM_SLEEP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, when looking at the idle task file&amp;nbsp; (an idletask.c file is placed in the ../SDK/rtos/mqx/source/kernel directory),&lt;/P&gt;&lt;P&gt;another troubling fact is the following line (found prior to the code for the idle loop):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#if !defined(MQX_ENABLE_IDLE_LOOP) || MQX_ENABLE_IDLE_LOOP&lt;/P&gt;&lt;P&gt;counter code&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is pretty much the same as #if TRUE (i.e. always implement the counter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Nov 2015 23:45:32 GMT</pubDate>
    <dc:creator>noamziv</dc:creator>
    <dc:date>2015-11-30T23:45:32Z</dc:date>
    <item>
      <title>MQX Enable Low Power flag</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Enable-Low-Power-flag/m-p/454272#M15277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;When using KDS3.0, KSDK1.3 and MQXLite - how do I configure the project to set the MQX_ENABLE_LOW_POWER flag and remove the idle loop counter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details:&lt;/P&gt;&lt;P&gt;I am in the process of converting (read - re writing) a project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The existing project uses KDS2.0 and MQXLite, but not KSDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new project uses KDS3.0, KSDK1.3 and MQXLite.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both projects create an Idle Task&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Idle Task makes use of two flags:&lt;/P&gt;&lt;P&gt;MQX_ENABLE_IDLE_LOOP&amp;nbsp; - Idle task implements a counter, preventing transitions to lower power states&lt;/P&gt;&lt;P&gt;MQX_ENABLE LOW_POWER - counter is replaced with _ASM_SLEEP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, when looking at the idle task file&amp;nbsp; (an idletask.c file is placed in the ../SDK/rtos/mqx/source/kernel directory),&lt;/P&gt;&lt;P&gt;another troubling fact is the following line (found prior to the code for the idle loop):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#if !defined(MQX_ENABLE_IDLE_LOOP) || MQX_ENABLE_IDLE_LOOP&lt;/P&gt;&lt;P&gt;counter code&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is pretty much the same as #if TRUE (i.e. always implement the counter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 23:45:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Enable-Low-Power-flag/m-p/454272#M15277</guid>
      <dc:creator>noamziv</dc:creator>
      <dc:date>2015-11-30T23:45:32Z</dc:date>
    </item>
  </channel>
</rss>

