Hello,
In OMAPL138 if the unit is in deep sleep and SLEEPCOUNT is set to 0, is it OK to use an external pulse to wake up from sleep or the deepsleep pin must be set to high until SLEEPENABLE bit is cleared?
Thanks
Oleg
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
In OMAPL138 if the unit is in deep sleep and SLEEPCOUNT is set to 0, is it OK to use an external pulse to wake up from sleep or the deepsleep pin must be set to high until SLEEPENABLE bit is cleared?
Thanks
Oleg
Hi Oleg
Putting SLEEPCOUNT to 0 would be to using it in a way that it was not designed to be used. The purpose of the sleep count is to give time for the oscillator to stabilize after coming back from deep sleep. We do not recommend setting this to 0. Given this an extenral "pulse" would not be the right way to do this.
Regards
Mukul
Hi Mukul
Thank you for the answer. Just to clarify: will the system come out of deep sleep mode if the DEEPSLEEP pin sees low-high-low pulse? Or it must be a level change that can only go low after the SLEEPCOMPLETE bit is set.
Thanks
Hi Oleg
When exiting the deepsleep mode, you have to hold the DEEPSLEEP pin high until SLEEPCOMPLETE is set *and* you disable SLEEPENABLE mode (step 2 and 3 in the system guide). If you drop DEEPSLEEP pin after pulsig high, before this is doe, you could possibly go back in deep sleep mode.
Hope this helps
Regards
Mukul
kindly tell me, in which location of file of kernel, do i change SLEEPENABLE in DEEPSLEEP register, when SLEEPCOMPLETE is set?