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.

OMAP-L138 And external deepsleep wake-up

Hi ,

We are using L-138 connected to an external programmable device (acting as timer). The external timer is programmed through the SPI bus, and the external device will rise the #deepsleep signal when it times out. Our design is based upon the davinci architecture (mach-davinci). Our board has no MMC, no ethernet, no display . When running only the basic configuration (without applications) the system shoud go to DEEP SLEEP. Linux version used is 2.6.36.4

Imagine that I decide to blink the led (on 0,5s, off 5s via sysfs for example). Even in that configuration there is a lot of time to spend in DEEP SLEEP. I will have to prgram the external device to wak eme up at least for both transistions

1)There are a lot of timers and timeout programmed in the system. How should I minimize the number (shoudl i remove the tick for being able to go to deep sleep)how?

2) How do i distinguish the led timers, how do I retrieve them?

3)From which state (in platform_suspend_ops) should i program the external device (I guess prepare)?

4) Is the system time adjusted after wake up, does it use the RTC?can we adjust more precisely the system time with an external clock

Does TI provide some example for using external DEEPSLEEP with L-138 under linux .

Thanks in advance

JP