AnsweredAssumed Answered

Problem with Low Power Modes and Periodic Tasks (MQX 4.0)

Question asked by Mark Doxbeck on Apr 1, 2017
Latest reply on Apr 8, 2017 by Daniel Chen

I am working with MQX 4.0 and have a program that has several periodic tasks. These tasks use the

_timer_start_periodic_every() function. I need to set the program into one of the Low Power Management modes, preferably STOP mode. However, when I enter STOP mode, the timer interrupt fails to wake the system back up.

If I comment out all the periodic tasks, the system works fine. I did follow / cut / paste the MQX lowpower example included with MQX 4.0.

 

I made sure the LPTMR0 registers are identical in the commented and uncommented versions, just before changing over to STOP mode.

I have decreased the sleep time down from 0.5sec to 100 us.

I have doubled the main/periodictask/timertask stacks.

I am currently working on a K60 tower.

 

Does anyone have any suggestions on how to get this to work?

 

Thanks

Outcomes