AnsweredAssumed Answered

MQX Lite always stays in idle loop

Question asked by Ruben Jonsson on Dec 12, 2015
Latest reply on Dec 14, 2015 by Ruben Jonsson



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).


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.


There are 2 tasks plus the idle tasks.


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.


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?


There are also some interrupts running but they are at the moment not doing anything either.