Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

RTOS/CC3200SDK: How to do Task_sleep( n ) when using LPDS and middleware from SDK 1.2.0?

$
0
0

Part Number:CC3200SDK

Tool/software: TI-RTOS

Hello, Friends,

I am having some success in integrating power mode capabilities into my TI-RTOS project on cc3200, using the middleware from SDK 1.2.0.  I am finding, however, that Task_sleep( n ) and Event_pend( ) with a timeout value no longer work as expected: the timeout for all practical purposes becomes FOREVER.  It seems obvious to me that the TI-RTOS ticks stop when the device is in LPDS mode, and this is probably what I want to have happen in order to save power.

My question is whether any of you have devised a programming / system idiom to use for Task_sleep and Event_pend with a timeout that cooperates with LPDS, and yet consumes a minimum of excess power? 

One solution that may be obvious is to allow the system tick to wake the device, but that could mean waking every millisecond, which seems a bit excessive for my timeouts which are on the order of 100's or 1000's of ms.

Kind regards,

Kemeron


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>