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.

Exiting hal_sleep

Other Parts Discussed in Thread: BLE-STACK, CC2540, CC2541

I am developing on a cc2540 with access to test on the dk-keyfob as well as a custom 2540 application.  I am using the BLE-stack 1.4.0 from TI.  I am basing my code from the SimpleBLEBroadcaster sample project. 

I am using the keyfob configuration within IAR and the code works the first time through and then descends into sleep until a button is pressed.  I would like to make the device wake up at a regular interval (~5 seconds).  I have tried to understand the registration of timing events with OSAL, but am not familiar enough with the organization to make it work.  Is there an example of this type of timing available?  

Thank you in advance.