Hi Jose,
What device are you developing for? What SW products are you using (CCS, SYS/BIOS, XDCtools, UIA, IPC)?
[quote user="Jose Lopez1"]
a. Is there any trick I can do so I can play with the priority of the knl.Clock module?
[/quote]
The Clock module SWI priority can be statically modified in the Clock module visual config page:
Or add the following lines to your .cfg file:
var Clock = xdc.useModule('ti.sysbios.knl.Clock'); Clock.swiPriority = 10;
[quote user="Jose Lopez1"]
b. When you said "all other SWIs will be preempted (unless you change it in your .cfg file) . ", are you saying me that there is an static way of making a particular SWI thread not to be preempted when it is running even the Clock ticker has higher priority? Can you point me out how?
[/quote]
Sorry if I was unclear, by that I meant that if your Clock SWI is at a lower priority than your FunctionA SWI, the FuncationA SWI will execute un-bothered by the Clock SWI. Additionally, if the Clock SWI is running, it may be preempted by the FunctionA (if the SWI is somehow triggered). Please remember that SWIs can still be preempted by HWIs.
Regards,
-- Emmanuel