AnsweredAssumed Answered

Sometimes the cpu never wake up from sleep

Question asked by nico engel on Jun 20, 2012
Latest reply on Jun 29, 2012 by Petr MacHala

I use the lw_gpio_interrrupt to wake up from sleep mode in task_A. If I do this in the same task everything runs well.

Therefor I start the sleep like this: _lpm_set_operation_mode ( LPM_OPERATION_MODE_SLEEP ); I use codewarior with MQX3.8.


But if I start the slpee mode in a second task (task_B) sometimes the cpu never wake up. Sometimes It wake up for 5 or 6 times. But than the cpu does not wake up again.


Is it not allowed to start the sleep mode in another task than the gpio_interrupt is handeld?