AnsweredAssumed Answered

Running multiple tasks on KL03Z with uTasker1.4?

Question asked by raff5184 on Feb 2, 2018
Latest reply on Feb 2, 2018 by Mark Butcher


is it possible to run multiple tasks in parallel on a KL03Z? 

In Kinetis Design Studio, with uTasker1.4, I set one of my tasks to configure and read data from the ADC in the ctTaskTable[ ], like this:

{ "x marks my ADC Config task!!", myADC_configTask, NO_QUE, (DELAY_LIMIT)(1 * SEC), (DELAY_LIMIT)(0.5 * SEC), UTASKER_STOP}


Then I use the OWN_TASK to perform other operations (not on the ADC). 

Both tasks print something to the debug terminal using fnDebugMsg().


Both tasks work only if I schedule one of them at the time. If I schedule both to work in parallel the first taskis only partially executed and then everything stalls