<?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 Lite always stays in idle loop in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MQX-Lite-always-stays-in-idle-loop/m-p/480945#M29412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a stand alone MQX lite PE project (no separate bsp or psp lib project) with a custom board and a MK22FN128VLH10 (64 pin LQFP with 128k flash and 24k ram).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use KDS 3.0.0, KSDK 1.3.0, PE 3.0.1 and the micro is running at 100MHz from a 10MHz crystal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 tasks plus the idle tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 2 tasks are in an endless while(1) loop and mostly doing _time_delay_ticks(). For now everything else has been removed for debugging purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first the tasks behave as expected but after a short while the two tasks does not come back from _time_delay_ticks(), instead the idle task is running all the time. How is this possible and what is the best practice to debug this situation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are also some interrupts running but they are at the moment not doing anything either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MQXLITE01.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22172i7E40186B7D8BE893/image-size/large?v=v2&amp;amp;px=999" role="button" title="MQXLITE01.jpg" alt="MQXLITE01.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Dec 2015 15:25:43 GMT</pubDate>
    <dc:creator>rubenjonsson</dc:creator>
    <dc:date>2015-12-12T15:25:43Z</dc:date>
    <item>
      <title>MQX Lite always stays in idle loop</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MQX-Lite-always-stays-in-idle-loop/m-p/480945#M29412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a stand alone MQX lite PE project (no separate bsp or psp lib project) with a custom board and a MK22FN128VLH10 (64 pin LQFP with 128k flash and 24k ram).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use KDS 3.0.0, KSDK 1.3.0, PE 3.0.1 and the micro is running at 100MHz from a 10MHz crystal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 tasks plus the idle tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 2 tasks are in an endless while(1) loop and mostly doing _time_delay_ticks(). For now everything else has been removed for debugging purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first the tasks behave as expected but after a short while the two tasks does not come back from _time_delay_ticks(), instead the idle task is running all the time. How is this possible and what is the best practice to debug this situation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are also some interrupts running but they are at the moment not doing anything either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MQXLITE01.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22172i7E40186B7D8BE893/image-size/large?v=v2&amp;amp;px=999" role="button" title="MQXLITE01.jpg" alt="MQXLITE01.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Dec 2015 15:25:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MQX-Lite-always-stays-in-idle-loop/m-p/480945#M29412</guid>
      <dc:creator>rubenjonsson</dc:creator>
      <dc:date>2015-12-12T15:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: MQX Lite always stays in idle loop</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MQX-Lite-always-stays-in-idle-loop/m-p/480946#M29413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got this sorted myself. It appears that I had set the task priority too high (low value, high prio) for the tasks which prevented/stopped/blocked the task switching.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Ruben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 20:30:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MQX-Lite-always-stays-in-idle-loop/m-p/480946#M29413</guid>
      <dc:creator>rubenjonsson</dc:creator>
      <dc:date>2015-12-14T20:30:44Z</dc:date>
    </item>
  </channel>
</rss>

