AnsweredAssumed Answered

MQX Lite + Timerint = crash

Question asked by Alberto Garlassi on Dec 9, 2012
Latest reply on Dec 20, 2012 by Petr Uhlir

KL25 Freedom board, with CW 10.3.

I start a new project, add MQX lite and create two tasks. It works as it should.

Then I add a TimerInt component, say using Periodic interrupt source PIT_LDVAL0, but other sources do the same thing.

When the Interrupt period is somewhat high, like 200 msec, everything is fine.

Things go wrong when the period is shorter, like 1 msec. The program crashes and the debugger shows it is stuck in dispatch.S close to



It does not matter what's inside the OnInterrupt function, even an empty function shows the problem.

Oddly, it seems that a single MQX task makes the program behave correctly.


Any idea?


Thank you